xserver-multidpi/hw/xwayland
Keith Packard 5064ffab63 glamor: Always destroy EGL image associated with destroyed pixmap
There were three paths that called eglDestroyImageKHR:

 * The front buffer
 * The intel driver's flip buffer
 * pixmaps under DRI3

This patch unifies the second two by having glamor_destroy_pixmap
always destroy any associaged EGL image. This allows us to stop
storing the back_pixmap pointer in glamor as that was only used to
make sure that buffer was freed at server reset time.

v2: check for valid pixmap_priv before using it in
glamor_egl_destroy_pixmap_image

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
2014-12-09 08:46:45 -08:00
..
.gitignore Xwayland DDX 2014-04-03 15:19:22 -07:00
drm.xml xwayland: Add glamor and DRI3 support 2014-06-24 15:09:55 -07:00
Makefile.am xwayland: always include drm.xml in tarballs 2014-09-18 15:07:20 -07:00
xwayland-cursor.c Xwayland DDX 2014-04-03 15:19:22 -07:00
xwayland-cvt.c Xwayland DDX 2014-04-03 15:19:22 -07:00
xwayland-glamor.c glamor: Always destroy EGL image associated with destroyed pixmap 2014-12-09 08:46:45 -08:00
xwayland-input.c xwayland-input: Fix a crasher for a race with the Wayland compositor 2014-09-11 23:40:20 -06:00
xwayland-output.c Xwayland DDX 2014-04-03 15:19:22 -07:00
xwayland-shm.c Xwayland DDX 2014-04-03 15:19:22 -07:00
xwayland.c xwayland: declare fatal log handler as noreturn 2014-11-12 10:25:00 +10:00
xwayland.h xwayland: Implement throttling for surfaces based on the frame event 2014-09-11 23:40:27 -06:00