DescriptionFix LabelButtonBorder image blending.
Use Skia's new SkLerpXfermode added for this purpose!
(linearly interpolates between src and dst image data)
Restore native style animation pre- http://crrev.com/199342
(paint background at full alpha, not 1-<animation alpha>)
Add support for Views Painters to use a custom SkPaint.
Move unfocused fallback to LabelButtonBorder::GetPainter.
BUG=239121, 155363
TEST=New button animations never let the background bleed through (see about:crash's reload button for an example).
R=reed@google.com,sky@chromium.org
Abandoned / On-Hold pending NativeTheme button painting.
Patch Set 1 #Patch Set 2 : Use SkBitmapOperations::CreateBlendedBitmap. #Patch Set 3 : Working on a ImageBlendPainter. #Patch Set 4 : Blending fixes and debugging. #Patch Set 5 : Cleanup. #Patch Set 6 : Use SkLerpXfermode for image blending. #Patch Set 7 : Restore old native animation code; move unfocused fallback; etc. #
Total comments: 4
Patch Set 8 : Use a skia::RefPtr to free the SkXfermode after use. #
Total comments: 3
Messages
Total messages: 9 (0 generated)
|