DescriptionRELAND: CONTENT: Optimize SurfaceFlinger overlays - Step 1
Currently Chrome has two fullscreen overlays. There is a
hidden optimization where Android detects transparent areas
on top of SurfaceViews and removes them from SurfaceFlinger
compositing. In order to get the most from this
optimization, we need to set all views in the viewport to
be either:
a.) Not visible (+layout to trigger it)
b.) setWillNotDraw(true) with no visible back/foreground.
ContentViews in general don't draw, so we remove
setWillNotDraw(false). For WebView we do need this now
though, so move setWillNotDraw(false) into AwContents.
BUG=342541
Committed: https://crrev.com/ac4ad5a52fca8fc4b7ec24d32df9efee93a4fa51
Cr-Commit-Position: refs/heads/master@{#301940}
Patch Set 1 #
Total comments: 3
Patch Set 2 : Address feedback. #Patch Set 3 : Comments. #Patch Set 4 : Whitespace. #
Messages
Total messages: 15 (3 generated)
|