summaryrefslogtreecommitdiffstats
path: root/src/egl/wayland
Commit message (Collapse)AuthorAgeFilesLines
* add wayland cflags when building wayland-eglJuan Zhao2012-01-291-1/+2
| | | | to fix the header file missing when building wayland-egl
* automake: src/egl/waylandBenjamin Franzke2012-01-268-156/+37
| | | | | | | So we can use the wayland scanner makro, which is way better than our previous runtime-pkgconfig hack. Reviewed-by: Matt Turner <[email protected]>
* wayland-drm: Drop the non-premul formats, use format codes from drm_fourcc.hKristian Høgsberg2012-01-112-9/+66
|
* egl_dri2/wayland: handle creating xrgb8888 imagesRobert Bragg2012-01-112-0/+11
| | | | | | | | | | | | | | | | | | | | When creating an EGLImage from a struct wl_buffer * this ensures that we create an XRGB8888 image if the wayland buffer doesn't have an alpha channel. To determine if a wl_buffer has a valid alpha channel this patch adds an internal wayland_drm_buffer_has_alpha() function. It's important to get the internal format for an EGLImage right so that if a GL texture is later created from the image then the GL driver will know if it should sample the alpha from the texture or flatten it to a constant of 1.0. This avoids needing fragment program workarounds in wayland compositors to manually ignore the alpha component of textures created from wayland buffers. krh: Edited to use wl_buffer_get_format() instead of wl_buffer_has_alpha(). Reviewed-by: Kristian Høgsberg <[email protected]>
* configure: replace pkg-config calls with $(PKG_CONFIG) in the makefiles.Stéphane Marchesin2011-10-041-2/+2
| | | | | | | Us poor souls who cross compile mesa want to be able to specify which pkg-config to pick, or at least just change one place. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* wayland: Use wl_resource_* error functionsKristian Høgsberg2011-09-011-10/+10
|
* wayland-drm: Fix compilation with wayland masterBenjamin Franzke2011-09-011-9/+9
| | | | c661ecce introduced some not-yet-upstream stuff.
* wayland: Track changes to drop wl_visualKristian Høgsberg2011-08-315-24/+37
|
* wayland: Track server side wayland changesKristian Høgsberg2011-08-311-34/+36
|
* wayland-drm: Add copyright notice to protocolBenjamin Franzke2011-07-271-0/+27
| | | | Fixes build since wayland 986703ac7365bc87a5501714adb9fc73157c62b7.
* Fixes for leaks reported by cppcheck.Völgyes Dávid2011-07-061-0/+1
|
* egl_dri2/wayland: Hook up new buffer.release eventBenjamin Franzke2011-06-211-2/+2
|
* wayland-drm: remove depend on "make clean"Chia-I Wu2011-06-131-0/+1
|
* wayland-drm: Check visual for being NULLBenjamin Franzke2011-05-311-1/+1
|
* wayland-egl: Remove left-over headers and structBenjamin Franzke2011-05-312-27/+1
|
* wayland-drm: Use new generic error eventKristian Høgsberg2011-05-192-16/+17
|
* egl/wayland: Follow wl_resource_destroy changesBenjamin Franzke2011-05-061-1/+1
|
* egl/wayland-drm: Generalize interfaceBenjamin Franzke2011-05-062-46/+59
| | | | Do not depend on _EGLDisplay and _EGLImage.
* egl/wayland: Follow buffer.attach removalBenjamin Franzke2011-04-221-1/+0
|
* egl/wayland: Update to buffer.damage additionBenjamin Franzke2011-04-221-4/+3
|
* egl_dri2: Create wl_buffers for pixmap surfacesBenjamin Franzke2011-04-221-0/+2
| | | | Needed since wayland-egl doesnt do this anymore.
* egl/wayland: Add new version parameter for post_drmBenjamin Franzke2011-04-221-1/+3
|
* egl/wayland: Fix prefixes for interface namesBenjamin Franzke2011-04-221-3/+3
|
* wayland-egl: Update to wayland-egl.h changes, drop struct wl_egl_displayKristian Høgsberg2011-04-202-134/+5
|
* egl/wayland-drm: Fix include pathBenjamin Franzke2011-03-261-1/+2
| | | | | | src/egl/main/egltypedefs.h needs the path for EGL/egl.h Reported by jlind on irc.
* egl/wayland: Move wayland-egl into a subdirBenjamin Franzke2011-03-045-63/+85
| | | | | This hopefully fixes wayland-egl's dependency resolution for autogenerated wayland-drm headers.
* egl/wayland: build subdirs (wayland-drm) before dependBenjamin Franzke2011-03-021-1/+1
| | | | Autogenerated files need to be generated first.
* egl: Add EGL_WL_bind_wayland_displayBenjamin Franzke2011-03-017-5/+332
|
* wayland-egl: Add struct wl_egl_display argument to +wl_egl_window_create()Kristian Høgsberg2011-02-071-1/+2
|
* wayland-egl: Force roundtrips to get device name and authenticate correctlyKristian Høgsberg2011-02-071-0/+1
| | | | | | | | 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.
* egl: Implement libwayland-eglBenjamin Franzke2011-02-074-0/+363
This library is required and defined by wayland for EGL implementations supporting wayland.