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

Side by Side Diff: include/core/SkDrawLooper.h

Issue 134163010: Refactor read and write buffers. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: original write flags were fine Created 6 years, 10 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
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2011 The Android Open Source Project 3 * Copyright 2011 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkDrawLooper_DEFINED 10 #ifndef SkDrawLooper_DEFINED
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 */ 61 */
62 virtual bool canComputeFastBounds(const SkPaint& paint); 62 virtual bool canComputeFastBounds(const SkPaint& paint);
63 virtual void computeFastBounds(const SkPaint& paint, 63 virtual void computeFastBounds(const SkPaint& paint,
64 const SkRect& src, SkRect* dst); 64 const SkRect& src, SkRect* dst);
65 65
66 SkDEVCODE(virtual void toString(SkString* str) const = 0;) 66 SkDEVCODE(virtual void toString(SkString* str) const = 0;)
67 SK_DEFINE_FLATTENABLE_TYPE(SkDrawLooper) 67 SK_DEFINE_FLATTENABLE_TYPE(SkDrawLooper)
68 68
69 protected: 69 protected:
70 SkDrawLooper() {} 70 SkDrawLooper() {}
71 SkDrawLooper(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {} 71 SkDrawLooper(SkReadBuffer& buffer) : INHERITED(buffer) {}
72 72
73 private: 73 private:
74 typedef SkFlattenable INHERITED; 74 typedef SkFlattenable INHERITED;
75 }; 75 };
76 76
77 #endif 77 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698