summaryrefslogtreecommitdiff
path: root/src/lib/evas
diff options
context:
space:
mode:
authorJiyoun Park <jy0703.park@samsung.com>2018-11-19 15:24:36 +0900
committerHermet Park <hermetpark@gmail.com>2018-11-19 15:24:36 +0900
commit4e044fd9c27db61d792319ce566e1d3eacb553f2 (patch)
tree71d2c22a6b0085d8167eeb3b261dd2d5e3a4e8f3 /src/lib/evas
parentfa1295c1463ff7c3988f8e7990fc4e0ad7dfb734 (diff)
evas rect update calculation - account for clipped color changes
Summary: if clipped color changed and not object color on rect objects, then the updates could be missed. This bug seems to have been here a while unnoticed. Reviewers: Hermet, raster Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7301
Diffstat (limited to 'src/lib/evas')
-rw-r--r--src/lib/evas/canvas/evas_object_rectangle.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_object_rectangle.c b/src/lib/evas/canvas/evas_object_rectangle.c
index d2dd430b12..af66c0fb6d 100644
--- a/src/lib/evas/canvas/evas_object_rectangle.c
+++ b/src/lib/evas/canvas/evas_object_rectangle.c
@@ -191,7 +191,11 @@ evas_object_rectangle_render_pre(Evas_Object *eo_obj,
191 if ((obj->cur->color.r != obj->prev->color.r) || 191 if ((obj->cur->color.r != obj->prev->color.r) ||
192 (obj->cur->color.g != obj->prev->color.g) || 192 (obj->cur->color.g != obj->prev->color.g) ||
193 (obj->cur->color.b != obj->prev->color.b) || 193 (obj->cur->color.b != obj->prev->color.b) ||
194 (obj->cur->color.a != obj->prev->color.a)) 194 (obj->cur->color.a != obj->prev->color.a) ||
195 (obj->cur->cache.clip.r != obj->prev->cache.clip.r) ||
196 (obj->cur->cache.clip.g != obj->prev->cache.clip.g) ||
197 (obj->cur->cache.clip.b != obj->prev->cache.clip.b) ||
198 (obj->cur->cache.clip.a != obj->prev->cache.clip.a))
195 { 199 {
196 evas_object_render_pre_prev_cur_add(&obj->layer->evas->clip_changes, eo_obj, obj); 200 evas_object_render_pre_prev_cur_add(&obj->layer->evas->clip_changes, eo_obj, obj);
197 goto done; 201 goto done;