|
Allow SkCanvas to be initialized to force conservative rasterclips. This has the following effects:
1. Queries to the current clip will be conservatively large. This can mean the quickReject may return false more often.
2. The conservative clips mean less work is done.
3. Enabled by default for Gpu, Record, and NoSaveLayer canvases.
4. API is private for now.
Committed: https://skia.googlesource.com/skia/+/27a5e656c3d6ef22f9cb34de18e1b960da3aa241
Total comments: 4
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+233 lines, -166 lines) |
Patch |
|
M |
include/core/SkCanvas.h
|
View
|
1
2
3
4
5
|
3 chunks |
+11 lines, -6 lines |
0 comments
|
Download
|
|
M |
include/core/SkDevice.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/gpu/SkGpuDevice.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
include/utils/SkNoSaveLayerCanvas.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -16 lines |
0 comments
|
Download
|
|
M |
src/core/SkCanvas.cpp
|
View
|
1
2
3
4
|
13 chunks |
+71 lines, -112 lines |
0 comments
|
Download
|
|
M |
src/core/SkDeviceLooper.cpp
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/core/SkPictureRecord.cpp
|
View
|
1
2
3
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/core/SkRasterClip.h
|
View
|
1
2
3
4
|
4 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/core/SkRasterClip.cpp
|
View
|
1
2
3
4
5
6
|
8 chunks |
+124 lines, -14 lines |
1 comment
|
Download
|
|
M |
src/core/SkRecorder.cpp
|
View
|
1
2
3
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
tests/AAClipTest.cpp
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
tests/PictureTest.cpp
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 12 (3 generated)
|