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

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

Issue 1015173002: Let text contexts fall back directly to paths (Closed) Base URL: https://skia.googlesource.com/skia.git@text-blob-to-context
Patch Set: move createTextContext to private Created 5 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
« no previous file with comments | « src/gpu/GrTextContext.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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 const SkMatrix& origViewMatrix, const SkMatrix* prePat hMatrix, 203 const SkMatrix& origViewMatrix, const SkMatrix* prePat hMatrix,
204 const SkIRect& clipBounds, bool pathIsMutable); 204 const SkIRect& clipBounds, bool pathIsMutable);
205 205
206 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); 206 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint);
207 207
208 static SkPicture::AccelData::Key ComputeAccelDataKey(); 208 static SkPicture::AccelData::Key ComputeAccelDataKey();
209 209
210 static GrRenderTarget* CreateRenderTarget(GrContext*, SkSurface::Budgeted, c onst SkImageInfo&, 210 static GrRenderTarget* CreateRenderTarget(GrContext*, SkSurface::Budgeted, c onst SkImageInfo&,
211 int sampleCount); 211 int sampleCount);
212 212
213 friend class GrTextContext;
213 typedef SkBaseDevice INHERITED; 214 typedef SkBaseDevice INHERITED;
214 }; 215 };
215 216
216 #endif 217 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrTextContext.cpp ('k') | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698