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

Side by Side Diff: include/gpu/SkGpuDevice.h

Issue 212933002: Actually identify required saveLayers in SkGpuDevice::EXPERIMENTAL_drawPicture (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Addressed code review issue Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « include/gpu/GrClipData.h ('k') | src/core/SkCanvas.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 /* 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 class SkAutoCachedTexture; // used internally 152 class SkAutoCachedTexture; // used internally
153 153
154 154
155 protected: 155 protected:
156 virtual bool onReadPixels(const SkImageInfo&, void*, size_t, int, int) SK_OV ERRIDE; 156 virtual bool onReadPixels(const SkImageInfo&, void*, size_t, int, int) SK_OV ERRIDE;
157 virtual bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int ) SK_OVERRIDE; 157 virtual bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int ) SK_OVERRIDE;
158 158
159 /** PRIVATE / EXPERIMENTAL -- do not call */ 159 /** PRIVATE / EXPERIMENTAL -- do not call */
160 virtual void EXPERIMENTAL_optimize(SkPicture* picture) SK_OVERRIDE; 160 virtual void EXPERIMENTAL_optimize(SkPicture* picture) SK_OVERRIDE;
161 /** PRIVATE / EXPERIMENTAL -- do not call */ 161 /** PRIVATE / EXPERIMENTAL -- do not call */
162 virtual bool EXPERIMENTAL_drawPicture(const SkPicture& picture) SK_OVERRIDE; 162 virtual bool EXPERIMENTAL_drawPicture(SkPicture* picture) SK_OVERRIDE;
163 163
164 private: 164 private:
165 GrContext* fContext; 165 GrContext* fContext;
166 166
167 GrSkDrawProcs* fDrawProcs; 167 GrSkDrawProcs* fDrawProcs;
168 168
169 GrClipData fClipData; 169 GrClipData fClipData;
170 170
171 GrTextContext* fMainTextContext; 171 GrTextContext* fMainTextContext;
172 GrTextContext* fFallbackTextContext; 172 GrTextContext* fFallbackTextContext;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 SkCanvas::DrawBitmapRectFlags flags, 222 SkCanvas::DrawBitmapRectFlags flags,
223 int tileSize, 223 int tileSize,
224 bool bicubic); 224 bool bicubic);
225 225
226 static SkPicture::AccelData::Key ComputeAccelDataKey(); 226 static SkPicture::AccelData::Key ComputeAccelDataKey();
227 227
228 typedef SkBitmapDevice INHERITED; 228 typedef SkBitmapDevice INHERITED;
229 }; 229 };
230 230
231 #endif 231 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrClipData.h ('k') | src/core/SkCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698