GPU bytes held by a surface's Skia resource caches. More...
#include <skia_surface.hpp>
Public Attributes | |
| std::size_t | budgeted = 0 |
| std::size_t | purgeable = 0 |
GPU bytes held by a surface's Skia resource caches.
budgeted counts every resource charged against the cache budget, whether or not something still uses it. purgeable is the subset nothing uses any more: textures an image cache released, scratch targets from earlier frames. Those stay resident until a trim or budget pressure frees them, so purgeable is what a trim can return to the device.
| std::size_t pulp::render::GpuCacheBytes::budgeted = 0 |
| std::size_t pulp::render::GpuCacheBytes::purgeable = 0 |