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.
15 years ago
Kristian Høgsberg
a1f3f60bea
Generate protocol types and metadata from xml
15 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