Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Issue 675313002: RELAND: CONTENT: Optimize SurfaceFlinger overlays - Step 1 (Closed)

Created:
6 years, 2 months ago by epenner
Modified:
6 years, 1 month ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

RELAND: 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. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -1 line) Patch
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 15 (3 generated)
epenner
Ptal. This android_webview_apk works fine with this now.
6 years, 2 months ago (2014-10-25 01:54:14 UTC) #2
mkosiba (inactive)
https://codereview.chromium.org/675313002/diff/1/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/675313002/diff/1/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode635 android_webview/java/src/org/chromium/android_webview/AwContents.java:635: mContainerView.setWillNotDraw(false); you probably want to put this in the ...
6 years, 1 month ago (2014-10-27 11:48:25 UTC) #3
boliu
https://codereview.chromium.org/675313002/diff/1/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/675313002/diff/1/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode635 android_webview/java/src/org/chromium/android_webview/AwContents.java:635: mContainerView.setWillNotDraw(false); On 2014/10/27 11:48:24, mkosiba wrote: > you probably ...
6 years, 1 month ago (2014-10-27 15:19:39 UTC) #4
mkosiba (inactive)
On 2014/10/27 15:19:39, boliu wrote: > https://codereview.chromium.org/675313002/diff/1/android_webview/java/src/org/chromium/android_webview/AwContents.java > File android_webview/java/src/org/chromium/android_webview/AwContents.java > (right): > > https://codereview.chromium.org/675313002/diff/1/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode635 ...
6 years, 1 month ago (2014-10-27 16:13:58 UTC) #5
boliu
On 2014/10/27 16:13:58, mkosiba wrote: > On 2014/10/27 15:19:39, boliu wrote: > > > https://codereview.chromium.org/675313002/diff/1/android_webview/java/src/org/chromium/android_webview/AwContents.java ...
6 years, 1 month ago (2014-10-27 16:26:03 UTC) #6
Ted C
On 2014/10/27 16:26:03, boliu wrote: > On 2014/10/27 16:13:58, mkosiba wrote: > > On 2014/10/27 ...
6 years, 1 month ago (2014-10-29 00:05:52 UTC) #7
epennerAtGoogle
Addressed feedback. Ptal. Bo, can I get an android_webview OWNERS lgtm? https://codereview.chromium.org/675313002/diff/1/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): ...
6 years, 1 month ago (2014-10-29 20:35:35 UTC) #9
epennerAtGoogle
On 2014/10/29 20:35:35, epennerAtGoogle wrote: > Addressed feedback. Ptal. > > Bo, can I get ...
6 years, 1 month ago (2014-10-29 20:37:08 UTC) #10
boliu
lgtm
6 years, 1 month ago (2014-10-29 20:39:54 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/675313002/50003
6 years, 1 month ago (2014-10-29 20:46:22 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:50003)
6 years, 1 month ago (2014-10-29 21:43:06 UTC) #14
commit-bot: I haz the power
6 years, 1 month ago (2014-10-29 21:44:08 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ac4ad5a52fca8fc4b7ec24d32df9efee93a4fa51
Cr-Commit-Position: refs/heads/master@{#301940}

Powered by Google App Engine
This is Rietveld 408576698