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

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

Issue 511613002: Convert BBH APIs to use SkRect. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: another in BBH test Created 6 years, 3 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/SkPicture.h ('k') | src/core/SkBBoxHierarchy.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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « include/core/SkPicture.h ('k') | src/core/SkBBoxHierarchy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698