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

Issue 1925863003: Changed Blimp client to start with white screen before drawing contents (Closed)

Created:
4 years, 7 months ago by shaktisahu
Modified:
4 years, 7 months ago
Reviewers:
nyquist, vmpstr, Khushal
CC:
chromium-reviews, anandc+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, cc-bugs_chromium.org, dtrainor+watch-blimp_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Changed Blimp client to start with white screen before drawing contents Currently Blimp client starts with a black screen before having any contents. In this patch, this behavior was fixed by two steps: 1 - BlimpView background color is set to white on initialization. 2 - Later after the first frame is received, the background is reset to null. For this to happen, we rely on the callback DidCompleteSwapBuffers of RemoteChannelImpl and hook it all the way to BlimpView. BUG=603797 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/a14676fc06d51ce9382217801882dae19e2c792a Cr-Commit-Position: refs/heads/master@{#391619}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Added interface for BlimpCompositorManagerClient #

Total comments: 2

Patch Set 3 : A few nits #

Patch Set 4 : merge origin/master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -25 lines) Patch
M blimp/client/app/android/blimp_compositor_manager_android.h View 1 2 chunks +5 lines, -3 lines 0 comments Download
M blimp/client/app/android/blimp_compositor_manager_android.cc View 1 2 chunks +6 lines, -4 lines 0 comments Download
M blimp/client/app/android/blimp_view.h View 1 3 chunks +5 lines, -2 lines 0 comments Download
M blimp/client/app/android/blimp_view.cc View 1 3 chunks +10 lines, -4 lines 0 comments Download
M blimp/client/app/android/java/src/org/chromium/blimp/BlimpView.java View 1 2 4 chunks +10 lines, -0 lines 0 comments Download
M blimp/client/app/linux/blimp_display_manager.h View 1 3 chunks +6 lines, -1 line 0 comments Download
M blimp/client/app/linux/blimp_display_manager.cc View 1 3 chunks +3 lines, -2 lines 0 comments Download
M blimp/client/feature/compositor/blimp_compositor.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M blimp/client/feature/compositor/blimp_compositor.cc View 1 chunk +3 lines, -1 line 0 comments Download
M blimp/client/feature/compositor/blimp_compositor_manager.h View 1 4 chunks +9 lines, -1 line 0 comments Download
M blimp/client/feature/compositor/blimp_compositor_manager.cc View 1 2 chunks +11 lines, -5 lines 0 comments Download
M blimp/client/feature/compositor/blimp_compositor_manager_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M blimp/client/feature/compositor/blimp_compositor_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/remote_channel_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/remote_channel_impl.cc View 1 2 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 24 (10 generated)
shaktisahu
4 years, 7 months ago (2016-04-28 02:38:06 UTC) #3
Khushal
https://codereview.chromium.org/1925863003/diff/1/blimp/client/app/android/blimp_compositor_manager_android.h File blimp/client/app/android/blimp_compositor_manager_android.h (right): https://codereview.chromium.org/1925863003/diff/1/blimp/client/app/android/blimp_compositor_manager_android.h#newcode71 blimp/client/app/android/blimp_compositor_manager_android.h:71: BlimpView* blimp_view_; I would suggest informing the BlimpView using ...
4 years, 7 months ago (2016-04-28 03:32:26 UTC) #4
shaktisahu
https://codereview.chromium.org/1925863003/diff/1/blimp/client/app/android/blimp_compositor_manager_android.h File blimp/client/app/android/blimp_compositor_manager_android.h (right): https://codereview.chromium.org/1925863003/diff/1/blimp/client/app/android/blimp_compositor_manager_android.h#newcode71 blimp/client/app/android/blimp_compositor_manager_android.h:71: BlimpView* blimp_view_; On 2016/04/28 03:32:26, Khushal wrote: > I ...
4 years, 7 months ago (2016-04-28 21:38:16 UTC) #5
Khushal
lgtm. https://codereview.chromium.org/1925863003/diff/1/blimp/client/app/android/java/src/org/chromium/blimp/BlimpView.java File blimp/client/app/android/java/src/org/chromium/blimp/BlimpView.java (right): https://codereview.chromium.org/1925863003/diff/1/blimp/client/app/android/java/src/org/chromium/blimp/BlimpView.java#newcode181 blimp/client/app/android/java/src/org/chromium/blimp/BlimpView.java:181: post(new Runnable() { On 2016/04/28 21:38:15, shaktisahu wrote: ...
4 years, 7 months ago (2016-04-28 21:45:35 UTC) #6
shaktisahu
vmpstr@chromium.org: Please review changes in
4 years, 7 months ago (2016-04-28 22:18:38 UTC) #8
vmpstr
cc lgtm
4 years, 7 months ago (2016-04-29 23:19:40 UTC) #9
nyquist
lgtm https://codereview.chromium.org/1925863003/diff/20001/blimp/client/app/android/java/src/org/chromium/blimp/BlimpView.java File blimp/client/app/android/java/src/org/chromium/blimp/BlimpView.java (right): https://codereview.chromium.org/1925863003/diff/20001/blimp/client/app/android/java/src/org/chromium/blimp/BlimpView.java#newcode180 blimp/client/app/android/java/src/org/chromium/blimp/BlimpView.java:180: if (getBackground() != null) { Nit: Could you ...
4 years, 7 months ago (2016-05-03 22:40:37 UTC) #10
shaktisahu
https://codereview.chromium.org/1925863003/diff/20001/blimp/client/app/android/java/src/org/chromium/blimp/BlimpView.java File blimp/client/app/android/java/src/org/chromium/blimp/BlimpView.java (right): https://codereview.chromium.org/1925863003/diff/20001/blimp/client/app/android/java/src/org/chromium/blimp/BlimpView.java#newcode180 blimp/client/app/android/java/src/org/chromium/blimp/BlimpView.java:180: if (getBackground() != null) { On 2016/05/03 22:40:37, nyquist ...
4 years, 7 months ago (2016-05-03 23:24:52 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1925863003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1925863003/40001
4 years, 7 months ago (2016-05-03 23:25:49 UTC) #14
commit-bot: I haz the power
Failed to apply the patch.
4 years, 7 months ago (2016-05-04 01:21:59 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1925863003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1925863003/60001
4 years, 7 months ago (2016-05-04 19:10:26 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-04 20:11:09 UTC) #21
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/a14676fc06d51ce9382217801882dae19e2c792a Cr-Commit-Position: refs/heads/master@{#391619}
4 years, 7 months ago (2016-05-04 20:13:56 UTC) #23
tommycli
4 years, 7 months ago (2016-05-10 17:02:54 UTC) #24
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/1965843002/ by tommycli@chromium.org.

The reason for reverting is: Reverting because this patch broke the Dr Memory
bot:

https://build.chromium.org/p/chromium.memory.fyi/builders/Windows%20Unit%20%2....

Powered by Google App Engine
This is Rietveld 408576698