Commit Graph

28 Commits

Author SHA1 Message Date
Kristian Høgsberg
95d843de11 Also fix compositor-wayland event handler 2011-04-22 13:01:26 -04:00
Kristian Høgsberg
91342c6081 Switch to new subscribe protocol and wayland-egl 2011-04-20 14:20:02 -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
Benjamin Franzke
ec4d342aa9 Support per surface frame events
This fixes tearing with multi head.
2011-03-17 11:54:35 +01:00
Benjamin Franzke
eefc36c760 compositor-drm: Fix multi head rendering 2011-03-13 15:02:58 -04:00
Kristian Høgsberg
d28ab36fe3 compositor-wayland: Ask for ES2 in the config 2011-03-02 11:36:30 -05:00
Benjamin Franzke
c649a92549 compositor: Remove drm.c, use shm.c for pointer images 2011-03-02 11:31:46 -05:00
Benjamin Franzke
be01456887 compositor-wayland: Use wayland-egl window surfaces 2011-03-01 16:21:02 +01: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
Kristian Høgsberg
af82bea253 compositor-wayland: Handle keyboard focus too 2011-01-27 20:18:17 -05:00
Kristian Høgsberg
93331ff40a compositor: Forward pointer focus notification from compostor backend
This lets the compositor place the pointer sprite correctly when it receives
pointer focus and allows it to send pointer focus to any client that might
receive pointer focus as the compositor receives it.
2011-01-26 20:35:09 -05:00
Benjamin Franzke
7c427a9481 compositor-wayland: Remove unused variable 2011-01-23 14:25:07 -05:00
Benjamin Franzke
ecfb2b93f3 compositor-wayland: Assign func pointers pre init 2011-01-16 21:09:04 -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
cbe6f04388 Fix compositor-wayland 2010-12-17 09:54:45 -05:00
Kristian Høgsberg
82da52b15b Update surface.attach and change surface.map to surface.map_toplevel
The new map_toplevel() request no longer specifies a position and takes
the size from the attached buffer.  The attach request now takes a
position relative to the top-left corner of the old buffer to let
clients specify the relative position of the new buffer.
2010-12-17 09:53:12 -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
f8fc08f771 Add origin information to output.geometry event 2010-12-01 20:10:10 -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
Kristian Høgsberg
2bb3ebe1e4 Create socket in /var/run/user/${HOME}
Use the runtime dir from XDG Base Directory Specification for creating the
socket in a directory only the user can read and write.
2010-12-01 16:53:01 -05:00
Kristian Høgsberg
0611e3efc2 Indentation nit-picking 2010-12-01 10:21:15 -05:00
Kristian Høgsberg
06bc26401c Fix warnings from adding -Wall back 2010-12-01 09:50:16 -05:00
Kristian Høgsberg
3ada7ec83a compositor-wayland: Call wlsc_compositor_finish_frame from frame callback 2010-12-01 09:42:57 -05:00
Kristian Høgsberg
4203df1fd5 compositor-wayland: Use glFlush() not glFinish() after rendering frame 2010-12-01 09:40:58 -05:00
Benjamin Franzke
ec2e64224b Add wayland backend for compositor (nested) 2010-11-29 17:38:36 -05:00