|
Sky should use an SkPicture when drawing
This CL teaches the Sky compositor to record an SkPicture instead of just
drawing in immediate mode. Using an SkPicture will let us experiment with
various optimizations in Skia that preprocess the SkPicture before translating
the Skia commands to GL commands.
This CL also refactors the "display delegate" system now that we can hand off
an SkPicture to a rasterization backend. The new design requires fewer
backpointers and removes the static display delegate factory.
R=eseidel@google.com
Committed: https://chromium.googlesource.com/external/mojo/+/20f9545776ad59ce5d7425f4fbbef9d2e4cd9b95
Total comments: 5
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+275 lines, -268 lines) |
Patch |
 |
M |
examples/sky_compositor_app/sky_compositor_app.cc
|
View
|
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
sky/compositor/BUILD.gn
|
View
|
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
D |
sky/compositor/display_delegate.h
|
View
|
|
1 chunk |
+0 lines, -43 lines |
0 comments
|
Download
|
 |
D |
sky/compositor/display_delegate.cc
|
View
|
|
1 chunk |
+0 lines, -24 lines |
0 comments
|
Download
|
 |
D |
sky/compositor/display_delegate_bitmap.h
|
View
|
|
1 chunk |
+0 lines, -33 lines |
0 comments
|
Download
|
 |
D |
sky/compositor/display_delegate_bitmap.cc
|
View
|
|
1 chunk |
+0 lines, -39 lines |
0 comments
|
Download
|
 |
D |
sky/compositor/display_delegate_ganesh.h
|
View
|
|
1 chunk |
+0 lines, -31 lines |
0 comments
|
Download
|
 |
D |
sky/compositor/display_delegate_ganesh.cc
|
View
|
|
1 chunk |
+0 lines, -27 lines |
0 comments
|
Download
|
 |
M |
sky/compositor/layer.h
|
View
|
|
2 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
 |
M |
sky/compositor/layer.cc
|
View
|
|
2 chunks |
+16 lines, -16 lines |
0 comments
|
Download
|
 |
M |
sky/compositor/layer_host.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sky/compositor/layer_host.cc
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
A |
sky/compositor/rasterizer.h
|
View
|
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
sky/compositor/rasterizer.cc
|
View
|
|
1 chunk |
+9 lines, -3 lines |
0 comments
|
Download
|
 |
A |
sky/compositor/rasterizer_bitmap.h
|
View
|
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
sky/compositor/rasterizer_bitmap.cc
|
View
|
|
1 chunk |
+16 lines, -12 lines |
0 comments
|
Download
|
 |
A |
sky/compositor/rasterizer_ganesh.h
|
View
|
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
A |
sky/compositor/rasterizer_ganesh.cc
|
View
|
1
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sky/viewer/BUILD.gn
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sky/viewer/document_view.h
|
View
|
|
3 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
sky/viewer/document_view.cc
|
View
|
1
|
4 chunks |
+22 lines, -5 lines |
2 comments
|
Download
|
 |
A |
sky/viewer/runtime_flags.h
|
View
|
1
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
A |
sky/viewer/runtime_flags.cc
|
View
|
1
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sky/viewer/viewer.cc
|
View
|
|
2 chunks |
+2 lines, -12 lines |
0 comments
|
Download
|
Total messages: 9 (2 generated)
|