Benjamin Franzke
bab41fb70c
compositor: Use surface_attached_to list for shm-buffers
14 years ago
Benjamin Franzke
0c347f0d72
compositor: Add wlsc_shm_buffer_attach
14 years ago
Benjamin Franzke
bde55ec8e4
Implement buffer.damage in shm, use it in window.c
14 years ago
Benjamin Franzke
431da9a4cc
Make use of a hardware cursor in compositor-drm
14 years ago
Benjamin Franzke
c649a92549
compositor: Remove drm.c, use shm.c for pointer images
14 years ago
Kristian Høgsberg
f9edadf3f2
shm: Check width, height and stride for invalid values
14 years ago
Benjamin Franzke
2a332dd62e
compositor/shm: use internalFormat=GL_BGRA_EXT in TexImage2D
14 years ago
Kristian Høgsberg
1101b63d49
Both internalFormat and format should be GL_BGRA_EXT
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
8a457e3e9f
Simplify visual check
14 years ago
Kristian Høgsberg
c5c510ec75
Set up visuals in wayland-server
...
Still very much hand-wavey, but at least it's only in one place now.
14 years ago
Kristian Høgsberg
b313b02983
Chage the 'base' field to be the name of the super class instead
...
Instead of display->base.base we want display->proxy.object, or
buffer->buffer.resource.object.id = id;
which makes it clear what we end up addressing.
14 years ago
Kristian Høgsberg
d0c3b9da22
Fall back to cairo image backend and shm surface if we don't have cairo gl
14 years ago
Kristian Høgsberg
a969c8a7f0
Use GL_BGRA_EXT for shm texture uploads
14 years ago
Kristian Høgsberg
3d5bae0700
Add a shm buffer sharing mechanism
14 years ago