wayland_egl: use LINUX_DMA_BUF_EXT when EGLImage is created with tbm_surface 52/260552/9
authorChangyeon Lee <cyeon.lee@samsung.com>
Wed, 23 Jun 2021 10:48:49 +0000 (19:48 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Thu, 12 Aug 2021 06:27:38 +0000 (15:27 +0900)
commit2c56305918f2cb03342e5d62bc7078528f7e6bb1
tree8173f5117c32a07d6f52d299171c78f4a37414df
parentd141e4291772d7627ec7a568bd97236f39670b78
wayland_egl: use LINUX_DMA_BUF_EXT when EGLImage is created with tbm_surface

It is possible gl driver doesn't support EGL_TIZEN_image_native_surface.
but if gl dirver support EGL_EXT_image_dma_buf_import, we can use it
instead of EGL_TIZEN_image_native_surface.

This patch try to use EGL_EXT_image_dma_buf_import extension if
EGL_TIZEN_image_native_surface extension isn't supported when
eglImage is created with tbm_surface.

Change-Id: Ia779101d32448d966343034495dad899574f8552
src/modules/evas/engines/wayland_egl/evas_engine.c