mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:37:36 +00:00
LibSoftGPU: Configure stats overlay period
Problem: - The statistics overlay period is hardcoded to 500 ms. This time is very short and can result in the values being very "jumpy". Solution: - Increasing this value can result in more steady values which is useful when trying to evaluate the performance impact of a change. A new config value is offered in `Config.h` to let the developer change to any value desired.
This commit is contained in:
parent
3831e5fcff
commit
065525aba0
2 changed files with 2 additions and 1 deletions
|
@ -16,6 +16,7 @@ namespace SoftGPU {
|
|||
|
||||
static constexpr bool ENABLE_STATISTICS_OVERLAY = false;
|
||||
static constexpr int NUM_SAMPLERS = 2;
|
||||
static constexpr int MILLISECONDS_PER_STATISTICS_PERIOD = 500;
|
||||
static constexpr int SUBPIXEL_BITS = 5;
|
||||
static constexpr int NUM_LIGHTS = 8;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue