|
Change where layer hoisting data is gathered
This CL:
1) removes the EXPERIMENTAL_optimize on SkCanvas & SkDevice
2) moves the saveLayer gathering step to endRecording
3) Replaces GPUOptimize with SkRecordComputeLayers
4) Update bench_pictures & render_pictures to provide the new flag
#2 also necessitated moving the BBH computation (and record optimization) out of SkPicture's ctor (and into endRecording)
Committed: https://skia.googlesource.com/skia/+/81f71b6630a9b7398bf983689436cccdd8dd3ff7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+109 lines, -105 lines) |
Patch |
|
M |
gm/multipicturedraw.cpp
|
View
|
1
2
3
|
6 chunks |
+23 lines, -6 lines |
0 comments
|
Download
|
|
M |
include/core/SkCanvas.h
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
M |
include/core/SkDevice.h
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
include/core/SkPictureRecorder.h
|
View
|
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/core/SkCanvas.cpp
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/core/SkDevice.cpp
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/core/SkMultiPictureDraw.cpp
|
View
|
1
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/core/SkPicture.cpp
|
View
|
|
1 chunk |
+1 line, -11 lines |
0 comments
|
Download
|
|
M |
src/core/SkPictureRecorder.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+42 lines, -1 line |
0 comments
|
Download
|
|
M |
src/gpu/GrPictureUtils.h
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrPictureUtils.cpp
|
View
|
1
|
4 chunks |
+12 lines, -23 lines |
0 comments
|
Download
|
|
M |
src/gpu/SkGpuDevice.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/SkGpuDevice.cpp
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -19 lines |
0 comments
|
Download
|
|
M |
tests/PictureTest.cpp
|
View
|
|
3 chunks |
+7 lines, -10 lines |
0 comments
|
Download
|
|
M |
tools/PictureRenderer.cpp
|
View
|
1
2
3
4
|
2 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
Total messages: 9 (4 generated)
|