| 1548 | } |
| 1549 | |
| 1550 | void PiuView_onIdle(xsMachine* the) |
| 1551 | { |
| 1552 | PiuView* self = PIU(View, xsThis); |
| 1553 | PiuApplication* application = (*self)->application; |
| 1554 | xsVars(2); |
| 1555 | if (!application) return; |
| 1556 | // #ifdef piuGPU |
| 1557 | // if (!(*self)->ready) |
| 1558 | // return; |
| 1559 | // #endif |
| 1560 | (*self)->updating = 1; |
| 1561 | (*self)->idleTicks = PiuViewTicks(self); |
| 1562 | PiuApplicationDeferContents(the, application); |
| 1563 | PiuApplicationIdleContents(application); |
| 1564 | PiuApplicationTouchIdle(application); |
| 1565 | PiuApplicationAdjust(application); |
| 1566 | (*self)->updating = 0; |
| 1567 | PiuViewUpdate(self, application); |
| 1568 | PiuApplicationIdleCheck(application); |
| 1569 | (*self)->idleTicks = 0; |
| 1570 | #if defined(piuGPU) && defined(mxInstrument) |
| 1571 | modInstrumentationMax(PiuCommandListUsed, piuTextureSize); |
| 1572 | #endif |
| 1573 | } |
| 1574 | |
| 1575 | void PiuView_onMessage(xsMachine* the) |
| 1576 | { |
no test coverage detected