OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2013 Google Inc. | 3 * Copyright 2013 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 | 8 |
9 // This test only works with the GPU backend. | 9 // This test only works with the GPU backend. |
10 | 10 |
11 #include "gm.h" | 11 #include "gm.h" |
12 | 12 |
13 #if SK_SUPPORT_GPU | 13 #if SK_SUPPORT_GPU |
14 | 14 |
15 #include "GrBatchTarget.h" | 15 #include "GrBatchTarget.h" |
16 #include "GrBufferAllocPool.h" | |
17 #include "GrContext.h" | 16 #include "GrContext.h" |
18 #include "GrPathUtils.h" | 17 #include "GrPathUtils.h" |
19 #include "GrTest.h" | 18 #include "GrTest.h" |
20 #include "GrTestBatch.h" | 19 #include "GrTestBatch.h" |
21 #include "SkColorPriv.h" | 20 #include "SkColorPriv.h" |
22 #include "SkDevice.h" | 21 #include "SkDevice.h" |
23 #include "SkGeometry.h" | 22 #include "SkGeometry.h" |
24 | 23 |
25 #include "effects/GrBezierEffect.h" | 24 #include "effects/GrBezierEffect.h" |
26 | 25 |
(...skipping 588 matching lines...) Loading... |
615 typedef GM INHERITED; | 614 typedef GM INHERITED; |
616 }; | 615 }; |
617 | 616 |
618 DEF_GM( return SkNEW(BezierCubicEffects); ) | 617 DEF_GM( return SkNEW(BezierCubicEffects); ) |
619 DEF_GM( return SkNEW(BezierConicEffects); ) | 618 DEF_GM( return SkNEW(BezierConicEffects); ) |
620 DEF_GM( return SkNEW(BezierQuadEffects); ) | 619 DEF_GM( return SkNEW(BezierQuadEffects); ) |
621 | 620 |
622 } | 621 } |
623 | 622 |
624 #endif | 623 #endif |
OLD | NEW |