DescriptionChange the ScrollbarLayer to use UI Resource as oppose to prioritized resource manager.
First attemped as a part of the UI resource CL:
https://chromiumcodereview.appspot.com/18191020
Reverted due to failed tests:
https://chromiumcodereview.appspot.com/21555004
This patch clears the SkCanvas (bitmap) for the thumb/track before painting, and scales the canvas with respect to the content_scale (closer to the original scrollbar implementation that used cc/resources/content_layer_updater).
Also change the pixel swizzling format to best_texture_format().
BUG=173947
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217446
Patch Set 1 : Changed ScrollbarLayer to clear SkCanvas and reflect scale changes to the layer #
Total comments: 6
Patch Set 2 : Scrollbar Layer unittest with checks for empty track or thumb #Patch Set 3 : Fixed failed ScaledScrollbar test #Patch Set 4 : Add pxiel swizzling to UIResourceBitmap #Patch Set 5 : Finalizing pixel format issues #Patch Set 6 : Clean up #Patch Set 7 : Rebase and merge #
Messages
Total messages: 16 (0 generated)
|