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

Issue 753643002: Enable the Sky compositor again (Closed)

Created:
6 years, 1 month ago by abarth-chromium
Modified:
6 years, 1 month ago
Reviewers:
esprehn, rafaelw, ojan
CC:
Aaron Boodman, ben+mojo_chromium.org, darin (slow to review), mojo-reviews_chromium.org, ojan, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Project:
mojo
Visibility:
Public.

Description

Enable the Sky compositor again This CL fixes two bugs: 1) We need to enter the Ganesh context in order to destroy the GrContext. 2) We had a race condition whereby we'd try to upload a frame to a surface that didn't yet exist. This CL fixes that race by adding a state to LayerHost to wait for the surface to be created before trying to upload to it. R=esprehn@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/09751e2b44f5e94c93c7020f7867bdf88b76105e

Patch Set 1 #

Total comments: 2

Patch Set 2 : Moar comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -2 lines) Patch
M mojo/skia/ganesh_context.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M sky/compositor/layer_host.h View 2 chunks +8 lines, -0 lines 0 comments Download
M sky/compositor/layer_host.cc View 1 5 chunks +28 lines, -0 lines 0 comments Download
M sky/compositor/surface_holder.h View 1 chunk +2 lines, -0 lines 0 comments Download
M sky/compositor/surface_holder.cc View 1 chunk +5 lines, -1 line 0 comments Download
M sky/viewer/document_view.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (1 generated)
abarth-chromium
6 years, 1 month ago (2014-11-21 19:32:05 UTC) #2
esprehn
https://codereview.chromium.org/753643002/diff/1/sky/compositor/layer_host.cc File sky/compositor/layer_host.cc (right): https://codereview.chromium.org/753643002/diff/1/sky/compositor/layer_host.cc#newcode74 sky/compositor/layer_host.cc:74: if (state_ == kProducingFrame) What schedules the eventual upload ...
6 years, 1 month ago (2014-11-21 19:34:45 UTC) #3
abarth-chromium
https://codereview.chromium.org/753643002/diff/1/sky/compositor/layer_host.cc File sky/compositor/layer_host.cc (right): https://codereview.chromium.org/753643002/diff/1/sky/compositor/layer_host.cc#newcode74 sky/compositor/layer_host.cc:74: if (state_ == kProducingFrame) On 2014/11/21 at 19:34:45, esprehn ...
6 years, 1 month ago (2014-11-21 20:01:17 UTC) #4
esprehn
On 2014/11/21 at 20:01:17, abarth wrote: > https://codereview.chromium.org/753643002/diff/1/sky/compositor/layer_host.cc > File sky/compositor/layer_host.cc (right): > > https://codereview.chromium.org/753643002/diff/1/sky/compositor/layer_host.cc#newcode74 ...
6 years, 1 month ago (2014-11-21 20:03:19 UTC) #5
abarth-chromium
On 2014/11/21 at 20:03:19, esprehn wrote: > Will we block doing another BeginFrame until the ...
6 years, 1 month ago (2014-11-21 20:07:27 UTC) #6
abarth-chromium
The timer-based approach matches the behavior we're currently getting from CC, which is why I ...
6 years, 1 month ago (2014-11-21 20:08:37 UTC) #7
abarth-chromium
6 years, 1 month ago (2014-11-21 20:15:35 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
09751e2b44f5e94c93c7020f7867bdf88b76105e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698