OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 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 "Test.h" | 8 #include "Test.h" |
9 #include "TestClassDef.h" | |
10 #include "SkBitmap.h" | 9 #include "SkBitmap.h" |
11 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
12 #include "SkColor.h" | 11 #include "SkColor.h" |
13 #include "SkColorFilter.h" | 12 #include "SkColorFilter.h" |
14 #include "SkGradientShader.h" | 13 #include "SkGradientShader.h" |
15 #include "SkPaint.h" | 14 #include "SkPaint.h" |
16 #include "SkPictureFlat.h" | 15 #include "SkPictureFlat.h" |
17 #include "SkShader.h" | 16 #include "SkShader.h" |
18 #include "SkXfermode.h" | 17 #include "SkXfermode.h" |
19 | 18 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 } | 78 } |
80 | 79 |
81 // Test SkColorFilter | 80 // Test SkColorFilter |
82 SkAutoTUnref<SkColorFilter> cf(SkColorFilter::CreateLightingFilter(SK_ColorB
LUE, SK_ColorRED)); | 81 SkAutoTUnref<SkColorFilter> cf(SkColorFilter::CreateLightingFilter(SK_ColorB
LUE, SK_ColorRED)); |
83 testCreate<SkFlattenableTraits>(reporter, *cf); | 82 testCreate<SkFlattenableTraits>(reporter, *cf); |
84 | 83 |
85 // Test SkXfermode | 84 // Test SkXfermode |
86 SkAutoTUnref<SkXfermode> xfer(SkXfermode::Create(SkXfermode::kDstOver_Mode))
; | 85 SkAutoTUnref<SkXfermode> xfer(SkXfermode::Create(SkXfermode::kDstOver_Mode))
; |
87 testCreate<SkFlattenableTraits>(reporter, *xfer); | 86 testCreate<SkFlattenableTraits>(reporter, *xfer); |
88 } | 87 } |
OLD | NEW |