summaryrefslogtreecommitdiff
path: root/src/egl/wayland/wayland-egl
AgeCommit message (Collapse)AuthorFilesLines
2013-09-11wayland-egl.pc requires wayland-client.pc.Torsten Duwe1-0/+1
Mesa provides the wayland-egl libs and the pkgconfig file, but the headers originate from the wayland package. Ensure everything matches, by requiring application builds to look at the wayland headers as well. Signed-off-by: Torsten Duwe <duwe@suse.de> Signed-off-by: Johannes Obermayr <johannesobermayr@gmx.de>
2013-08-08egl: Do not export private symbolsChad Versace1-0/+1
libEGL was incorrectly exporting *all* symbols, public and private. This patch adds -fvisibility=hidden to libEGL's linker flags to ensure that only symbols annotated with __attribute__((visibility("default"))) get exported. Sanity-checked with libEGL's builtin DRI2 driver and the i965 DRI driver by running Piglit on X/EGL and by running weston-gears on Weston as an X client. Sanity-checked with libEGL's Gallium driver (which is not built-in) and the swrast Gallium driver by running es2gears_x11. Kristian reviewed the symbol diff in `nm libEGL.so`. CC: "9.2" <mesa-stable@lists.freedesktop.org> CC: Ian Romanick <idr@freedesktop.org> Acked-by: Kristian Høgsberg <krh@bitplanet.net> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2012-11-30egl/wayland: Don't invalidate drawable on swap buffersAnder Conselvan de Oliveira2-0/+8
We used to invalidate the drawable after a call to eglSwapBuffers(), so that a wl_egl_window_resize() would take effect for the next frame. However, that leads to calling dri2_get_buffers() when eglMakeCurrent() is called with the current context and surface, and a later call to wl_egl_window_resize() would not take effect until the next buffer swap. Instead, add a callback from wl_egl_window_resize() back to the wayland egl platform, and invalidate the drawable only when it is resized. This solves a bug on wayland clients when going back to windowed mode from fullscreen when clicking a pop up menu, where the window size after this would be the fullscreen size. Note: this is a candidate for stable branches. CC: wayland-devel@lists.freedesktop.org
2012-10-17wayland: Drop support for ill-defined, unused wl_egl_pixmapKristian Høgsberg2-44/+0
It doesn't provide the cross-process buffer sharing that a window system pixmap could otherwise support and we don't have anything left that uses this type of surface.
2012-01-29add wayland cflags when building wayland-eglJuan Zhao1-1/+2
to fix the header file missing when building wayland-egl
2012-01-26automake: src/egl/waylandBenjamin Franzke3-79/+15
So we can use the wayland scanner makro, which is way better than our previous runtime-pkgconfig hack. Reviewed-by: Matt Turner <mattst88@gmail.com>
2011-08-31wayland: Track changes to drop wl_visualKristian Høgsberg2-8/+2
2011-05-31wayland-egl: Remove left-over headers and structBenjamin Franzke2-27/+1
2011-04-22egl_dri2: Create wl_buffers for pixmap surfacesBenjamin Franzke1-0/+2
Needed since wayland-egl doesnt do this anymore.
2011-04-20wayland-egl: Update to wayland-egl.h changes, drop struct wl_egl_displayKristian Høgsberg2-134/+5
2011-03-04egl/wayland: Move wayland-egl into a subdirBenjamin Franzke4-0/+369
This hopefully fixes wayland-egl's dependency resolution for autogenerated wayland-drm headers.