OLD | NEW |
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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 const SkRect* srcOrNull, const SkRect& dst, | 90 const SkRect* srcOrNull, const SkRect& dst, |
91 const SkPaint& paint, | 91 const SkPaint& paint, |
92 SkCanvas::DrawBitmapRectFlags flags) SK_OVERRIDE
; | 92 SkCanvas::DrawBitmapRectFlags flags) SK_OVERRIDE
; |
93 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, | 93 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, |
94 int x, int y, const SkPaint& paint) SK_OVERRIDE; | 94 int x, int y, const SkPaint& paint) SK_OVERRIDE; |
95 virtual void drawText(const SkDraw&, const void* text, size_t len, | 95 virtual void drawText(const SkDraw&, const void* text, size_t len, |
96 SkScalar x, SkScalar y, const SkPaint&) SK_OVERRIDE; | 96 SkScalar x, SkScalar y, const SkPaint&) SK_OVERRIDE; |
97 virtual void drawPosText(const SkDraw&, const void* text, size_t len, | 97 virtual void drawPosText(const SkDraw&, const void* text, size_t len, |
98 const SkScalar pos[], int scalarsPerPos, | 98 const SkScalar pos[], int scalarsPerPos, |
99 const SkPoint& offset, const SkPaint&) SK_OVERRIDE; | 99 const SkPoint& offset, const SkPaint&) SK_OVERRIDE; |
100 virtual void drawTextOnPath(const SkDraw&, const void* text, size_t len, | |
101 const SkPath& path, const SkMatrix* matrix, | |
102 const SkPaint&) SK_OVERRIDE; | |
103 virtual void drawVertices(const SkDraw&, SkCanvas::VertexMode, int vertexCou
nt, | 100 virtual void drawVertices(const SkDraw&, SkCanvas::VertexMode, int vertexCou
nt, |
104 const SkPoint verts[], const SkPoint texs[], | 101 const SkPoint verts[], const SkPoint texs[], |
105 const SkColor colors[], SkXfermode* xmode, | 102 const SkColor colors[], SkXfermode* xmode, |
106 const uint16_t indices[], int indexCount, | 103 const uint16_t indices[], int indexCount, |
107 const SkPaint&) SK_OVERRIDE; | 104 const SkPaint&) SK_OVERRIDE; |
108 virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, | 105 virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, |
109 const SkPaint&) SK_OVERRIDE; | 106 const SkPaint&) SK_OVERRIDE; |
110 | 107 |
111 void flush() SK_OVERRIDE; | 108 void flush() SK_OVERRIDE; |
112 | 109 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 bool bicubic); | 196 bool bicubic); |
200 | 197 |
201 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); | 198 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); |
202 | 199 |
203 static SkPicture::AccelData::Key ComputeAccelDataKey(); | 200 static SkPicture::AccelData::Key ComputeAccelDataKey(); |
204 | 201 |
205 typedef SkBaseDevice INHERITED; | 202 typedef SkBaseDevice INHERITED; |
206 }; | 203 }; |
207 | 204 |
208 #endif | 205 #endif |
OLD | NEW |