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 "Test.h" | 8 #include "Test.h" |
9 #include "SkColorPriv.h" | 9 #include "SkColorPriv.h" |
10 #include "SkXfermode.h" | 10 #include "SkXfermode.h" |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 if (r1 != r2) { | 69 if (r1 != r2) { |
70 SkDebugf("--- dst=%d i=%d r1=%d r2=%d exact=%g\n", | 70 SkDebugf("--- dst=%d i=%d r1=%d r2=%d exact=%g\n", |
71 dst, i, r1, r2, i + dst - dst*i/255.0f); | 71 dst, i, r1, r2, i + dst - dst*i/255.0f); |
72 } | 72 } |
73 #endif | 73 #endif |
74 } | 74 } |
75 } | 75 } |
76 } | 76 } |
77 | 77 |
78 #include "TestClassDef.h" | 78 #include "TestClassDef.h" |
79 DEFINE_TESTCLASS("SrcOver", SrcOverTestClass, test_srcover_hack) | 79 DEFINE_TESTCLASS_SHORT(test_srcover_hack) |
OLD | NEW |