[PATCH weston 6/7] gl-renderer: remove EGL_EXT_image_dma_buf_import guards

Emil Velikov emil.l.velikov at gmail.com
Mon Jul 4 14:27:18 UTC 2016


From: Emil Velikov <emil.velikov at collabora.com>

We provide a (workaround) definition in weston-egl-ext.h, thus we don't
need any guards.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 libweston/gl-renderer.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libweston/gl-renderer.c b/libweston/gl-renderer.c
index 1546453..17377d2 100644
--- a/libweston/gl-renderer.c
+++ b/libweston/gl-renderer.c
@@ -2748,10 +2748,8 @@ gl_renderer_setup_egl_extensions(struct weston_compositor *ec)
 	if (check_extension(extensions, "EGL_KHR_surfaceless_context"))
 		gr->has_surfaceless_context = 1;
 
-#ifdef EGL_EXT_image_dma_buf_import
 	if (check_extension(extensions, "EGL_EXT_image_dma_buf_import"))
 		gr->has_dmabuf_import = 1;
-#endif
 
 	renderer_setup_egl_client_extensions(gr);
 
-- 
2.8.2



More information about the wayland-devel mailing list