hermet pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=7e8d43ee85836e653e271fd4640a3ae28d666061
commit 7e8d43ee85836e653e271fd4640a3ae28d666061 Author: ChunEon Park <[email protected]> Date: Fri Jul 11 14:50:20 2014 +0900 Revert "evas/gl: improve the rendering quality." This reverts commit 5e18223f67a62ad752c3aac16ed23e390a9e0fe4. Conflicts: src/modules/evas/engines/gl_common/evas_gl_context.c we've got a side effect(another quality issue) of the patch. so revert it. --- src/modules/evas/engines/gl_common/evas_gl_context.c | 13 ------------- 1 file changed, 13 deletions(-) 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 6d788ce..c607571 100644 --- a/src/modules/evas/engines/gl_common/evas_gl_context.c +++ b/src/modules/evas/engines/gl_common/evas_gl_context.c @@ -1858,19 +1858,6 @@ evas_gl_common_context_image_push(Evas_Engine_GL_Context *gc, ty2 = ((double)(offsety) + sy + sh) / (double)pt->h; } - /* To avoid texture bleeding in the texture atlas, - we adjust texture uv point as much as a half uv point. - Especially, This improves the rendering quality when the image has the - border area. */ - if (smooth) - { - GLfloat txhu, txhv; //texture uv half point - txhu = (0.5f * (tx2 - tx1)) / (GLfloat) sw; - txhv = (0.5f * (ty2 - ty1)) / (GLfloat) sh; - tx1 += txhu; tx2 -= txhu; - ty1 += txhv; ty2 -= txhv; - } - PUSH_VERTEX(pn, x , y , 0); PUSH_VERTEX(pn, x + w, y , 0); PUSH_VERTEX(pn, x , y + h, 0); --
