Benjamin Franzke
c649a92549
compositor: Remove drm.c, use shm.c for pointer images
14 years ago
Benjamin Franzke
84290d02ae
compositor-x11: Use an EGL Window Surface as output
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
Benjamin Franzke
faa0a9dfa9
compositor: Use eglBindWaylandDisplayWL
14 years ago
Benjamin Franzke
3b288afd1a
compositor-x11: Use x11 egl platform
14 years ago
Kristian Høgsberg
2dfe626f4e
compositor-x11: Don't send enter/leave notify if we have an implicit grab
14 years ago
Kristian Høgsberg
3ba4858c4b
compositor-x11: Handle keyboard focus correctly so we avoid stuck modifiers
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
Kristian Høgsberg
f58d8ca1bd
compositor-x11: Set window icon
14 years ago
Kristian Høgsberg
24ed621388
Set WM_CLASS for X11 compositor window
...
Don't want to be 'Unknown' in GNOME Shell.
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
8f66a57b4d
Ignore surface.map_toplevel() if already mapped
14 years ago
Kristian Høgsberg
175e6cec39
Pass EGL_NO_CONTEXT to eglCreateImageKHR for EGL_DRM_BUFFER_MESA target
14 years ago
Kristian Høgsberg
9c3e8d734e
Move grab state to struct wl_input_device
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
50dc6989b8
compositor: Shut down properly so we remove the socket
14 years ago
Darxus
55973f2f5a
Some additional return value checking
14 years ago
Yuval Fledel
91b5999ce4
add newlines for error printfs
14 years ago
Tiago Vignatti
997ce64302
compositor: add safety check when EGL fails to initialize
...
offending message:
Program received signal SIGSEGV, Segmentation fault.
create_pointer_images (ec=0x619f10) at compositor.c:240
240 glEGLImageTargetTexture2DOES(GL_TEXTURE_2D,
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
14 years ago
Chia-I Wu
1b6c0ed95a
Workaround an xcb-dri2 bug.
...
xcb_dri2_connect_device_name generated by xcb-proto 1.6 is broken. It
only works when the length of the driver name is a multiple of 4.
14 years ago
Kristian Høgsberg
61a8251360
Add a geometry option for x11 compositor
14 years ago
Kristian Høgsberg
76b43326a5
Move example compositor to subdirectory
14 years ago
Kristian Høgsberg
b12fcceeb7
Update to EGL_MESA_drm_image from mesa master
...
Woo, running on stock mesa now.
14 years ago
Kristian Høgsberg
a661f263b4
Name libraries -client and -server for consistency
...
Instead of wayland-server and wayland...
14 years ago
Kristian Høgsberg
640609acfc
Implement current drm auth scheme in the drm object
14 years ago
Kristian Høgsberg
5fcd0aa58e
Introduce 'buffer' object for attaching, image cahce and cursor images
...
The buffer object is created by a 'drm' object, which encapsulates the
buffer sharing and authentication mechanism. Once the buffer is created
it can be attached to a surface.
14 years ago
Kristian Høgsberg
a1f3f60bea
Generate protocol types and metadata from xml
14 years ago
Kristian Høgsberg
8f2e67725e
x11: Dont use buffers after free()
15 years ago
Kristian Høgsberg
2c28aa5981
Bind GLES2 API, not OpenGL
15 years ago
Kristian Høgsberg
379b678c57
Use EGL_KHR_surfaceless_opengl
15 years ago
Kristian Høgsberg
808fd41861
Drop coordinates from buttons press, add timestamp to events
15 years ago
Kristian Høgsberg
f252d6a98e
Update to use eglGetDRMDisplayMESA()
15 years ago
Kristian Høgsberg
86e0989673
Hide wayland cursor when X11 compositor loses focus
15 years ago
Kristian Høgsberg
a946821b4f
Propagate shader compile/link errors
...
And silence the no-error case.
15 years ago
Kristian Høgsberg
f9112b2de0
Fix X button and keycodes
...
Not a real fix, we're just mapping them to evdev codes for now.
15 years ago
Kristian Høgsberg
ce5325d3ed
Add x11 backend for compositor
...
This still needs all the bells and whistles from the egl-kms mesa branch,
but it makes it a lot easier to work on wayland.
15 years ago