MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Tools / directfb>

Method directfb>

cube/cube.cpp:3533–3553  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3531
3532template <>
3533void 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
3555template <>
3556void Demo::create_window<WsiPlatform::directfb>() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected