loader_dri3/glx/egl: Remove the loader_dri3_vtable get_dri_screen callback
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 11 Aug 2017 07:57:51 +0000 (09:57 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 17 Aug 2017 05:39:42 +0000 (07:39 +0200)
commit5198e48a0d9a991d897cf4c71fdb82ac0e43b025
tree59cd9ea2252ce9f7e1ed78ffb396093732727340
parent934511d1f3a8e2e9b0091d725c87a22a51233141
loader_dri3/glx/egl: Remove the loader_dri3_vtable get_dri_screen callback

It's not very usable since in the rare, but definitely existing case that
we don't have a current context, it will return NULL.

Presumably it will always be safe to use the dri screen the drawable was
created with for operations on that drawable.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/egl/drivers/dri2/platform_x11_dri3.c
src/glx/dri3_glx.c
src/loader/loader_dri3_helper.c
src/loader/loader_dri3_helper.h