Commit Graph

26 Commits

Author SHA1 Message Date
Kristian Høgsberg
b1868479ad Update return types of event handler functions
Missed this in previous commit.
2011-04-22 12:27:57 -04:00
Benjamin Franzke
66aa235b4c Optimize fullscreen scanout abit
Use the drm fb_id used for the scanout-test
as well for the corresponding pageflip.

Move most of the scanout details into compositor-drm.
2011-04-20 17:30:12 +02:00
Benjamin Franzke
431da9a4cc Make use of a hardware cursor in compositor-drm 2011-04-20 15:29:35 +02:00
Benjamin Franzke
1178a3ce5c compositor(-drm): Pageflip to fullscreen surfaces 2011-04-19 09:05:08 +02:00
Kristian Høgsberg
0b9334a51a Define _GNU_SOURCE for O_CLOEXEC flag 2011-04-12 11:34:32 -04:00
Kristian Høgsberg
11e2828bdc Merge remote-tracking branch 'bnf/surface-frame-event'
Conflicts:
	compositor/compositor.c
2011-04-11 16:47:50 -04:00
Kristian Høgsberg
9cd7aca0e0 compositor-drm: Close drm fd on exec 2011-04-11 13:19:16 -04:00
Benjamin Franzke
ec4d342aa9 Support per surface frame events
This fixes tearing with multi head.
2011-03-17 11:54:35 +01:00
Benjamin Franzke
9c26ff3507 compositor-drm: Support output hotplugging 2011-03-15 17:21:36 +01:00
Benjamin Franzke
eefc36c760 compositor-drm: Fix multi head rendering 2011-03-13 15:02:58 -04:00
Marty Jack
13d9db2095 Beginnings of multiple monitor
Allocate the CRTCs from a bit mask to avoid the multiple monitor black
screen problem.
2011-03-13 15:02:01 -04:00
Benjamin Franzke
c649a92549 compositor: Remove drm.c, use shm.c for pointer images 2011-03-02 11:31:46 -05:00
Benjamin Franzke
2af7f10674 compositor: Remove wlsc_drm 2011-03-02 11:31:46 -05:00
Benjamin Franzke
5b2cb6f911 compositor: Generate Framebuffer in the backends 2011-03-01 16:21:01 +01:00
Benjamin Franzke
1b765ffb8c compositor: Add flags parameter to wlsc_output_init
Currently available flags:
 - WL_OUTPUT_FLIPPED
2011-03-01 16:21:01 +01:00
Benjamin Franzke
faa0a9dfa9 compositor: Use eglBindWaylandDisplayWL 2011-03-01 16:20:56 +01:00
Benjamin Franzke
feb370e4ea compositor-drm: Flush before pageflipping
This fixes compositor-drm flickering on r600.
2011-02-14 08:28:44 -05:00
Kristian Høgsberg
8525a50362 Move buffer creation and buffer details into drm.c and shm.c 2011-01-14 16:20:21 -05:00
Kristian Høgsberg
e4762a6ac1 Move tty and vt handling out in its own file 2011-01-14 14:59:13 -05:00
Kristian Høgsberg
43db4015f9 Split out evdev handling to its own file 2011-01-14 14:45:42 -05:00
Kristian Høgsberg
9c3e8d734e Move grab state to struct wl_input_device 2010-12-08 09:48:52 -05:00
Kristian Høgsberg
caa6442556 compositor: Use a virtual destructor when shutting down
Backend can now rely on their destroy function getting called on shutdown,
so reset tty etc there instead of handling SIGTERM twice.
2010-12-01 16:53:15 -05:00
Darxus
55973f2f5a Some additional return value checking 2010-11-22 21:54:15 -05:00
Jesse Barnes
f2912fa85f compositor: put console into KD_GRAPHICS mode at vt enter time
This will keep the kernel from changing graphics state out from under us
(e.g. blanking).
2010-11-09 14:25:49 -05:00
Kristian Høgsberg
61a8251360 Add a geometry option for x11 compositor 2010-10-27 11:21:29 -04:00
Kristian Høgsberg
76b43326a5 Move example compositor to subdirectory 2010-09-14 10:56:25 -04:00