OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 #include "gm.h" | 8 #include "gm.h" |
9 #include "SkBlurMask.h" | 9 #include "SkBlurMask.h" |
10 #include "SkBlurMaskFilter.h" | 10 #include "SkBlurMaskFilter.h" |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 } | 104 } |
105 | 105 |
106 private: | 106 private: |
107 static const int kCloseUpSize = 64; | 107 static const int kCloseUpSize = 64; |
108 static const int kWidth = 5 * kCloseUpSize; | 108 static const int kWidth = 5 * kCloseUpSize; |
109 static const int kHeight = 2 * (kLastEnum_SkBlurStyle + 1) * kCloseUpSize; | 109 static const int kHeight = 2 * (kLastEnum_SkBlurStyle + 1) * kCloseUpSize; |
110 | 110 |
111 typedef GM INHERITED; | 111 typedef GM INHERITED; |
112 }; | 112 }; |
113 | 113 |
114 DEF_GM( return SkNEW(BigBlursGM); ) | 114 DEF_GM(return new BigBlursGM;) |
115 | |
116 } | 115 } |
OLD | NEW |