evas gl: bind texture with external target for map 75/261875/1
authorShinwoo Kim <cinoo.kim@samsung.com>
Wed, 28 Jul 2021 04:39:37 +0000 (13:39 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Wed, 28 Jul 2021 05:51:07 +0000 (14:51 +0900)
commit10fd35fa91514fdcd2128ab80db7d83a3022b44d
tree09ea5c59f17ec61879e94448fe1de23db1ab45ac
parent93224f80510755e3559c077d18621e391ea852c2
evas gl: bind texture with external target for map

Summary:
egl images created using tbm surface for native surface set use
GL_TEXTURE_EXTERNA_OES as texture target, so we should bind to
this target when rendering. Or there is a GL_INVALID_OPERATION
error on glBindTexture in function _orig_shader_array_flush.

Thia patch follows logic of following commit;

7db0e20 evas/gl: Bind texture with external target for tbm surface

Reviewers: Hermet, raster, jsuya, herb

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D12286

Change-Id: Ie0b9bb35285dbd553443ab814461bd9eb38b526e
src/modules/evas/engines/gl_common/evas_gl_context.c