OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 SkRemote_DEFINED | 8 #ifndef SkRemote_DEFINED |
9 #define SkRemote_DEFINED | 9 #define SkRemote_DEFINED |
10 | 10 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 void didRestore() override; | 86 void didRestore() override; |
87 | 87 |
88 void didConcat(const SkMatrix&) override; | 88 void didConcat(const SkMatrix&) override; |
89 void didSetMatrix(const SkMatrix&) override; | 89 void didSetMatrix(const SkMatrix&) override; |
90 | 90 |
91 void onClipPath (const SkPath&, SkRegion::Op, ClipEdgeStyle) override; | 91 void onClipPath (const SkPath&, SkRegion::Op, ClipEdgeStyle) override; |
92 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; | 92 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; |
93 void onClipRect (const SkRect&, SkRegion::Op, ClipEdgeStyle) override; | 93 void onClipRect (const SkRect&, SkRegion::Op, ClipEdgeStyle) override; |
94 | 94 |
95 void onDrawOval(const SkRect&, const SkPaint&) override; | 95 void onDrawOval(const SkRect&, const SkPaint&) override; |
| 96 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) overri
de; |
96 void onDrawPath(const SkPath&, const SkPaint&) override; | 97 void onDrawPath(const SkPath&, const SkPaint&) override; |
97 void onDrawRect(const SkRect&, const SkPaint&) override; | 98 void onDrawRect(const SkRect&, const SkPaint&) override; |
98 void onDrawPaint(const SkPaint&) override; | 99 void onDrawPaint(const SkPaint&) override; |
99 | 100 |
100 Cache* fCache; | 101 Cache* fCache; |
101 Encoder* fEncoder; | 102 Encoder* fEncoder; |
102 }; | 103 }; |
103 | 104 |
104 // TODO: document | 105 // TODO: document |
105 class Server final : public Encoder { | 106 class Server final : public Encoder { |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 IDMap<Misc , Type::kMisc > fMisc; | 152 IDMap<Misc , Type::kMisc > fMisc; |
152 IDMap<SkPath , Type::kPath > fPath; | 153 IDMap<SkPath , Type::kPath > fPath; |
153 IDMap<Stroke , Type::kStroke> fStroke; | 154 IDMap<Stroke , Type::kStroke> fStroke; |
154 | 155 |
155 SkCanvas* fCanvas; | 156 SkCanvas* fCanvas; |
156 }; | 157 }; |
157 | 158 |
158 } // namespace SkRemote | 159 } // namespace SkRemote |
159 | 160 |
160 #endif//SkRemote_DEFINED | 161 #endif//SkRemote_DEFINED |
OLD | NEW |