From: Carsten Haitzler Date: Fri, 1 Jan 2010 07:51:18 +0000 (+0000) Subject: for now - disable scissors.. seems to b0rk thungs X-Git-Tag: submit/devel/efl/20131022.203902~14545 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=89bbb2c03144affc2d48cb0efe3fef0aa7f0e226;p=platform%2Fupstream%2Fefl.git for now - disable scissors.. seems to b0rk thungs SVN revision: 44838 --- diff --git a/legacy/evas/src/lib/canvas/evas_render.c b/legacy/evas/src/lib/canvas/evas_render.c index 5775bda..6b47575 100644 --- a/legacy/evas/src/lib/canvas/evas_render.c +++ b/legacy/evas/src/lib/canvas/evas_render.c @@ -990,6 +990,14 @@ evas_render_updates_internal(Evas *e, { evas_object_clip_recalc(obj); } +/* hmmmm clip seems to kill eweather in elm-test + printf("clip: %4i %4i %4ix%4i to %4i %4i %4ix%4i\n", + x, y, w, h, + obj->cur.cache.clip.x + off_x, + obj->cur.cache.clip.y + off_y, + obj->cur.cache.clip.w, + obj->cur.cache.clip.h); + */ RECTS_CLIP_TO_RECT(x, y, w, h, obj->cur.cache.clip.x + off_x, obj->cur.cache.clip.y + off_y, diff --git a/legacy/evas/src/modules/engines/gl_common/evas_gl_context.c b/legacy/evas/src/modules/engines/gl_common/evas_gl_context.c index 515e470..bb21b8e 100644 --- a/legacy/evas/src/modules/engines/gl_common/evas_gl_context.c +++ b/legacy/evas/src/modules/engines/gl_common/evas_gl_context.c @@ -863,6 +863,7 @@ shader_array_flush(Evas_GL_Context *gc) glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); } } +/* hmmm this breaks things. must find out why! if (gc->shader.clip != gc->shader.current.clip) { if (gc->shader.clip) @@ -891,7 +892,7 @@ shader_array_flush(Evas_GL_Context *gc) // gc->clip.h); } - + */ glVertexAttribPointer(SHAD_VERTEX, 3, GL_SHORT, GL_FALSE, 0, gc->array.vertex); glVertexAttribPointer(SHAD_COLOR, 4, GL_UNSIGNED_BYTE, GL_TRUE, 0, gc->array.color); glVertexAttribPointer(SHAD_TEXUV, 2, GL_FLOAT, GL_FALSE, 0, gc->array.texuv);