Skip to content
  • Benjamin Otte's avatar
    vulkan: Only render minimal region · a5f8a74e
    Benjamin Otte authored
    It's faster to render once for every rectangle in the clip region than
    rendering the outline of the clip region.
    Especially because this reduces the time necessary to build up the frame
    data.
    
    In widget-factory (where we have 3 rectangles), this leads to a 5x
    speedup in the rendering time rendering alone.
    Snapshotting time goes from 10ms to ~1ms, which is another huge
    improvement.
    a5f8a74e