DescriptionAvoid using transparency layer for fancy borders.
We paint transparent borders with radius on an offscreen layer. This is unnecessary and expensive especially for gpu rasterization. This patch simply removes the save-restore layer steps.
The border edges are now painted slightly differently. It is not wrong - just different. A few borders have color values that are off by one integral value, which was unexpected. This is a skia bug - skbug.com/2211.
BUG=343188
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167942
Patch Set 1 #Patch Set 2 : rebase #Patch Set 3 : added test expectations #Patch Set 4 : rebase #Patch Set 5 : rebase #Patch Set 6 : expanded test expectations #
Messages
Total messages: 12 (0 generated)
|