raster pushed a commit to branch master.
commit edd39272bd95540c6e9983e4a07e0557a71c90b8
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date: Thu Jul 11 17:37:56 2013 +0900
evas gl: if img src size == dst on draw, turn smooth off to avoid ghosting
---
src/modules/evas/engines/gl_common/evas_gl_image.c | 2 ++
1 file changed, 2 insertions(+)
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 8e721f8..5663d77 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_image.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_image.c
@@ -745,6 +745,8 @@ evas_gl_common_image_draw(Evas_Engine_GL_Context *gc,
Evas_GL_Image *im, int sx,
(im->cs.space == EVAS_COLORSPACE_YCBCR420TM12601_PL))
nv12 = 1;
+ if ((sw == dw) && (sh == dh)) smooth = 0;
+
im->tex->im = im;
if ((!gc->dc->cutout.rects) ||
((gc->shared->info.tune.cutout.max > 0) &&
--
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk