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

Issue 752653002: Enable the Sky compositor (Closed)

Created:
6 years, 1 month ago by abarth-chromium
Modified:
6 years, 1 month ago
Reviewers:
eseidel, esprehn, rafaelw, ojan
CC:
mojo-reviews_chromium.org, ojan
Base URL:
git@github.com:domokit/mojo.git@master
Project:
mojo
Visibility:
Public.

Description

Enable the Sky compositor Turns out we need to reset the context before switching back to drawing with Ganesh (i.e., call resetContext on the GrContext) to clean out whatever state we've changed in the GL context. Now the city-list and the flights-app demos work. R=esprehn@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/bd0d09a82756b8dcb60234b7db22011229edc70c

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -4 lines) Patch
M sky/compositor/layer.cc View 1 chunk +0 lines, -1 line 0 comments Download
M sky/compositor/layer_host.cc View 1 chunk +7 lines, -1 line 2 comments Download
M sky/viewer/document_view.h View 1 chunk +1 line, -1 line 0 comments Download
M sky/viewer/document_view.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (4 generated)
abarth-chromium
6 years, 1 month ago (2014-11-21 17:48:08 UTC) #2
esprehn
lgtm https://codereview.chromium.org/752653002/diff/1/sky/compositor/layer_host.cc File sky/compositor/layer_host.cc (right): https://codereview.chromium.org/752653002/diff/1/sky/compositor/layer_host.cc#newcode55 sky/compositor/layer_host.cc:55: ganesh_context_.gr()->resetContext(); Why not do this inside the Display() ...
6 years, 1 month ago (2014-11-21 17:53:19 UTC) #4
abarth-chromium
https://codereview.chromium.org/752653002/diff/1/sky/compositor/layer_host.cc File sky/compositor/layer_host.cc (right): https://codereview.chromium.org/752653002/diff/1/sky/compositor/layer_host.cc#newcode55 sky/compositor/layer_host.cc:55: ganesh_context_.gr()->resetContext(); On 2014/11/21 at 17:53:19, esprehn wrote: > Why ...
6 years, 1 month ago (2014-11-21 17:56:52 UTC) #7
abarth-chromium
Committed patchset #1 (id:1) manually as bd0d09a82756b8dcb60234b7db22011229edc70c (presubmit successful).
6 years, 1 month ago (2014-11-21 17:57:55 UTC) #8
esprehn
On 2014/11/21 at 17:56:52, abarth wrote: > https://codereview.chromium.org/752653002/diff/1/sky/compositor/layer_host.cc > File sky/compositor/layer_host.cc (right): > > https://codereview.chromium.org/752653002/diff/1/sky/compositor/layer_host.cc#newcode55 ...
6 years, 1 month ago (2014-11-21 17:58:34 UTC) #9
abarth-chromium
6 years, 1 month ago (2014-11-21 17:59:27 UTC) #10
Message was sent while issue was closed.
On 2014/11/21 at 17:58:34, esprehn wrote:
> Okay. Child mojo::View's are cross process though right?

Yes.

> I think we should always have a flat list of layers interspersed with layers
from another mojo::View that are painted by someone else?

Yeah.  The idea is that won't have a tree of layers.  We'll just have a list of
layers.

Powered by Google App Engine
This is Rietveld 408576698