forked from AuroraMiddleware/gtk
gl renderer: Use rect_contains_rect() copy
And this way the contains_rect() inside rounded_inner_rect_contains_rect() goes from 3.3% to 0.79% in the fishbowl when rendering the levelbars.
This commit is contained in:
parent
934b91f65f
commit
d9f6b268d3
@ -1554,7 +1554,7 @@ rounded_inner_rect_contains_rect (const GskRoundedRect *rounded,
|
||||
MAX (rounded->corner[GSK_CORNER_BOTTOM_LEFT].height,
|
||||
rounded->corner[GSK_CORNER_BOTTOM_RIGHT].height);
|
||||
|
||||
return graphene_rect_contains_rect (&inner, rect);
|
||||
return _graphene_rect_contains_rect (&inner, rect);
|
||||
}
|
||||
|
||||
/* Current clip is NOT rounded but new one is definitely! */
|
||||
|
Loading…
Reference in New Issue
Block a user