OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2010 Google Inc. | 3 * Copyright 2010 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 | 9 |
10 | 10 |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 | 137 |
138 class SkAutoCachedTexture; // used internally | 138 class SkAutoCachedTexture; // used internally |
139 | 139 |
140 | 140 |
141 protected: | 141 protected: |
142 virtual bool onReadPixels(const SkImageInfo&, void*, size_t, int, int) SK_OV
ERRIDE; | 142 virtual bool onReadPixels(const SkImageInfo&, void*, size_t, int, int) SK_OV
ERRIDE; |
143 virtual bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int
) SK_OVERRIDE; | 143 virtual bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int
) SK_OVERRIDE; |
144 | 144 |
145 static bool FindLayersToHoist(const GrAccelData *gpuData, | 145 static bool FindLayersToHoist(const GrAccelData *gpuData, |
146 const SkPicture::OperationList* ops, | 146 const SkPicture::OperationList* ops, |
147 const SkIRect& query, | 147 const SkRect& query, |
148 bool* pullForward); | 148 bool* pullForward); |
149 void drawLayers(const SkPicture* picture, | 149 void drawLayers(const SkPicture* picture, |
150 const SkTDArray<GrCachedLayer*>& atlased, | 150 const SkTDArray<GrCachedLayer*>& atlased, |
151 const SkTDArray<GrCachedLayer*>& nonAtlased); | 151 const SkTDArray<GrCachedLayer*>& nonAtlased); |
152 void unlockLayers(const SkPicture* picture); | 152 void unlockLayers(const SkPicture* picture); |
153 | 153 |
154 /** PRIVATE / EXPERIMENTAL -- do not call */ | 154 /** PRIVATE / EXPERIMENTAL -- do not call */ |
155 virtual void EXPERIMENTAL_optimize(const SkPicture* picture) SK_OVERRIDE; | 155 virtual void EXPERIMENTAL_optimize(const SkPicture* picture) SK_OVERRIDE; |
156 /** PRIVATE / EXPERIMENTAL -- do not call */ | 156 /** PRIVATE / EXPERIMENTAL -- do not call */ |
157 virtual bool EXPERIMENTAL_drawPicture(SkCanvas* canvas, const SkPicture* pic
ture, | 157 virtual bool EXPERIMENTAL_drawPicture(SkCanvas* canvas, const SkPicture* pic
ture, |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 bool bicubic); | 226 bool bicubic); |
227 | 227 |
228 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); | 228 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); |
229 | 229 |
230 static SkPicture::AccelData::Key ComputeAccelDataKey(); | 230 static SkPicture::AccelData::Key ComputeAccelDataKey(); |
231 | 231 |
232 typedef SkBaseDevice INHERITED; | 232 typedef SkBaseDevice INHERITED; |
233 }; | 233 }; |
234 | 234 |
235 #endif | 235 #endif |
OLD | NEW |