xserver-multidpi/hw
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
..
dmx Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
kdrive Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
vfb vfb: Don't reimplement micmap so much 2014-10-08 10:10:39 +02:00
xfree86 modesetting: Remove unused params from drmmode_output_init() 2014-12-08 15:49:46 -08:00
xnest Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
xquartz Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
xwayland glamor: Always destroy EGL image associated with destroyed pixmap 2014-12-09 08:46:45 -08:00
xwin Merge remote-tracking branch 'jturney/master' 2014-12-08 18:04:08 -08:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00