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

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

Issue 2164763003: remove dead methods now that we use specials exclusively for imagefilters (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove internal_getBM/fromBM Created 4 years, 5 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/core/SkSpecialImage.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 * Copyright 2010 Google Inc. 2 * Copyright 2010 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkGpuDevice_DEFINED 8 #ifndef SkGpuDevice_DEFINED
9 #define SkGpuDevice_DEFINED 9 #define SkGpuDevice_DEFINED
10 10
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 262
263 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); 263 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint);
264 void drawStrokedLine(const SkPoint pts[2], const SkDraw&, const SkPaint&); 264 void drawStrokedLine(const SkPoint pts[2], const SkDraw&, const SkPaint&);
265 265
266 static sk_sp<GrDrawContext> CreateDrawContext(GrContext*, 266 static sk_sp<GrDrawContext> CreateDrawContext(GrContext*,
267 SkBudgeted, 267 SkBudgeted,
268 const SkImageInfo&, 268 const SkImageInfo&,
269 int sampleCount, 269 int sampleCount,
270 const SkSurfaceProps*); 270 const SkSurfaceProps*);
271 271
272 void drawSpriteWithFilter(const SkDraw&, const SkBitmap&, int x, int y,
273 const SkPaint&) override;
274
275 friend class GrAtlasTextContext; 272 friend class GrAtlasTextContext;
276 friend class SkSurface_Gpu; // for access to surfaceProps 273 friend class SkSurface_Gpu; // for access to surfaceProps
277 typedef SkBaseDevice INHERITED; 274 typedef SkBaseDevice INHERITED;
278 }; 275 };
279 276
280 #endif 277 #endif
OLDNEW
« no previous file with comments | « src/core/SkSpecialImage.cpp ('k') | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698