Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::canvas::ResourceCounters Struct Reference

#include <resource_counters.hpp>

Public Attributes

std::uint64_t image_decodes = 0
 Encoded image bytes handed to Skia for decoding.
std::uint64_t gpu_uploads = 0
 Raster images uploaded to a GPU texture.
std::uint64_t paragraph_builds = 0
 SkParagraph builds (shaping plus line layout).
std::uint64_t scene_records = 0
 Subtree scenes recorded for set_subtree_cached() views.
std::uint64_t scene_replays = 0
 Recorded subtree scenes replayed instead of repainting the subtree.

Member Data Documentation

◆ gpu_uploads

std::uint64_t pulp::canvas::ResourceCounters::gpu_uploads = 0

Raster images uploaded to a GPU texture.

◆ image_decodes

std::uint64_t pulp::canvas::ResourceCounters::image_decodes = 0

Encoded image bytes handed to Skia for decoding.

Each count is one decode: the image it creates is new, so nothing upstream can reuse an earlier decode of the same bytes.

◆ paragraph_builds

std::uint64_t pulp::canvas::ResourceCounters::paragraph_builds = 0

SkParagraph builds (shaping plus line layout).

◆ scene_records

std::uint64_t pulp::canvas::ResourceCounters::scene_records = 0

Subtree scenes recorded for set_subtree_cached() views.

◆ scene_replays

std::uint64_t pulp::canvas::ResourceCounters::scene_replays = 0

Recorded subtree scenes replayed instead of repainting the subtree.


The documentation for this struct was generated from the following file: