| 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 |
| 10 #include "Resources.h" |
| 9 #include "SampleCode.h" | 11 #include "SampleCode.h" |
| 10 #include "SkBlurMask.h" | 12 #include "SkBlurMask.h" |
| 11 #include "SkBlurDrawLooper.h" | 13 #include "SkBlurDrawLooper.h" |
| 12 #include "SkCanvas.h" | 14 #include "SkCanvas.h" |
| 13 #include "SkColorPriv.h" | 15 #include "SkColorPriv.h" |
| 14 #include "SkForceLinking.h" | 16 #include "SkForceLinking.h" |
| 15 #include "SkImageDecoder.h" | 17 #include "SkImageDecoder.h" |
| 16 #include "SkOSFile.h" | 18 #include "SkOSFile.h" |
| 17 #include "SkStream.h" | 19 #include "SkStream.h" |
| 18 #include "SkString.h" | 20 #include "SkString.h" |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 fPremul = !fPremul; | 194 fPremul = !fPremul; |
| 193 this->decodeCurrFile(); | 195 this->decodeCurrFile(); |
| 194 } | 196 } |
| 195 | 197 |
| 196 typedef SampleView INHERITED; | 198 typedef SampleView INHERITED; |
| 197 }; | 199 }; |
| 198 | 200 |
| 199 ////////////////////////////////////////////////////////////////////////////// | 201 ////////////////////////////////////////////////////////////////////////////// |
| 200 | 202 |
| 201 static SkView* MyFactory() { | 203 static SkView* MyFactory() { |
| 202 return new UnpremulView(skiagm::GM::GetResourcePath()); | 204 return new UnpremulView(GetResourcePath()); |
| 203 } | 205 } |
| 204 static SkViewRegister reg(MyFactory); | 206 static SkViewRegister reg(MyFactory); |
| OLD | NEW |