Revert "Revert "Optimize order rendering and border drawing""

This commit is contained in:
Antonio Scandurra 2023-12-21 19:52:15 +01:00
parent 2659b2744a
commit 48ad53badd
6 changed files with 101 additions and 120 deletions

View file

@ -3074,6 +3074,7 @@ impl From<(&'static str, u64)> for ElementId {
}
/// A rectangle, to be rendered on the screen by GPUI at the given position and size.
#[derive(Clone)]
pub struct PaintQuad {
bounds: Bounds<Pixels>,
corner_radii: Corners<Pixels>,