Skip to content

pathfinder: Use trace for canvas_text with 2 frames

Tomeu Vizoso requested to merge tomeu/traces-db:canvas-text-performance into master

The existing trace had only one frame, in which the rendering was together with the setup (shaders, etc).

This caused for continuous growing of resources when looping over the last frame when tracking performance, as resources were created but not released.

By rendering twice, we have a first frame with setup+rendering, and a second one that just renders. This frame is more amenable for using for performance tracking.

To take this frame, the application had to be modified with the patch in this commit (0001-canvas-text-Render-twice.patch).

Signed-off-by: Tomeu Vizoso

Merge request reports