| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 "SampleCode.h" | 8 #include "SampleCode.h" |
| 9 #include "SkAnimTimer.h" | 9 #include "SkAnimTimer.h" |
| 10 #include "SkView.h" | 10 #include "SkView.h" |
| 11 #include "SkCanvas.h" | 11 #include "SkCanvas.h" |
| 12 #include "SkGradientShader.h" | 12 #include "SkGradientShader.h" |
| 13 #include "SkGraphics.h" | 13 #include "SkGraphics.h" |
| 14 #include "SkImageDecoder.h" | |
| 15 #include "SkPath.h" | 14 #include "SkPath.h" |
| 16 #include "SkRegion.h" | 15 #include "SkRegion.h" |
| 17 #include "SkShader.h" | 16 #include "SkShader.h" |
| 18 #include "SkUtils.h" | 17 #include "SkUtils.h" |
| 19 #include "SkXfermode.h" | 18 #include "SkXfermode.h" |
| 20 #include "SkColorPriv.h" | 19 #include "SkColorPriv.h" |
| 21 #include "SkColorFilter.h" | 20 #include "SkColorFilter.h" |
| 22 #include "SkTime.h" | 21 #include "SkTime.h" |
| 23 #include "SkTypeface.h" | 22 #include "SkTypeface.h" |
| 24 | 23 |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 private: | 243 private: |
| 245 typedef SampleView INHERITED; | 244 typedef SampleView INHERITED; |
| 246 }; | 245 }; |
| 247 | 246 |
| 248 ////////////////////////////////////////////////////////////////////////////// | 247 ////////////////////////////////////////////////////////////////////////////// |
| 249 | 248 |
| 250 static SkView* F0() { return new BitmapRectView; } | 249 static SkView* F0() { return new BitmapRectView; } |
| 251 static SkView* F1() { return new BitmapRectView2; } | 250 static SkView* F1() { return new BitmapRectView2; } |
| 252 static SkViewRegister gR0(F0); | 251 static SkViewRegister gR0(F0); |
| 253 static SkViewRegister gR1(F1); | 252 static SkViewRegister gR1(F1); |
| OLD | NEW |