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

Side by Side Diff: dm/DMSrcSink.h

Issue 1774013002: Archive SkRemote-related code. I want to start fresh. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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 | « dm/DM.cpp ('k') | dm/DMSrcSink.cpp » ('j') | no next file with comments »
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 DMSrcSink_DEFINED 8 #ifndef DMSrcSink_DEFINED
9 #define DMSrcSink_DEFINED 9 #define DMSrcSink_DEFINED
10 10
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 }; 303 };
304 304
305 class ViaUpright : public Via { 305 class ViaUpright : public Via {
306 public: 306 public:
307 ViaUpright(SkMatrix, Sink*); 307 ViaUpright(SkMatrix, Sink*);
308 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 308 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
309 private: 309 private:
310 const SkMatrix fMatrix; 310 const SkMatrix fMatrix;
311 }; 311 };
312 312
313 class ViaRemote : public Via {
314 public:
315 ViaRemote(bool cache, Sink* sink) : Via(sink), fCache(cache) {}
316 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
317 private:
318 bool fCache;
319 };
320
321 class ViaSerialization : public Via { 313 class ViaSerialization : public Via {
322 public: 314 public:
323 explicit ViaSerialization(Sink* sink) : Via(sink) {} 315 explicit ViaSerialization(Sink* sink) : Via(sink) {}
324 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 316 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
325 }; 317 };
326 318
327 class ViaPicture : public Via { 319 class ViaPicture : public Via {
328 public: 320 public:
329 explicit ViaPicture(Sink* sink) : Via(sink) {} 321 explicit ViaPicture(Sink* sink) : Via(sink) {}
330 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 322 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
(...skipping 28 matching lines...) Expand all
359 351
360 class ViaMojo : public Via { 352 class ViaMojo : public Via {
361 public: 353 public:
362 explicit ViaMojo(Sink* sink) : Via(sink) {} 354 explicit ViaMojo(Sink* sink) : Via(sink) {}
363 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 355 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
364 }; 356 };
365 357
366 } // namespace DM 358 } // namespace DM
367 359
368 #endif//DMSrcSink_DEFINED 360 #endif//DMSrcSink_DEFINED
OLDNEW
« no previous file with comments | « dm/DM.cpp ('k') | dm/DMSrcSink.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698