OLD | NEW |
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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 virtual void drawPoints(const SkDraw&, SkCanvas::PointMode mode, size_t coun
t, | 70 virtual void drawPoints(const SkDraw&, SkCanvas::PointMode mode, size_t coun
t, |
71 const SkPoint[], const SkPaint& paint) override; | 71 const SkPoint[], const SkPaint& paint) override; |
72 virtual void drawRect(const SkDraw&, const SkRect& r, | 72 virtual void drawRect(const SkDraw&, const SkRect& r, |
73 const SkPaint& paint) override; | 73 const SkPaint& paint) override; |
74 virtual void drawRRect(const SkDraw&, const SkRRect& r, | 74 virtual void drawRRect(const SkDraw&, const SkRRect& r, |
75 const SkPaint& paint) override; | 75 const SkPaint& paint) override; |
76 virtual void drawDRRect(const SkDraw& draw, const SkRRect& outer, | 76 virtual void drawDRRect(const SkDraw& draw, const SkRRect& outer, |
77 const SkRRect& inner, const SkPaint& paint) override
; | 77 const SkRRect& inner, const SkPaint& paint) override
; |
78 virtual void drawOval(const SkDraw&, const SkRect& oval, | 78 virtual void drawOval(const SkDraw&, const SkRect& oval, |
79 const SkPaint& paint) override; | 79 const SkPaint& paint) override; |
| 80 virtual void drawArc(const SkDraw&, const SkRect& oval, SkScalar startAngle, |
| 81 SkScalar sweepAngle, bool useCenter, const SkPaint& pai
nt) override; |
80 virtual void drawPath(const SkDraw&, const SkPath& path, | 82 virtual void drawPath(const SkDraw&, const SkPath& path, |
81 const SkPaint& paint, const SkMatrix* prePathMatrix, | 83 const SkPaint& paint, const SkMatrix* prePathMatrix, |
82 bool pathIsMutable) override; | 84 bool pathIsMutable) override; |
83 virtual void drawBitmap(const SkDraw&, const SkBitmap& bitmap, | 85 virtual void drawBitmap(const SkDraw&, const SkBitmap& bitmap, |
84 const SkMatrix&, const SkPaint&) override; | 86 const SkMatrix&, const SkPaint&) override; |
85 virtual void drawBitmapRect(const SkDraw&, const SkBitmap&, | 87 virtual void drawBitmapRect(const SkDraw&, const SkBitmap&, |
86 const SkRect* srcOrNull, const SkRect& dst, | 88 const SkRect* srcOrNull, const SkRect& dst, |
87 const SkPaint& paint, SkCanvas::SrcRectConstrain
t) override; | 89 const SkPaint& paint, SkCanvas::SrcRectConstrain
t) override; |
88 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, | 90 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, |
89 int x, int y, const SkPaint& paint) override; | 91 int x, int y, const SkPaint& paint) override; |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 int sampleCount, | 252 int sampleCount, |
251 GrSurfaceOrigin, | 253 GrSurfaceOrigin, |
252 const SkSurfaceProps*); | 254 const SkSurfaceProps*); |
253 | 255 |
254 friend class GrAtlasTextContext; | 256 friend class GrAtlasTextContext; |
255 friend class SkSurface_Gpu; // for access to surfaceProps | 257 friend class SkSurface_Gpu; // for access to surfaceProps |
256 typedef SkBaseDevice INHERITED; | 258 typedef SkBaseDevice INHERITED; |
257 }; | 259 }; |
258 | 260 |
259 #endif | 261 #endif |
OLD | NEW |