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

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

Issue 220233011: Implement drawDRRect for GPU (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rebase Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « include/gpu/GrContext.h ('k') | src/gpu/GrContext.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 9
10 10
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 virtual SkBitmap::Config config() const SK_OVERRIDE; 84 virtual SkBitmap::Config config() const SK_OVERRIDE;
85 85
86 virtual void clear(SkColor color) SK_OVERRIDE; 86 virtual void clear(SkColor color) SK_OVERRIDE;
87 virtual void drawPaint(const SkDraw&, const SkPaint& paint) SK_OVERRIDE; 87 virtual void drawPaint(const SkDraw&, const SkPaint& paint) SK_OVERRIDE;
88 virtual void drawPoints(const SkDraw&, SkCanvas::PointMode mode, size_t coun t, 88 virtual void drawPoints(const SkDraw&, SkCanvas::PointMode mode, size_t coun t,
89 const SkPoint[], const SkPaint& paint) SK_OVERRIDE; 89 const SkPoint[], const SkPaint& paint) SK_OVERRIDE;
90 virtual void drawRect(const SkDraw&, const SkRect& r, 90 virtual void drawRect(const SkDraw&, const SkRect& r,
91 const SkPaint& paint) SK_OVERRIDE; 91 const SkPaint& paint) SK_OVERRIDE;
92 virtual void drawRRect(const SkDraw&, const SkRRect& r, 92 virtual void drawRRect(const SkDraw&, const SkRRect& r,
93 const SkPaint& paint) SK_OVERRIDE; 93 const SkPaint& paint) SK_OVERRIDE;
94 virtual void drawDRRect(const SkDraw& draw, const SkRRect& outer,
95 const SkRRect& inner, const SkPaint& paint) SK_OVERR IDE;
94 virtual void drawOval(const SkDraw&, const SkRect& oval, 96 virtual void drawOval(const SkDraw&, const SkRect& oval,
95 const SkPaint& paint) SK_OVERRIDE; 97 const SkPaint& paint) SK_OVERRIDE;
96 virtual void drawPath(const SkDraw&, const SkPath& path, 98 virtual void drawPath(const SkDraw&, const SkPath& path,
97 const SkPaint& paint, const SkMatrix* prePathMatrix, 99 const SkPaint& paint, const SkMatrix* prePathMatrix,
98 bool pathIsMutable) SK_OVERRIDE; 100 bool pathIsMutable) SK_OVERRIDE;
99 virtual void drawBitmap(const SkDraw&, const SkBitmap& bitmap, 101 virtual void drawBitmap(const SkDraw&, const SkBitmap& bitmap,
100 const SkMatrix&, const SkPaint&) SK_OVERRIDE; 102 const SkMatrix&, const SkPaint&) SK_OVERRIDE;
101 virtual void drawBitmapRect(const SkDraw&, const SkBitmap&, 103 virtual void drawBitmapRect(const SkDraw&, const SkBitmap&,
102 const SkRect* srcOrNull, const SkRect& dst, 104 const SkRect* srcOrNull, const SkRect& dst,
103 const SkPaint& paint, 105 const SkPaint& paint,
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 SkCanvas::DrawBitmapRectFlags flags, 214 SkCanvas::DrawBitmapRectFlags flags,
213 int tileSize, 215 int tileSize,
214 bool bicubic); 216 bool bicubic);
215 217
216 static SkPicture::AccelData::Key ComputeAccelDataKey(); 218 static SkPicture::AccelData::Key ComputeAccelDataKey();
217 219
218 typedef SkBitmapDevice INHERITED; 220 typedef SkBitmapDevice INHERITED;
219 }; 221 };
220 222
221 #endif 223 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrContext.h ('k') | src/gpu/GrContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698