summaryrefslogtreecommitdiff
path: root/src/egl/drivers/dri2/platform_wayland.c
AgeCommit message (Collapse)AuthorFilesLines
2012-03-27wayland: Stop using wl_buffer.damageKristian Høgsberg1-2/+0
2012-03-11Set close on exec flag FD_CLOEXECDavid Fries1-1/+10
Set the close on exec flag when opening dri character devices, so they will be closed and free any resouces allocated in exec. Signed-off-by: David Fries <David@Fries.net> Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-03-05wayland: Use new wl_display_disconnectBenjamin Franzke1-1/+1
This replaces the previously used wl_display_destroy. wl_display_destroy was povided by wayland-client.so and wayland-server.so, to resolve that conflict its renamed client-side.
2012-01-11wayland-drm: Drop the non-premul formats, use format codes from drm_fourcc.hKristian Høgsberg1-20/+11
2011-12-13egl_dri2: Fix some valgrind reported leaksBenjamin Franzke1-0/+5
Free the device_name, reported by Pekka Paalanen. Destroy wayland display and drm resources, if created by dri2_initialize_wayland.
2011-09-15wayland: Flush before blocking in swapbuffers.Jørgen Lind1-2/+5
Make sure that we've sent the frame request that we're going to block on.
2011-09-01egl_dri2: Destroy callback in release_pending_bufferBenjamin Franzke1-0/+2
2011-08-31wayland: Track changes to drop wl_visualKristian Høgsberg1-12/+54
2011-08-31wayland: Track server side wayland changesKristian Høgsberg1-1/+1
2011-08-31wayland: Use new wl_callback mechanismKristian Høgsberg1-31/+24
2011-08-31egl_dri2: Drop dri2_surface_type enumBenjamin Franzke1-11/+9
Was only used in platform_wayland, and the remaining egl stack uses _EGLSurface::Type with one of EGL_{WINDOW,PIXMAP,PBUFFER}_BIT.
2011-08-28egl_dri2: allow RGBA masks to be specified for matchingChia-I Wu1-1/+1
Add rgba_masks to dri2_add_config. When it is non-NULL, the DRI config is accepted only when the offsets and sizes of the its channels match rgba_mask. Reviewed-by: Chad Versace <chad@chad-versace.us>
2011-06-21egl_dri2/wayland: Hook up new buffer.release eventBenjamin Franzke1-16/+124
2011-06-20wayland: Pass use_invalidate extension to driverKristian Høgsberg1-1/+2
2011-06-12egl_dri2/wayland: Add support for EGL_DEFAULT_DISPLAYBenjamin Franzke1-1/+7
2011-05-31egl_dri2: Fix usage of bool valuesBenjamin Franzke1-3/+3
2011-04-29egl/wayland: Fix possible lockup in drm initializationBenjamin Franzke1-1/+1
Lockup happens when wl_drm interface is not available.
2011-04-22egl/wayland: Update to buffer.damage additionBenjamin Franzke1-0/+2
2011-04-22egl_dri2: Create wl_buffers for pixmap surfacesBenjamin Franzke1-12/+21
Needed since wayland-egl doesnt do this anymore.
2011-04-22egl/wayland: Fix prefixes for interface namesBenjamin Franzke1-2/+2
2011-04-20wayland-egl: Update to wayland-egl.h changes, drop struct wl_egl_displayKristian Høgsberg1-40/+76
2011-04-12egl/wayland: Update to per-surface frame eventsBenjamin Franzke1-2/+3
2011-03-26egl_dri2: Enable image extensions in one placeKristian Høgsberg1-4/+0
We know what we can support in egl_dri2.c so just enable the extensions there.
2011-03-01egl: Add EGL_WL_bind_wayland_displayBenjamin Franzke1-1/+35
2011-02-16egl_dri2: add swrastHaitao Feng1-0/+2
This enables the egl_dri2 driver to load swrast driver for software rendering. It could be used when hardware dri2 drivers are not available, such as in VM. Signed-off-by: Haitao Feng <haitao.feng@intel.com>
2011-02-10egl_dri2: rename loader_extension to dri2_loader_extensionHaitao Feng1-6/+6
Signed-off-by: Haitao Feng <haitao.feng@intel.com>
2011-02-10egl_dri2 wayland: Sync front buffer releaseBenjamin Franzke1-26/+66
2011-02-10egl_dri2: Use double buffering for window surfacesBenjamin Franzke1-8/+27
2011-02-07wayland-egl: Force roundtrips to get device name and authenticate correctlyKristian Høgsberg1-4/+28
If the client hasn't done the initial wl_display_iterate() at the time we initialize the display, we have to do that in platform_wayland.c. Make sure we detect that correctly instead of dup()ing fd=0, and use the sync callback to make sure we don't wait forever for authorization that won't happen.
2011-02-07egl_dri2: Add wayland platformBenjamin Franzke1-0/+588