Kristian Høgsberg
6602bda23b
wayland: Use new wl_callback mechanism
2011-08-31 16:50:50 -04:00
Benjamin Franzke
f811c1e6d6
egl_dri2: Drop dri2_surface_type enum
...
Was only used in platform_wayland, and the remaining egl stack
uses _EGLSurface::Type with one of EGL_{WINDOW,PIXMAP,PBUFFER}_BIT.
2011-08-31 11:45:34 +02:00
Chia-I Wu
58911b86a1
egl_dri2: allow RGBA masks to be specified for matching
...
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-08-28 21:56:22 +08:00
Benjamin Franzke
0cb356dd5c
egl_dri2/wayland: Hook up new buffer.release event
2011-06-21 13:11:43 -04:00
Kristian Høgsberg
16a04e019d
wayland: Pass use_invalidate extension to driver
2011-06-20 11:05:26 -04:00
Benjamin Franzke
b8325fd255
egl_dri2/wayland: Add support for EGL_DEFAULT_DISPLAY
2011-06-12 08:56:35 -04:00
Benjamin Franzke
aa87a938fb
egl_dri2: Fix usage of bool values
2011-05-31 15:13:36 -04:00
Benjamin Franzke
dc520d4fef
egl/wayland: Fix possible lockup in drm initialization
...
Lockup happens when wl_drm interface is not available.
2011-04-29 17:05:16 +02:00
Benjamin Franzke
b1a9172277
egl/wayland: Update to buffer.damage addition
2011-04-22 12:21:37 -04:00
Benjamin Franzke
f09c66b3cc
egl_dri2: Create wl_buffers for pixmap surfaces
...
Needed since wayland-egl doesnt do this anymore.
2011-04-22 08:56:33 -04:00
Benjamin Franzke
2225397d1c
egl/wayland: Fix prefixes for interface names
2011-04-22 08:56:27 -04:00
Kristian Høgsberg
c0f8c9911c
wayland-egl: Update to wayland-egl.h changes, drop struct wl_egl_display
2011-04-20 17:47:20 -04:00
Benjamin Franzke
f05751aa2a
egl/wayland: Update to per-surface frame events
2011-04-12 11:08:17 -04:00
Kristian Høgsberg
981e338611
egl_dri2: Enable image extensions in one place
...
We know what we can support in egl_dri2.c so just enable the extensions
there.
2011-03-26 10:57:31 -04:00
Benjamin Franzke
6b369c4c7c
egl: Add EGL_WL_bind_wayland_display
2011-03-01 17:23:50 -05:00
Haitao Feng
f55d027ac2
egl_dri2: add swrast
...
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-16 23:06:36 -05:00
Haitao Feng
3104e5cb4f
egl_dri2: rename loader_extension to dri2_loader_extension
...
Signed-off-by: Haitao Feng <haitao.feng@intel.com>
2011-02-10 23:41:21 -05:00
Benjamin Franzke
51f2820922
egl_dri2 wayland: Sync front buffer release
2011-02-10 23:07:01 -05:00
Benjamin Franzke
87dde5b1cd
egl_dri2: Use double buffering for window surfaces
2011-02-10 23:07:01 -05:00
Kristian Høgsberg
56758c839f
wayland-egl: Force roundtrips to get device name and authenticate correctly
...
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-07 14:01:31 +01:00
Benjamin Franzke
93aea84f47
egl_dri2: Add wayland platform
2011-02-07 14:01:31 +01:00