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

Function PiuViewInvalidateRegion

modules/piu/MC/piuView.c:852–863  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

850}
851
852void PiuViewInvalidateRegion(PiuView* self, PiuRegion* region)
853{
854#ifdef piuGPU
855 (*self)->dirty = 1;
856#else
857 PiuViewCombineRegion(self, region, piuRegionUnionOp);
858#endif
859 if (!((*self)->updating)) {
860 PiuViewIdleCheck(self, 1);
861 (*self)->updating = 1;
862 }
863}
864
865void PiuViewMark(xsMachine* the, void* it, xsMarkRoot markRoot)
866{

Callers 1

PiuDie_cutFunction · 0.85

Calls 2

PiuViewCombineRegionFunction · 0.85
PiuViewIdleCheckFunction · 0.70

Tested by

no test coverage detected