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

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

Issue 448793004: add drawPicture variant that takes a matrix and paint (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: more dummies so we can land Created 6 years, 4 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 | « include/core/SkDevice.h ('k') | include/utils/SkDeferredCanvas.h » ('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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 class SkAutoCachedTexture; // used internally 136 class SkAutoCachedTexture; // used internally
137 137
138 138
139 protected: 139 protected:
140 virtual bool onReadPixels(const SkImageInfo&, void*, size_t, int, int) SK_OV ERRIDE; 140 virtual bool onReadPixels(const SkImageInfo&, void*, size_t, int, int) SK_OV ERRIDE;
141 virtual bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int ) SK_OVERRIDE; 141 virtual bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int ) SK_OVERRIDE;
142 142
143 /** PRIVATE / EXPERIMENTAL -- do not call */ 143 /** PRIVATE / EXPERIMENTAL -- do not call */
144 virtual void EXPERIMENTAL_optimize(const SkPicture* picture) SK_OVERRIDE; 144 virtual void EXPERIMENTAL_optimize(const SkPicture* picture) SK_OVERRIDE;
145 /** PRIVATE / EXPERIMENTAL -- do not call */ 145 /** PRIVATE / EXPERIMENTAL -- do not call */
146 virtual bool EXPERIMENTAL_drawPicture(SkCanvas* canvas, const SkPicture* pic ture) SK_OVERRIDE; 146 virtual bool EXPERIMENTAL_drawPicture(SkCanvas* canvas, const SkPicture* pic ture,
147 const SkMatrix*, const SkPaint*) SK_OV ERRIDE;
147 148
148 private: 149 private:
149 GrContext* fContext; 150 GrContext* fContext;
150 151
151 GrSkDrawProcs* fDrawProcs; 152 GrSkDrawProcs* fDrawProcs;
152 153
153 GrClipData fClipData; 154 GrClipData fClipData;
154 155
155 GrTextContext* fMainTextContext; 156 GrTextContext* fMainTextContext;
156 GrTextContext* fFallbackTextContext; 157 GrTextContext* fFallbackTextContext;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 bool bicubic); 215 bool bicubic);
215 216
216 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); 217 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint);
217 218
218 static SkPicture::AccelData::Key ComputeAccelDataKey(); 219 static SkPicture::AccelData::Key ComputeAccelDataKey();
219 220
220 typedef SkBaseDevice INHERITED; 221 typedef SkBaseDevice INHERITED;
221 }; 222 };
222 223
223 #endif 224 #endif
OLDNEW
« no previous file with comments | « include/core/SkDevice.h ('k') | include/utils/SkDeferredCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698