| 837 | } |
| 838 | |
| 839 | void PiuViewInvalidate(PiuView* self, PiuRectangle area) |
| 840 | { |
| 841 | #ifdef piuGPU |
| 842 | (*self)->dirty = 1; |
| 843 | #else |
| 844 | PiuViewCombine(self, area, piuRegionUnionOp); |
| 845 | #endif |
| 846 | if (!((*self)->updating)) { |
| 847 | PiuViewIdleCheck(self, 1); |
| 848 | (*self)->updating = 1; |
| 849 | } |
| 850 | } |
| 851 | |
| 852 | void PiuViewInvalidateRegion(PiuView* self, PiuRegion* region) |
| 853 | { |
no test coverage detected