discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=c8ddf93707b9fe2afbb81fa610a8efb630603949
commit c8ddf93707b9fe2afbb81fa610a8efb630603949 Author: Hermet Park <[email protected]> Date: Tue Aug 14 17:13:24 2018 -0400 evas gl: fix missing map texture target. Summary: Map context missed setting texture target. I guess this is one of regression bugs in gl backend. When shader is flushed, it sets invalid texture target with map texture. That caused blank map rendering, this could be observed temporary because gl pipe contexts are reusable and missing texture target means, it could use previous texture target values that mostly have GL_TEXTURE_2D. @fix Reviewers: #committers, ManMower Reviewed By: #committers, ManMower Subscribers: ManMower, cedric, #reviewers, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6818 --- src/modules/evas/engines/gl_common/evas_gl_context.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/evas/engines/gl_common/evas_gl_context.c b/src/modules/evas/engines/gl_common/evas_gl_context.c index 9a384d24de..577d00db9b 100644 --- a/src/modules/evas/engines/gl_common/evas_gl_context.c +++ b/src/modules/evas/engines/gl_common/evas_gl_context.c @@ -3078,6 +3078,8 @@ evas_gl_common_context_image_map_push(Evas_Engine_GL_Context *gc, gc->pipe[pn].region.type = SHD_MAP; gc->pipe[pn].shader.prog = prog; gc->pipe[pn].shader.cur_tex = tex->pt->texture; + gc->pipe[pn].shader.tex_target = GL_TEXTURE_2D; + if (utexture) { gc->pipe[pn].shader.cur_texu = tex->ptu->texture; --
