| 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 #include "gm.h" | 8 #include "gm.h" |
| 9 #include "SkBlurMask.h" | 9 #include "SkBlurMask.h" |
| 10 #include "SkBlurMaskFilter.h" | 10 #include "SkBlurMaskFilter.h" |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 canvas->drawBitmapRect(bm, &srcRect, dstRect, &paint); | 171 canvas->drawBitmapRect(bm, &srcRect, dstRect, &paint); |
| 172 } | 172 } |
| 173 } | 173 } |
| 174 | 174 |
| 175 private: | 175 private: |
| 176 typedef GM INHERITED; | 176 typedef GM INHERITED; |
| 177 }; | 177 }; |
| 178 | 178 |
| 179 ////////////////////////////////////////////////////////////////////////////// | 179 ////////////////////////////////////////////////////////////////////////////// |
| 180 | 180 |
| 181 #ifndef SK_BUILD_FOR_ANDROID | |
| 182 static GM* MyFactory(void*) { return new DrawBitmapRectGM; } | 181 static GM* MyFactory(void*) { return new DrawBitmapRectGM; } |
| 183 static GMRegistry reg(MyFactory); | 182 static GMRegistry reg(MyFactory); |
| 184 #endif | |
| 185 } | 183 } |
| OLD | NEW |