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

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

Issue 1130333002: Revert of Sketch splitting SkPicture into an interface and SkBigPicture. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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
« no previous file with comments | « src/gpu/GrRecordReplaceDraw.cpp ('k') | src/gpu/SkGpuDevice.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 #ifndef SkGpuDevice_DEFINED 9 #ifndef SkGpuDevice_DEFINED
10 #define SkGpuDevice_DEFINED 10 #define SkGpuDevice_DEFINED
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 SkCanvas::DrawBitmapRectFlags flags, 210 SkCanvas::DrawBitmapRectFlags flags,
211 int tileSize, 211 int tileSize,
212 bool bicubic); 212 bool bicubic);
213 213
214 void internalDrawPath(const SkPath& origSrcPath, const SkPaint& paint, 214 void internalDrawPath(const SkPath& origSrcPath, const SkPaint& paint,
215 const SkMatrix& origViewMatrix, const SkMatrix* prePat hMatrix, 215 const SkMatrix& origViewMatrix, const SkMatrix* prePat hMatrix,
216 const SkIRect& clipBounds, bool pathIsMutable); 216 const SkIRect& clipBounds, bool pathIsMutable);
217 217
218 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); 218 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint);
219 219
220 static SkPicture::AccelData::Key ComputeAccelDataKey();
221
220 static GrRenderTarget* CreateRenderTarget(GrContext*, SkSurface::Budgeted, c onst SkImageInfo&, 222 static GrRenderTarget* CreateRenderTarget(GrContext*, SkSurface::Budgeted, c onst SkImageInfo&,
221 int sampleCount); 223 int sampleCount);
222 224
223 friend class GrAtlasTextContext; 225 friend class GrAtlasTextContext;
224 friend class GrTextContext; 226 friend class GrTextContext;
225 typedef SkBaseDevice INHERITED; 227 typedef SkBaseDevice INHERITED;
226 }; 228 };
227 229
228 #endif 230 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrRecordReplaceDraw.cpp ('k') | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698