• Tomeu Vizoso's avatar
    pathfinder: Use trace for canvas_text with 2 frames · c904f2bf
    Tomeu Vizoso authored
    
    
    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's avatarTomeu Vizoso <tomeu.vizoso@collabora.com>
    Part-of: <!36>
    c904f2bf