How much a GPU trim frees.
More...
#include <skia_surface.hpp>
|
| static TrimLevel | unused_for (std::chrono::milliseconds idle) |
| | Free purgeable resources nothing has used for idle.
|
| static TrimLevel | everything () |
| | Free every purgeable resource, for a hidden or idle editor.
|
How much a GPU trim frees.
◆ everything()
| TrimLevel pulp::render::SkiaSurface::TrimLevel::everything |
( |
| ) |
|
|
inlinestatic |
Free every purgeable resource, for a hidden or idle editor.
◆ frees_everything()
| bool pulp::render::SkiaSurface::TrimLevel::frees_everything |
( |
| ) |
const |
|
inline |
◆ idle()
| std::chrono::milliseconds pulp::render::SkiaSurface::TrimLevel::idle |
( |
| ) |
const |
|
inline |
◆ unused_for()
| TrimLevel pulp::render::SkiaSurface::TrimLevel::unused_for |
( |
std::chrono::milliseconds | idle | ) |
|
|
inlinestatic |
Free purgeable resources nothing has used for idle.
Resources the next frame is likely to reuse survive.
The documentation for this class was generated from the following file: