Change-Id: Ifa79de5893e7b63fcdae5e4eebd24b511ccd5d21
Signed-off-by: Prudhvi Raj Vasireddi <prudhvi.raj@samsung.com>
int gles_version;
RGBA_Image *font_surface;
+ // TIZEN_ONLY(20160529): Set this flag for gl_drm engine surface
+ int IsGLDRM;
};
struct _Evas_GL_Texture_Pool
tbm_symbols();
gc->gles_version = gles_version;
+ // TIZEN_ONLY(20160529): Set this flag for gl_drm engine based surface ONLY
+ gc->IsGLDRM = 0;
+ //
gc->references = 1;
if (!tex->alpha && tex_only)
{
if ((flags & SHADER_FLAG_EXTERNAL) || tex->pt->dyn.img)
- flags |= SHADER_FLAG_AFILL;
+ {
+ // TIZEN_ONLY(20160529): Avoid AFILL flag set for gl_drm engine surface
+ if(!tex->im->gc->IsGLDRM)
+ flags |= SHADER_FLAG_AFILL;
+ }
}
}
//
ob->gl_context = glsym_evas_gl_common_context_new();
if (!ob->gl_context) return EINA_FALSE;
+ // TIZEN_ONLY(20160529): set this flag for gl_drm engine surface
+ ob->gl_context->IsGLDRM = 1;
#ifdef GL_GLES
ob->gl_context->egldisp = ob->egl.disp;
ob->gl_context->eglctxt = ob->egl.context[0];