i965: Lift restriction in external textures for EGLImage support
authorAditya Swarup <aditya.swarup@intel.com>
Thu, 1 Nov 2018 00:12:40 +0000 (17:12 -0700)
committerChad Versace <chadversary@chromium.org>
Thu, 8 Nov 2018 20:33:06 +0000 (12:33 -0800)
commita5c39ed974402c6a40d51c6189547d1f29581fbe
tree418200e2b16fe68aac70e4f6bd7259877abd961e
parentc5a4c264508d3b36663779b89ec0dbaf7653df96
i965: Lift restriction in external textures for EGLImage support

Fixes Skqp's unitTest_EGLImageTest test.

For Intel platforms, we support external textures only for EGLImages
created with EGL_EXT_image_dma_buf_import. This restriction seems to
be Intel specific and not present for other platforms.

While running SKQP test - unitTest_EGLImageTest, GL_INVALID is sent
to the test because of this restriction.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105301
Signed-off-by: Aditya Swarup <aditya.swarup@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Chad Versace <chadversary@chromium.org>
src/mesa/drivers/dri/i965/intel_image.h
src/mesa/drivers/dri/i965/intel_screen.c
src/mesa/drivers/dri/i965/intel_tex_image.c