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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 void didConcat(const SkMatrix&) override; | 103 void didConcat(const SkMatrix&) override; |
104 void didSetMatrix(const SkMatrix&) override; | 104 void didSetMatrix(const SkMatrix&) override; |
105 | 105 |
106 void onClipPath (const SkPath&, SkRegion::Op, ClipEdgeStyle) override; | 106 void onClipPath (const SkPath&, SkRegion::Op, ClipEdgeStyle) override; |
107 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; | 107 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; |
108 void onClipRect (const SkRect&, SkRegion::Op, ClipEdgeStyle) override; | 108 void onClipRect (const SkRect&, SkRegion::Op, ClipEdgeStyle) override; |
109 | 109 |
110 void onDrawOval(const SkRect&, const SkPaint&) override; | 110 void onDrawOval(const SkRect&, const SkPaint&) override; |
111 void onDrawPath(const SkPath&, const SkPaint&) override; | 111 void onDrawPath(const SkPath&, const SkPaint&) override; |
112 void onDrawRect(const SkRect&, const SkPaint&) override; | 112 void onDrawRect(const SkRect&, const SkPaint&) override; |
| 113 void onDrawPaint(const SkPaint&) override; |
113 | 114 |
114 Cache* fCache; | 115 Cache* fCache; |
115 Encoder* fEncoder; | 116 Encoder* fEncoder; |
116 }; | 117 }; |
117 | 118 |
118 // TODO: document | 119 // TODO: document |
119 class Server final : public Encoder { | 120 class Server final : public Encoder { |
120 public: | 121 public: |
121 explicit Server(SkCanvas*); | 122 explicit Server(SkCanvas*); |
122 | 123 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 IDMap<Misc , Type::kMisc > fMisc; | 166 IDMap<Misc , Type::kMisc > fMisc; |
166 IDMap<SkPath , Type::kPath > fPath; | 167 IDMap<SkPath , Type::kPath > fPath; |
167 IDMap<Stroke , Type::kStroke> fStroke; | 168 IDMap<Stroke , Type::kStroke> fStroke; |
168 | 169 |
169 SkCanvas* fCanvas; | 170 SkCanvas* fCanvas; |
170 }; | 171 }; |
171 | 172 |
172 } // namespace SkRemote | 173 } // namespace SkRemote |
173 | 174 |
174 #endif//SkRemote_DEFINED | 175 #endif//SkRemote_DEFINED |
OLD | NEW |