summaryrefslogtreecommitdiff
path: root/glx/glxscreens.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-12-05 10:58:28 -0800
committerKeith Packard <keithp@keithp.com>2014-12-09 08:46:45 -0800
commit5064ffab631dcbc4265079fb32a02d3e2f1c4cd8 (patch)
tree76c3e0ec93522f827c22bf1891439a054ae2c59f /glx/glxscreens.h
parent3e7218a6c23354d66f508b18164cac98a346b3ee (diff)
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>
Diffstat (limited to 'glx/glxscreens.h')
0 files changed, 0 insertions, 0 deletions