weston/libweston/renderer-gl
Michael Olbrich 40c519a3e6 gl-renderer: query EGL to determine if GL_TEXTURE_EXTERNAL_OES should be used
Using the number of planes to determine if GL_TEXTURE_EXTERNAL_OES should be
used is incorrect with some modifiers: For example RGBA with a
I915_FORMAT_MOD_Y_TILED_CCS modifier has two planes.

Use eglQueryDmaBufModifiersEXT() to query if the current format/modifier only
supports GL_TEXTURE_EXTERNAL_OES.

Use the current code as fallback of modifiers are not supported.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
2020-05-25 11:06:28 +00:00
..
egl-glue.c gl-renderer: Move EGL display creation to egl-glue.c 2020-02-18 18:11:26 +13:00
gl-renderer-internal.h gl-renderer: query EGL to determine if GL_TEXTURE_EXTERNAL_OES should be used 2020-05-25 11:06:28 +00:00
gl-renderer.c gl-renderer: query EGL to determine if GL_TEXTURE_EXTERNAL_OES should be used 2020-05-25 11:06:28 +00:00
gl-renderer.h gl-renderer: Replace pbuffer-create args with struct 2020-03-20 15:25:24 +00:00
meson.build build: link libm explicitly 2019-10-24 13:29:33 +03:00