Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::render::DisplayRateBoost Class Reference

#include <render_loop.hpp>

Public Types

enum class  Change { none , raise , lower }

Public Member Functions

Change on_vsync (bool drew)
Change on_stop ()
bool boosted () const

Static Public Attributes

static constexpr int kIdleVsyncsBeforeLower = 30

Member Enumeration Documentation

◆ Change

Enumerator
none 
raise 
lower 

Member Function Documentation

◆ boosted()

bool pulp::render::DisplayRateBoost::boosted ( ) const
inline

◆ on_stop()

Change pulp::render::DisplayRateBoost::on_stop ( )
inline

◆ on_vsync()

Change pulp::render::DisplayRateBoost::on_vsync ( bool drew)
inline

Member Data Documentation

◆ kIdleVsyncsBeforeLower

int pulp::render::DisplayRateBoost::kIdleVsyncsBeforeLower = 30
staticconstexpr

The documentation for this class was generated from the following file:
  • /home/runner/work/pulp/pulp/core/render/include/pulp/render/render_loop.hpp