Description[Android WebView] Update SW rendering to use SkPicture and fix scrolling cases.
The new capturePicture API will now provide SkPicture objects rather than cc::PicturePileImpl. Update the code to reflect that.
Also, when rendering into separate layers in HW mode we're applying a translation to undo the Android Framework scrolling and let Chrome's compositor take care of it. This is not applicable to the layer case, however, as we only render ourselves out of our provided sufrace.
SW rendering doesn't need scroll correction after using SkPicture directly. Before, cc::PicturePileImpl translated the canvas as part of the content rect rasterization.
BUG=161409
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175781
Patch Set 1 #Patch Set 2 : extend to fix sw rendering scroll. #
Total comments: 1
Patch Set 3 : update to use SkPicture and simplify. #
Total comments: 2
Messages
Total messages: 10 (0 generated)
|