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

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

Issue 1112523006: Sketch splitting SkPicture into an interface and SkBigPicture. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweaks Created 5 years, 7 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
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 #ifndef SkGpuDevice_DEFINED 9 #ifndef SkGpuDevice_DEFINED
10 #define SkGpuDevice_DEFINED 10 #define SkGpuDevice_DEFINED
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 SkCanvas::DrawBitmapRectFlags flags, 207 SkCanvas::DrawBitmapRectFlags flags,
208 int tileSize, 208 int tileSize,
209 bool bicubic); 209 bool bicubic);
210 210
211 void internalDrawPath(const SkPath& origSrcPath, const SkPaint& paint, 211 void internalDrawPath(const SkPath& origSrcPath, const SkPaint& paint,
212 const SkMatrix& origViewMatrix, const SkMatrix* prePat hMatrix, 212 const SkMatrix& origViewMatrix, const SkMatrix* prePat hMatrix,
213 const SkIRect& clipBounds, bool pathIsMutable); 213 const SkIRect& clipBounds, bool pathIsMutable);
214 214
215 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); 215 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint);
216 216
217 static SkPicture::AccelData::Key ComputeAccelDataKey();
218
219 static GrRenderTarget* CreateRenderTarget(GrContext*, SkSurface::Budgeted, c onst SkImageInfo&, 217 static GrRenderTarget* CreateRenderTarget(GrContext*, SkSurface::Budgeted, c onst SkImageInfo&,
220 int sampleCount); 218 int sampleCount);
221 219
222 friend class GrAtlasTextContext; 220 friend class GrAtlasTextContext;
223 friend class GrTextContext; 221 friend class GrTextContext;
224 typedef SkBaseDevice INHERITED; 222 typedef SkBaseDevice INHERITED;
225 }; 223 };
226 224
227 #endif 225 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698