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

Side by Side Diff: dm/DMSrcSink.h

Issue 2120333002: deferred canvas (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: override drawTextRSXform Created 4 years, 5 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 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 explicit ViaSerialization(Sink* sink) : Via(sink) {} 384 explicit ViaSerialization(Sink* sink) : Via(sink) {}
385 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 385 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
386 }; 386 };
387 387
388 class ViaPicture : public Via { 388 class ViaPicture : public Via {
389 public: 389 public:
390 explicit ViaPicture(Sink* sink) : Via(sink) {} 390 explicit ViaPicture(Sink* sink) : Via(sink) {}
391 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 391 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
392 }; 392 };
393 393
394 class ViaDefer : public Via {
395 public:
396 explicit ViaDefer(Sink* sink) : Via(sink) {}
397 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
398 };
399
394 class ViaTiles : public Via { 400 class ViaTiles : public Via {
395 public: 401 public:
396 ViaTiles(int w, int h, SkBBHFactory*, Sink*); 402 ViaTiles(int w, int h, SkBBHFactory*, Sink*);
397 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 403 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
398 private: 404 private:
399 const int fW, fH; 405 const int fW, fH;
400 SkAutoTDelete<SkBBHFactory> fFactory; 406 SkAutoTDelete<SkBBHFactory> fFactory;
401 }; 407 };
402 408
403 class ViaSecondPicture : public Via { 409 class ViaSecondPicture : public Via {
(...skipping 16 matching lines...) Expand all
420 426
421 class ViaMojo : public Via { 427 class ViaMojo : public Via {
422 public: 428 public:
423 explicit ViaMojo(Sink* sink) : Via(sink) {} 429 explicit ViaMojo(Sink* sink) : Via(sink) {}
424 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 430 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
425 }; 431 };
426 432
427 } // namespace DM 433 } // namespace DM
428 434
429 #endif//DMSrcSink_DEFINED 435 #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