| 3531 | |
| 3532 | template <> |
| 3533 | void Demo::run<WsiPlatform::directfb>() { |
| 3534 | while (!quit) { |
| 3535 | DFBInputEvent event; |
| 3536 | |
| 3537 | if (pause) { |
| 3538 | event_buffer->WaitForEvent(event_buffer); |
| 3539 | if (!event_buffer->GetEvent(event_buffer, DFB_EVENT(&event))) handle_directfb_event(&event); |
| 3540 | } else { |
| 3541 | if (!event_buffer->GetEvent(event_buffer, DFB_EVENT(&event))) handle_directfb_event(&event); |
| 3542 | if (initialized && swapchain_ready) { |
| 3543 | draw(); |
| 3544 | if (!is_minimized) { |
| 3545 | curFrame++; |
| 3546 | } |
| 3547 | if (frameCount != UINT32_MAX && curFrame == frameCount) { |
| 3548 | quit = true; |
| 3549 | } |
| 3550 | } |
| 3551 | } |
| 3552 | } |
| 3553 | } |
| 3554 | |
| 3555 | template <> |
| 3556 | void Demo::create_window<WsiPlatform::directfb>() { |
nothing calls this directly
no outgoing calls
no test coverage detected