[Mesa-dev] [PATCH 4/4] egl/dri2: add image extension to swrast_core_extensions

gurchetansingh at chromium.org gurchetansingh at chromium.org
Fri Jun 9 00:28:45 UTC 2017


From: Gurchetan Singh <gurchetansingh at google.com>

Otherwise, this extension is not visible to the EGL user
---
 src/egl/drivers/dri2/egl_dri2.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index 7175e827c9..9e845e99e3 100644
--- a/src/egl/drivers/dri2/egl_dri2.c
+++ b/src/egl/drivers/dri2/egl_dri2.c
@@ -429,6 +429,7 @@ static const struct dri2_extension_match swrast_driver_extensions[] = {
 
 static const struct dri2_extension_match swrast_core_extensions[] = {
    { __DRI_TEX_BUFFER, 2, offsetof(struct dri2_egl_display, tex_buffer) },
+   { __DRI_IMAGE, 1, offsetof(struct dri2_egl_display, image) },
    { NULL, 0, 0 }
 };
 
-- 
2.12.2



More information about the mesa-dev mailing list