summaryrefslogtreecommitdiff
path: root/src/kmscon_dummy.c
AgeCommit message (Collapse)AuthorFilesLines
2013-03-04shl: move log.[ch] to shl_log.[ch]David Herrmann1-1/+1
We want to avoid any static files that are shared between multiple programs but are not part of SHL. These make the build-process just more complex. Move log.[ch] to SHL so we have a known context. Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2013-01-13uterm: video: add support for immediate buffer-swapsDavid Herrmann1-1/+1
Internally, we already support immediate buffer-swaps but this hasn't been exported in the API. This patch adds an "immediate" argument that causes the flip to be immediate and not synchronized with vertical-blanks. Please note that this might block if there is a pending page-flip. However, this is mostly a delay of 16ms so we can ignore it as this is acceptable if you want immediate swaps while there is still a pending-buffer. You can listen for the UTERM_PAGE_FLIP event if you don't want this behavior. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
2012-11-02seat: clean up session-callback function typeDavid Herrmann1-6/+7
We use structures to pass information in all callbacks so we always get 3 arguments: parent, parameters, data Also change the return type to int so we can catch errors when changing session stati. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
2012-10-18kmscon: add dummy session typeDavid Herrmann1-0/+148
The dummy session is a very simply session implementation that simply draws a black background. It will be used by each seat as fallback if no other session is available. If we didn't do that, we wouldn't be able to guarantee that the screen is cleared after a session is unregistered. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>