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

Issue 1558813002: Add a multi-threaded rendering example. (Closed)

Created:
4 years, 11 months ago by jeffbrown
Modified:
4 years, 11 months ago
Reviewers:
abarth, viettrungluu, jamesr
CC:
mojo-reviews_chromium.org
Base URL:
git@github.com:domokit/mojo.git@moz-15
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Add a multi-threaded rendering example. Add a new example to test multi-threaded rendering support to ensure that the Mozart APIs are not overly thread-hostile. The Noodles app draws Lissajous figures. The main thread handles events and submits SkPictures to the rasterizer thread to be drawn and composited. Writing this example provided useful feedback into the design of the UI helper library and the Scene interface itself, particularly the separation of event handling from content publishing. BUG= R=abarth@google.com Committed: https://chromium.googlesource.com/external/mojo/+/c8bbaed8e0650d920840b6e79d3cc4c4f040f2e2

Patch Set 1 #

Total comments: 10

Patch Set 2 : address feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+506 lines, -21 lines) Patch
M examples/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
A + examples/ui/noodles/BUILD.gn View 1 2 chunks +11 lines, -6 lines 0 comments Download
A examples/ui/noodles/README.md View 1 chunk +11 lines, -0 lines 0 comments Download
A examples/ui/noodles/frame.h View 1 chunk +46 lines, -0 lines 0 comments Download
A examples/ui/noodles/frame.cc View 1 chunk +31 lines, -0 lines 0 comments Download
A + examples/ui/noodles/main.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + examples/ui/noodles/noodles_app.h View 2 chunks +7 lines, -7 lines 0 comments Download
A + examples/ui/noodles/noodles_app.cc View 1 chunk +6 lines, -6 lines 0 comments Download
A examples/ui/noodles/noodles_view.h View 1 1 chunk +109 lines, -0 lines 0 comments Download
A examples/ui/noodles/noodles_view.cc View 1 1 chunk +184 lines, -0 lines 0 comments Download
A examples/ui/noodles/rasterizer.h View 1 chunk +44 lines, -0 lines 0 comments Download
A examples/ui/noodles/rasterizer.cc View 1 chunk +54 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 7 (2 generated)
jeffbrown
4 years, 11 months ago (2015-12-31 11:21:07 UTC) #2
abarth
LGTM https://codereview.chromium.org/1558813002/diff/1/examples/ui/noodles/noodles_view.cc File examples/ui/noodles/noodles_view.cc (right): https://codereview.chromium.org/1558813002/diff/1/examples/ui/noodles/noodles_view.cc#newcode27 examples/ui/noodles/noodles_view.cc:27: static void Drop(scoped_ptr<T> ptr) {} There's a declaration ...
4 years, 11 months ago (2016-01-10 03:25:57 UTC) #3
jeffbrown
https://codereview.chromium.org/1558813002/diff/1/examples/ui/noodles/noodles_view.cc File examples/ui/noodles/noodles_view.cc (right): https://codereview.chromium.org/1558813002/diff/1/examples/ui/noodles/noodles_view.cc#newcode27 examples/ui/noodles/noodles_view.cc:27: static void Drop(scoped_ptr<T> ptr) {} On 2016/01/10 03:25:56, abarth ...
4 years, 11 months ago (2016-01-26 08:30:37 UTC) #4
jeffbrown
address feedback
4 years, 11 months ago (2016-01-26 09:25:21 UTC) #5
jeffbrown
4 years, 11 months ago (2016-01-26 23:52:30 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
c8bbaed8e0650d920840b6e79d3cc4c4f040f2e2 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698