gallium/dri: add dri_screen egl image validate hooks
authorQiang Yu <yuq825@gmail.com>
Tue, 10 Aug 2021 08:52:12 +0000 (16:52 +0800)
committerMarge Bot <eric+marge@anholt.net>
Thu, 9 Sep 2021 01:42:39 +0000 (01:42 +0000)
commitd45d749e8b371e4faef382570e5d9f1996e587a4
tree3f08e74c889dbf46490db48695a85f6c26896a9a
parent27d91fec0440df1cf92460b88592a454230b3f9c
gallium/dri: add dri_screen egl image validate hooks

For being used by EGLImage import in the following commits.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12336>
src/gallium/frontends/dri/dri2.c
src/gallium/frontends/dri/dri_helpers.c
src/gallium/frontends/dri/dri_helpers.h
src/gallium/frontends/dri/dri_screen.h
src/gallium/frontends/dri/drisw.c