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

Side by Side Diff: dm/DMSrcSink.h

Issue 1391023005: SkRemote (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: hal 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 | « 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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 private: 297 private:
298 const SkMatrix fMatrix; 298 const SkMatrix fMatrix;
299 }; 299 };
300 300
301 class ViaPipe : public Via { 301 class ViaPipe : public Via {
302 public: 302 public:
303 explicit ViaPipe(Sink* sink) : Via(sink) {} 303 explicit ViaPipe(Sink* sink) : Via(sink) {}
304 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 304 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
305 }; 305 };
306 306
307 class ViaDeferred : public Via { 307 class ViaRemote : public Via {
308 public: 308 public:
309 explicit ViaDeferred(Sink* sink) : Via(sink) {} 309 ViaRemote(bool cache, Sink* sink) : Via(sink), fCache(cache) {}
310 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 310 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
311 private:
312 bool fCache;
311 }; 313 };
312 314
313 class ViaSerialization : public Via { 315 class ViaSerialization : public Via {
314 public: 316 public:
315 explicit ViaSerialization(Sink* sink) : Via(sink) {} 317 explicit ViaSerialization(Sink* sink) : Via(sink) {}
316 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 318 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
317 }; 319 };
318 320
319 class ViaTiles : public Via { 321 class ViaTiles : public Via {
320 public: 322 public:
(...skipping 18 matching lines...) Expand all
339 341
340 class ViaTwice : public Via { 342 class ViaTwice : public Via {
341 public: 343 public:
342 explicit ViaTwice(Sink* sink) : Via(sink) {} 344 explicit ViaTwice(Sink* sink) : Via(sink) {}
343 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 345 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
344 }; 346 };
345 347
346 } // namespace DM 348 } // namespace DM
347 349
348 #endif//DMSrcSink_DEFINED 350 #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