|
Begin kLegacyFontHost_InitType cleanup
This CL starts the process of pushing kLegacyFontHost_InitType-type SkSurfaceProps up the call stack and out of Skia. It:
Gets rid of the default SkBaseDevice ctor. This means everyone has to always hand an explicit SkSurfaceProps to it.
It makes public the SkBitmapDevice creation methods that require SkSurfaceProps.
Removes (in Skia's code base) all SkBitmapDevice ctor calls w/o SkSurfaceProps.
Makes the "recording" canvases (e.g., pdf, svg, xps) explicitly not use kLegacyFontHost_InitType.
Replicates the creating canvas/device's flags on saveLayer devices
BUG= skia:3934
Committed: https://skia.googlesource.com/skia/+/9a53fd7c41554630124522f4b6eedc16912abbb7
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+138 lines, -158 lines) |
Patch |
|
M |
experimental/PdfViewer/SkTrackDevice.h
|
View
|
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
experimental/PdfViewer/pdf_viewer_main.cpp
|
View
|
1
|
3 chunks |
+3 lines, -8 lines |
0 comments
|
Download
|
|
M |
experimental/PdfViewer/src/SkPdfRenderer.cpp
|
View
|
1
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
gm/resizeimagefilter.cpp
|
View
|
1
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
include/core/SkBitmapDevice.h
|
View
|
1
2
|
1 chunk |
+12 lines, -9 lines |
0 comments
|
Download
|
|
M |
include/core/SkDevice.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
include/utils/SkDeferredCanvas.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/core/SkBitmapDevice.cpp
|
View
|
|
3 chunks |
+13 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/core/SkCanvas.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/core/SkDevice.cpp
|
View
|
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/core/SkImageFilter.cpp
|
View
|
1
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/device/xps/SkXPSDevice.cpp
|
View
|
|
2 chunks |
+16 lines, -16 lines |
0 comments
|
Download
|
|
M |
src/pdf/SkPDFDevice.cpp
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/pipe/SkGPipeWrite.cpp
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/pipe/utils/SamplePipeControllers.cpp
|
View
|
1
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
src/svg/SkSVGDevice.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/svg/SkSVGDevice.cpp
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/utils/SkCanvasStateUtils.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/utils/SkDeferredCanvas.cpp
|
View
|
1
|
3 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/DeferredCanvasTest.cpp
|
View
|
1
|
2 chunks |
+0 lines, -14 lines |
0 comments
|
Download
|
|
M |
tests/ImageFilterTest.cpp
|
View
|
1
|
18 chunks |
+54 lines, -50 lines |
0 comments
|
Download
|
|
M |
tests/LayerDrawLooperTest.cpp
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
tests/PremulAlphaRoundTripTest.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/ReadPixelsTest.cpp
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
tests/SkImageTest.cpp
|
View
|
1
|
3 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
|
M |
tests/WritePixelsTest.cpp
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 12 (4 generated)
|