Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: src/core/SkRemote.h

Issue 1409253003: SkRemote: impl drawPaint() (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/core/SkRemote.cpp » ('j') | src/core/SkRemote.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | src/core/SkRemote.cpp » ('j') | src/core/SkRemote.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698