MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / PiuViewInvalidate

Function PiuViewInvalidate

modules/piu/MC/piuView.c:839–850  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

837}
838
839void 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
852void PiuViewInvalidateRegion(PiuView* self, PiuRegion* region)
853{

Callers 4

PiuApplication_set_clutFunction · 0.70
PiuApplicationInvalidateFunction · 0.50
PiuApplicationResizeFunction · 0.50

Calls 2

PiuViewCombineFunction · 0.85
PiuViewIdleCheckFunction · 0.70

Tested by

no test coverage detected