|
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
Total comments: 10
|
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:
Total messages: 7 (2 generated)
|