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

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

Issue 1826893002: Switch new SkImageFilter internal methods over to sk_sp (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Change method name to drawSpriteWithFilter Created 4 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/GrLayerHoister.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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 const SkRRect& inner, const SkPaint& paint); 255 const SkRRect& inner, const SkPaint& paint);
256 256
257 void drawProducerNine(const SkDraw&, GrTextureProducer*, const SkIRect& cent er, 257 void drawProducerNine(const SkDraw&, GrTextureProducer*, const SkIRect& cent er,
258 const SkRect& dst, const SkPaint&); 258 const SkRect& dst, const SkPaint&);
259 259
260 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); 260 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint);
261 261
262 static GrRenderTarget* CreateRenderTarget(GrContext*, SkBudgeted, const SkIm ageInfo&, 262 static GrRenderTarget* CreateRenderTarget(GrContext*, SkBudgeted, const SkIm ageInfo&,
263 int sampleCount, GrTextureStorageA llocator); 263 int sampleCount, GrTextureStorageA llocator);
264 264
265 void drawBitmapAsSpriteWithImageFilter(const SkDraw&, const SkBitmap&, int x , int y, 265 void drawSpriteWithFilter(const SkDraw&, const SkBitmap&, int x, int y,
266 const SkPaint&) override; 266 const SkPaint&) override;
267 267
268 friend class GrAtlasTextContext; 268 friend class GrAtlasTextContext;
269 friend class SkSurface_Gpu; // for access to surfaceProps 269 friend class SkSurface_Gpu; // for access to surfaceProps
270 typedef SkBaseDevice INHERITED; 270 typedef SkBaseDevice INHERITED;
271 }; 271 };
272 272
273 #endif 273 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrLayerHoister.cpp ('k') | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698