Chromium Code Reviews
DescriptionCTM-independent BackgroundBleedBackgroundOverBorder implementation
The BackgroundBleedBackgroundOverBorder backdrop bleed avoidance
strategy draws opaque backgrounds (shrunk to the inner border edge) on
top of the border. It also attempts to expand the inner border edge by
one pixel in device space, to mitigate anti-aliasing blending artifacts
along the common inner-border/outer-background edge.
This approach is fragile and doesn't work reliably with impl-side
painting and slimming paint, because the final device space transform
is unknown at recording time.
The CL updates BackgroundBleedBackgroundOverBorder to fill the inner
border rrect completely. Since this is no longer a device-space
dependent operation, it now produces correct results under arbitrary
rasterization-time transformations. It also becomes usable with
slimming paint.
BUG=445598
R=junov@chromium.org,chrishtr@chromium.org,robertphillips@google.com
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=193660
Patch Set 1 #Patch Set 2 : avoid rrect copies for rectangular borders #Patch Set 3 : expectations #
Total comments: 6
Patch Set 4 : review comments #
Messages
Total messages: 11 (2 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||