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

Issue 2926803003: chrome/android: Fix black flash on cold start. (Closed)

Created:
3 years, 6 months ago by Khushal
Modified:
3 years, 6 months ago
CC:
agrieve+watch_chromium.org, chromium-reviews, Yusuf
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

chrome/android: Fix black flash on cold start. We currently see a black flash on cold start with some pages because the logic uses the SwapBuffers notification to hide the background color on the View to make the underlying Surface visible. Since the SwapBuffers notification doesn't ensure that the rendering has finished, it may not actually be used by the SurfaceFlinger which causes a black flash. Since we have similar logic for the tab strip which is also drawn in native, merge this logic in one place and remove the background only after the second frame is drawn. BUG=729278 Review-Url: https://codereview.chromium.org/2926803003 Cr-Commit-Position: refs/heads/master@{#477774} Committed: https://chromium.googlesource.com/chromium/src/+/481b7bd458ec703fbe99d111424a7a260658f185

Patch Set 1 #

Patch Set 2 : .. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -32 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/compositor/CompositorView.java View 4 chunks +0 lines, -28 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/compositor/CompositorViewHolder.java View 1 1 chunk +7 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
Khushal
3 years, 6 months ago (2017-06-07 07:22:45 UTC) #2
Ted C
lgtm
3 years, 6 months ago (2017-06-07 19:18:26 UTC) #3
aelias_OOO_until_Jul13
Got it, it sounds like yusufo@'s fix for cold start black flash in https://codereview.chromium.org/2271393003 was ...
3 years, 6 months ago (2017-06-07 22:00:03 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2926803003/20001
3 years, 6 months ago (2017-06-07 22:04:09 UTC) #6
commit-bot: I haz the power
3 years, 6 months ago (2017-06-07 23:24:26 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/481b7bd458ec703fbe99d111424a...

Powered by Google App Engine
This is Rietveld 408576698