KiCad PCB EDA Suite
Loading...
Searching...
No Matches
swapchain_controller.h File Reference
#include <rhi/rhi_control_commands.h>
#include <chrono>
#include <cstdint>

Go to the source code of this file.

Classes

struct  KIGFX::RHI_PHASE_STALL_RESULT
 
struct  KIGFX::RHI_PHASE_STALL_TRACKER
 
class  KIGFX::SWAPCHAIN_CONTROLLER
 Turns one window's paint, resize and close events into render thread control commands. More...
 

Namespaces

namespace  KIGFX
 The Cairo implementation of the graphics abstraction layer.
 

Functions

RHI_PHASE_STALL_RESULT KIGFX::EvaluateRenderThreadPhaseStall (RHI_PHASE_STALL_TRACKER &aTracker, int aPhase, uint64_t aGeneration, RHI_PHASE_STALL_TRACKER::CLOCK::time_point aNow, std::chrono::milliseconds aStallThreshold=std::chrono::milliseconds(1000), uint64_t aGenerationThreshold=60, std::chrono::milliseconds aRepeatThreshold=std::chrono::milliseconds(1000))