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

Side by Side Diff: src/pdf/SkPDFDocument.h

Issue 1833793002: SkPDF: speed up SkPDFShader generation. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « bench/PDFBench.cpp ('k') | src/pdf/SkPDFShader.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2016 Google Inc. 2 * Copyright 2016 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 #ifndef SkPDFDocument_DEFINED 7 #ifndef SkPDFDocument_DEFINED
8 #define SkPDFDocument_DEFINED 8 #define SkPDFDocument_DEFINED
9 9
10 #include "SkDocument.h" 10 #include "SkDocument.h"
11 #include "SkPDFCanon.h"
11 #include "SkPDFMetadata.h" 12 #include "SkPDFMetadata.h"
12 #include "SkPDFFont.h" 13 #include "SkPDFFont.h"
13 14
14 class SkPDFDevice; 15 class SkPDFDevice;
15 16
16 sk_sp<SkDocument> SkPDFMakeDocument( 17 sk_sp<SkDocument> SkPDFMakeDocument(
17 SkWStream* stream, 18 SkWStream* stream,
18 void (*doneProc)(SkWStream*, bool), 19 void (*doneProc)(SkWStream*, bool),
19 SkScalar rasterDpi, 20 SkScalar rasterDpi,
20 SkPixelSerializer* jpegEncoder); 21 SkPixelSerializer* jpegEncoder);
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 SkPDFGlyphSetMap fGlyphUsage; 76 SkPDFGlyphSetMap fGlyphUsage;
76 SkTArray<sk_sp<SkPDFDict>> fPages; 77 SkTArray<sk_sp<SkPDFDict>> fPages;
77 sk_sp<SkPDFDict> fDests; 78 sk_sp<SkPDFDict> fDests;
78 sk_sp<SkPDFDevice> fPageDevice; 79 sk_sp<SkPDFDevice> fPageDevice;
79 sk_sp<SkCanvas> fCanvas; 80 sk_sp<SkCanvas> fCanvas;
80 SkScalar fRasterDpi; 81 SkScalar fRasterDpi;
81 SkPDFMetadata fMetadata; 82 SkPDFMetadata fMetadata;
82 }; 83 };
83 84
84 #endif // SkPDFDocument_DEFINED 85 #endif // SkPDFDocument_DEFINED
OLDNEW
« no previous file with comments | « bench/PDFBench.cpp ('k') | src/pdf/SkPDFShader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698