Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Issue 1204433002: Begin kLegacyFontHost_InitType cleanup (Closed)

Created:
5 years, 6 months ago by robertphillips
Modified:
5 years, 6 months ago
Reviewers:
reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

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

Patch Set 1 #

Patch Set 2 : clean up #

Total comments: 2

Patch Set 3 : Add dox #

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

Messages

Total messages: 12 (4 generated)
robertphillips
5 years, 6 months ago (2015-06-22 15:37:41 UTC) #2
reed1
https://codereview.chromium.org/1204433002/diff/20001/include/core/SkBitmapDevice.h File include/core/SkBitmapDevice.h (right): https://codereview.chromium.org/1204433002/diff/20001/include/core/SkBitmapDevice.h#newcode26 include/core/SkBitmapDevice.h:26: static SkBitmapDevice* Create(const SkImageInfo& info); Can we add dox ...
5 years, 6 months ago (2015-06-22 15:44:58 UTC) #3
robertphillips
https://codereview.chromium.org/1204433002/diff/20001/include/core/SkBitmapDevice.h File include/core/SkBitmapDevice.h (right): https://codereview.chromium.org/1204433002/diff/20001/include/core/SkBitmapDevice.h#newcode26 include/core/SkBitmapDevice.h:26: static SkBitmapDevice* Create(const SkImageInfo& info); On 2015/06/22 15:44:57, reed1 ...
5 years, 6 months ago (2015-06-22 16:10:51 UTC) #4
reed1
lgtm
5 years, 6 months ago (2015-06-22 16:14:12 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1204433002/40001
5 years, 6 months ago (2015-06-22 16:41:11 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-22 16:45:44 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1204433002/40001
5 years, 6 months ago (2015-06-22 16:46:14 UTC) #11
commit-bot: I haz the power
5 years, 6 months ago (2015-06-22 16:47:02 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/9a53fd7c41554630124522f4b6eedc16912abbb7

Powered by Google App Engine
This is Rietveld 408576698