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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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, | 100 virtual void drawTextOnPath(const SkDraw&, const void* text, size_t len, |
101 const SkPath& path, const SkMatrix* matrix, | 101 const SkPath& path, const SkMatrix* matrix, |
102 const SkPaint&) SK_OVERRIDE; | 102 SK_SUPPORT_LEGACY_DRAWTEXTONPATH_PARAM const SkP
aint&) SK_OVERRIDE; |
103 virtual void drawVertices(const SkDraw&, SkCanvas::VertexMode, int vertexCou
nt, | 103 virtual void drawVertices(const SkDraw&, SkCanvas::VertexMode, int vertexCou
nt, |
104 const SkPoint verts[], const SkPoint texs[], | 104 const SkPoint verts[], const SkPoint texs[], |
105 const SkColor colors[], SkXfermode* xmode, | 105 const SkColor colors[], SkXfermode* xmode, |
106 const uint16_t indices[], int indexCount, | 106 const uint16_t indices[], int indexCount, |
107 const SkPaint&) SK_OVERRIDE; | 107 const SkPaint&) SK_OVERRIDE; |
108 virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, | 108 virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, |
109 const SkPaint&) SK_OVERRIDE; | 109 const SkPaint&) SK_OVERRIDE; |
110 | 110 |
111 void flush() SK_OVERRIDE; | 111 void flush() SK_OVERRIDE; |
112 | 112 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 bool bicubic); | 199 bool bicubic); |
200 | 200 |
201 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); | 201 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); |
202 | 202 |
203 static SkPicture::AccelData::Key ComputeAccelDataKey(); | 203 static SkPicture::AccelData::Key ComputeAccelDataKey(); |
204 | 204 |
205 typedef SkBaseDevice INHERITED; | 205 typedef SkBaseDevice INHERITED; |
206 }; | 206 }; |
207 | 207 |
208 #endif | 208 #endif |
OLD | NEW |