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

Side by Side Diff: src/gpu/GrPictureUtils.h

Issue 647973006: Remove a SkImageDecoder reference from SkPicture.h (Closed) Base URL: https://skia.googlesource.com/skia.git@separate-image-encoder-02-debug-functionality
Patch Set: Created 6 years, 2 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 | « src/gpu/GrLayerHoister.h ('k') | src/pdf/SkPDFDeviceFlattener.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 2014 Google Inc. 2 * Copyright 2014 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 7
8 #ifndef GrPictureUtils_DEFINED 8 #ifndef GrPictureUtils_DEFINED
9 #define GrPictureUtils_DEFINED 9 #define GrPictureUtils_DEFINED
10 10
11 #include "SkMatrix.h"
12 #include "SkPaint.h"
11 #include "SkPicture.h" 13 #include "SkPicture.h"
12 #include "SkTArray.h" 14 #include "SkTArray.h"
13 15
14 // This class encapsulates the GPU-backend-specific acceleration data 16 // This class encapsulates the GPU-backend-specific acceleration data
15 // for a single SkPicture 17 // for a single SkPicture
16 class GrAccelData : public SkPicture::AccelData { 18 class GrAccelData : public SkPicture::AccelData {
17 public: 19 public:
18 // Information about a given saveLayer in an SkPicture 20 // Information about a given saveLayer in an SkPicture
19 class SaveLayerInfo { 21 class SaveLayerInfo {
20 public: 22 public:
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 69
68 private: 70 private:
69 SkTArray<SaveLayerInfo, true> fSaveLayerInfo; 71 SkTArray<SaveLayerInfo, true> fSaveLayerInfo;
70 72
71 typedef SkPicture::AccelData INHERITED; 73 typedef SkPicture::AccelData INHERITED;
72 }; 74 };
73 75
74 const GrAccelData* GPUOptimize(const SkPicture* pict); 76 const GrAccelData* GPUOptimize(const SkPicture* pict);
75 77
76 #endif // GrPictureUtils_DEFINED 78 #endif // GrPictureUtils_DEFINED
OLDNEW
« no previous file with comments | « src/gpu/GrLayerHoister.h ('k') | src/pdf/SkPDFDeviceFlattener.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698