summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 633da54)
raw | patch | inline | side by side (parent: 633da54)
| author | buliabyak <buliabyak@users.sourceforge.net> | |
| Sun, 7 Jan 2007 13:48:46 +0000 (13:48 +0000) | ||
| committer | buliabyak <buliabyak@users.sourceforge.net> | |
| Sun, 7 Jan 2007 13:48:46 +0000 (13:48 +0000) |
| src/display/nr-arena-item.cpp | patch | blob | history |
index 0657144eddbacdc17ceb4274e9d8c6d56c580eaa..e7eab8b8556d2ea8b165ef304da0acd41172b6b9 100644 (file)
/* Clipping */
if (item->clip) {
- unsigned int newstate = nr_arena_item_invoke_update (item->clip, area, &childgc, state, reset);
+ // FIXME: since here we only need bbox, consider passing
+ // ((state & !(NR_ARENA_ITEM_STATE_RENDER)) | NR_ARENA_ITEM_STATE_BBOX)
+ // instead of state, so it does not have to create rendering structures in nr_arena_shape_update
+ unsigned int newstate = nr_arena_item_invoke_update (item->clip, area, &childgc, state, reset);
if (newstate & NR_ARENA_ITEM_STATE_INVALID) {
item->state |= NR_ARENA_ITEM_STATE_INVALID;
return item->state;