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

Side by Side Diff: dm/DMSrcSink.h

Issue 1569823006: DM: more invariants (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: run twice-8888 and 2ndpic-8888 on some bots Created 4 years, 11 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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 private: 322 private:
323 bool fCache; 323 bool fCache;
324 }; 324 };
325 325
326 class ViaSerialization : public Via { 326 class ViaSerialization : public Via {
327 public: 327 public:
328 explicit ViaSerialization(Sink* sink) : Via(sink) {} 328 explicit ViaSerialization(Sink* sink) : Via(sink) {}
329 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 329 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
330 }; 330 };
331 331
332 class ViaPicture : public Via {
333 public:
334 explicit ViaPicture(Sink* sink) : Via(sink) {}
335 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
336 };
337
332 class ViaTiles : public Via { 338 class ViaTiles : public Via {
333 public: 339 public:
334 ViaTiles(int w, int h, SkBBHFactory*, Sink*); 340 ViaTiles(int w, int h, SkBBHFactory*, Sink*);
335 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 341 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
336 private: 342 private:
337 const int fW, fH; 343 const int fW, fH;
338 SkAutoTDelete<SkBBHFactory> fFactory; 344 SkAutoTDelete<SkBBHFactory> fFactory;
339 }; 345 };
340 346
341 class ViaSecondPicture : public Via { 347 class ViaSecondPicture : public Via {
(...skipping 10 matching lines...) Expand all
352 358
353 class ViaTwice : public Via { 359 class ViaTwice : public Via {
354 public: 360 public:
355 explicit ViaTwice(Sink* sink) : Via(sink) {} 361 explicit ViaTwice(Sink* sink) : Via(sink) {}
356 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 362 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
357 }; 363 };
358 364
359 } // namespace DM 365 } // namespace DM
360 366
361 #endif//DMSrcSink_DEFINED 367 #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