OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
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 #ifndef skiagm_DEFINED | 8 #ifndef skiagm_DEFINED |
9 #define skiagm_DEFINED | 9 #define skiagm_DEFINED |
10 | 10 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 virtual uint32_t onGetFlags() const { return 0; } | 104 virtual uint32_t onGetFlags() const { return 0; } |
105 virtual SkMatrix onGetInitialTransform() const { return SkMatrix::I(); } | 105 virtual SkMatrix onGetInitialTransform() const { return SkMatrix::I(); } |
106 | 106 |
107 private: | 107 private: |
108 SkString fShortName; | 108 SkString fShortName; |
109 SkColor fBGColor; | 109 SkColor fBGColor; |
110 bool fCanvasIsDeferred; // work-around problem in srcmode.cpp | 110 bool fCanvasIsDeferred; // work-around problem in srcmode.cpp |
111 bool fHaveCalledOnceBeforeDraw; | 111 bool fHaveCalledOnceBeforeDraw; |
112 }; | 112 }; |
113 | 113 |
114 typedef SkTRegistry<GM*, void*> GMRegistry; | 114 typedef SkTRegistry<GM*(*)(void*)> GMRegistry; |
115 } | 115 } |
116 | 116 |
117 #endif | 117 #endif |
OLD | NEW |