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
Kristian Høgsberg
0b9334a51a
Define _GNU_SOURCE for O_CLOEXEC flag
14 years ago
Kristian Høgsberg
9cd7aca0e0
compositor-drm: Close drm fd on exec
14 years ago
Benjamin Franzke
ec4d342aa9
Support per surface frame events
...
This fixes tearing with multi head.
14 years ago
Benjamin Franzke
9c26ff3507
compositor-drm: Support output hotplugging
14 years ago
Benjamin Franzke
eefc36c760
compositor-drm: Fix multi head rendering
14 years ago
Marty Jack
13d9db2095
Beginnings of multiple monitor
...
Allocate the CRTCs from a bit mask to avoid the multiple monitor black
screen problem.
14 years ago
Benjamin Franzke
c649a92549
compositor: Remove drm.c, use shm.c for pointer images
14 years ago
Benjamin Franzke
2af7f10674
compositor: Remove wlsc_drm
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
feb370e4ea
compositor-drm: Flush before pageflipping
...
This fixes compositor-drm flickering on r600.
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
e4762a6ac1
Move tty and vt handling out in its own file
14 years ago
Kristian Høgsberg
43db4015f9
Split out evdev handling to its own file
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
Darxus
55973f2f5a
Some additional return value checking
14 years ago
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).
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.
15 years ago
Kristian Høgsberg
a661f263b4
Name libraries -client and -server for consistency
...
Instead of wayland-server and wayland...
15 years ago
Kristian Høgsberg
640609acfc
Implement current drm auth scheme in the drm object
15 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
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
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
Kristian Høgsberg
fc783d4071
Split native drm part of compositor out
15 years ago