diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2021-01-14 19:48:18 +0000 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2021-01-14 19:48:18 +0000 |
commit | 0d9cc0a562faf040e7fd4f3c842439632c1796fa (patch) | |
tree | e6c66b604afc4fbb6d67f4b2023611b98c084f69 | |
parent | 34b0d0e973274c1a3df2386a30ad2a31bfcfe0d7 (diff) | |
download | efl-0d9cc0a562faf040e7fd4f3c842439632c1796fa.tar.gz |
evas - let's not set dynamic img hints if extns not there
-rw-r--r-- | src/modules/evas/engines/gl_common/evas_gl_image.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/evas/engines/gl_common/evas_gl_image.c b/src/modules/evas/engines/gl_common/evas_gl_image.c index 13ca077cac..c63e22ecc3 100644 --- a/src/modules/evas/engines/gl_common/evas_gl_image.c +++ b/src/modules/evas/engines/gl_common/evas_gl_image.c @@ -602,6 +602,11 @@ void evas_gl_common_image_content_hint_set(Evas_GL_Image *im, int hint) { if (im->content_hint == hint) return; + if ((im->gc) && + ((!im->gc->shared->info.sec_image_map) && + ((!im->gc->shared->info.sec_tbm_surface) || + (!im->gc->shared->info.egl_tbm_ext)))) + return; im->content_hint = hint; if (!im->gc) return; if (!im->gc->shared->info.bgra) return; |