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" | 9 #include "TestClassDef.h" |
10 #include "SkBitmap.h" | 10 #include "SkBitmap.h" |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 SkColorFilter* cf = SkColorFilter::CreateLightingFilter(SK_ColorBLUE, | 77 SkColorFilter* cf = SkColorFilter::CreateLightingFilter(SK_ColorBLUE, |
78 SK_ColorRED); | 78 SK_ColorRED); |
79 SkAutoUnref aurcf(cf); | 79 SkAutoUnref aurcf(cf); |
80 testCreate(reporter, cf, &flattenFlattenableProc); | 80 testCreate(reporter, cf, &flattenFlattenableProc); |
81 | 81 |
82 // Test SkXfermode | 82 // Test SkXfermode |
83 SkXfermode* xfer = SkXfermode::Create(SkXfermode::kDstOver_Mode); | 83 SkXfermode* xfer = SkXfermode::Create(SkXfermode::kDstOver_Mode); |
84 SkAutoUnref aurxf(xfer); | 84 SkAutoUnref aurxf(xfer); |
85 testCreate(reporter, xfer, &flattenFlattenableProc); | 85 testCreate(reporter, xfer, &flattenFlattenableProc); |
86 } | 86 } |
87 | |
OLD | NEW |