summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib/engines/common/evas_draw_main.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2010-11-14 06:00:35 +0000
committerCarsten Haitzler <raster@rasterman.com>2010-11-14 06:00:35 +0000
commitf5b7648de07140db3742f5c963aee2140d04889c (patch)
tree44639595060ef206d5b95148c587856e5a1a1240 /legacy/evas/src/lib/engines/common/evas_draw_main.c
parenta763db242f8817e861deed64c5626ffacf62018b (diff)
make cutout rect blocks a bit bigger.
SVN revision: 54547
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/lib/engines/common/evas_draw_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/legacy/evas/src/lib/engines/common/evas_draw_main.c b/legacy/evas/src/lib/engines/common/evas_draw_main.c
index a2723e4949..8b8511ab16 100644
--- a/legacy/evas/src/lib/engines/common/evas_draw_main.c
+++ b/legacy/evas/src/lib/engines/common/evas_draw_main.c
@@ -155,6 +155,7 @@ evas_common_draw_context_unset_multiplier(RGBA_Draw_Context *dc)
155EAPI void 155EAPI void
156evas_common_draw_context_add_cutout(RGBA_Draw_Context *dc, int x, int y, int w, int h) 156evas_common_draw_context_add_cutout(RGBA_Draw_Context *dc, int x, int y, int w, int h)
157{ 157{
158// if (dc->cutout.rects > 512) return;
158 if (dc->clip.use) 159 if (dc->clip.use)
159 { 160 {
160#if 1 // this is a bit faster 161#if 1 // this is a bit faster
@@ -493,6 +494,7 @@ evas_common_draw_context_apply_cutouts(RGBA_Draw_Context *dc)
493 494
494 if (!dc->clip.use) return NULL; 495 if (!dc->clip.use) return NULL;
495 if ((dc->clip.w <= 0) || (dc->clip.h <= 0)) return NULL; 496 if ((dc->clip.w <= 0) || (dc->clip.h <= 0)) return NULL;
497
496 498
497 res = evas_common_draw_context_cutouts_new(); 499 res = evas_common_draw_context_cutouts_new();
498 evas_common_draw_context_cutouts_add(res, dc->clip.x, dc->clip.y, dc->clip.w, dc->clip.h); 500 evas_common_draw_context_cutouts_add(res, dc->clip.x, dc->clip.y, dc->clip.w, dc->clip.h);