Egbert Eich
e7b8d9055e
compositor: Set EGL_PLATFORM env variable for each backend.
...
I may have missed something, but - since the Wayland compositor
already picks a platform backend, opens a connection and initializes the
backend specific display data structure it doesn't make sense
to let egl pick a platform. If it picks a different one the
display specific data structure will most likely not match.
Thus determine the platform in the Wayland rendering backend by setting
the EGL_PLATFORM env variable.
For the client any other platform than 'wayland' doesn't seem to make
sense.
I'm not sure if I've got the the platform ofr openfwd right.
Signed-off-by: Egbert Eich <eich@freedesktop.org>
14 years ago
Kristian Høgsberg
6c709a3e4f
Fix warnings and symbol visibility from missing CFLAGS
14 years ago
Kristian Høgsberg
e4c40a4734
compositor: Disable hw cursor if we're texturing the cursor
14 years ago
Kristian Høgsberg
1c5621840b
compositor: Split backends into modules
14 years ago
Benjamin Franzke
080ab6c1be
compositor-wayland: Fix interface renames (prefix)
14 years ago
Kristian Høgsberg
95d843de11
Also fix compositor-wayland event handler
14 years ago
Kristian Høgsberg
91342c6081
Switch to new subscribe protocol and wayland-egl
14 years ago
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.
14 years ago
Benjamin Franzke
431da9a4cc
Make use of a hardware cursor in compositor-drm
14 years ago
Benjamin Franzke
1178a3ce5c
compositor(-drm): Pageflip to fullscreen surfaces
14 years ago
Benjamin Franzke
ec4d342aa9
Support per surface frame events
...
This fixes tearing with multi head.
14 years ago
Benjamin Franzke
eefc36c760
compositor-drm: Fix multi head rendering
14 years ago
Kristian Høgsberg
d28ab36fe3
compositor-wayland: Ask for ES2 in the config
14 years ago
Benjamin Franzke
c649a92549
compositor: Remove drm.c, use shm.c for pointer images
14 years ago
Benjamin Franzke
be01456887
compositor-wayland: Use wayland-egl window surfaces
14 years ago
Benjamin Franzke
5b2cb6f911
compositor: Generate Framebuffer in the backends
14 years ago
Benjamin Franzke
1b765ffb8c
compositor: Add flags parameter to wlsc_output_init
...
Currently available flags:
- WL_OUTPUT_FLIPPED
14 years ago
Kristian Høgsberg
af82bea253
compositor-wayland: Handle keyboard focus too
14 years ago
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.
14 years ago
Benjamin Franzke
7c427a9481
compositor-wayland: Remove unused variable
14 years ago
Benjamin Franzke
ecfb2b93f3
compositor-wayland: Assign func pointers pre init
14 years ago
Kristian Høgsberg
8525a50362
Move buffer creation and buffer details into drm.c and shm.c
14 years ago
Kristian Høgsberg
cbe6f04388
Fix compositor-wayland
14 years ago
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.
14 years ago
Kristian Høgsberg
9c3e8d734e
Move grab state to struct wl_input_device
14 years ago
Kristian Høgsberg
f8fc08f771
Add origin information to output.geometry event
14 years ago
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.
14 years ago
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.
14 years ago
Kristian Høgsberg
0611e3efc2
Indentation nit-picking
14 years ago
Kristian Høgsberg
06bc26401c
Fix warnings from adding -Wall back
14 years ago
Kristian Høgsberg
3ada7ec83a
compositor-wayland: Call wlsc_compositor_finish_frame from frame callback
14 years ago
Kristian Høgsberg
4203df1fd5
compositor-wayland: Use glFlush() not glFinish() after rendering frame
14 years ago
Benjamin Franzke
ec2e64224b
Add wayland backend for compositor (nested)
14 years ago