• amirh's avatar
    Use RRects instead of Paths when possible in Material. (#14404) · d9ef7df9
    amirh authored
    0672055a changed the Material widget to
    always use Paths for representing the outline.
    These paths are later used for clipping and drawing a shadow.
    This changed introduced a performance regression, see:
    https://github.com/flutter/flutter/issues/14403
    
    We did not expect a path that is a rounded rectangle to be less
    performant than a rounded rectangle, as Skia should be able to tell the
    path is just a rounded rectangle.
    Until we find a solution for this regression, we keep using RRect when
    we can represent the shape with it.
    d9ef7df9
Name
Last commit
Last update
..
animation Loading commit data...
cupertino Loading commit data...
engine Loading commit data...
examples Loading commit data...
foundation Loading commit data...
gestures Loading commit data...
harness Loading commit data...
material Loading commit data...
painting Loading commit data...
physics Loading commit data...
rendering Loading commit data...
scheduler Loading commit data...
semantics Loading commit data...
services Loading commit data...
widgets Loading commit data...
service_extensions_test_file Loading commit data...