OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2014 Google Inc. | 3 * Copyright 2014 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 "GrBatchFlushState.h" | |
16 #include "GrContext.h" | 15 #include "GrContext.h" |
17 #include "GrDefaultGeoProcFactory.h" | 16 #include "GrDefaultGeoProcFactory.h" |
18 #include "GrPathUtils.h" | 17 #include "GrPathUtils.h" |
19 #include "GrTest.h" | 18 #include "GrTest.h" |
20 #include "SkColorPriv.h" | 19 #include "SkColorPriv.h" |
21 #include "SkDevice.h" | 20 #include "SkDevice.h" |
22 #include "SkGeometry.h" | 21 #include "SkGeometry.h" |
23 #include "SkTLList.h" | 22 #include "SkTLList.h" |
24 | 23 |
25 #include "batches/GrTestBatch.h" | 24 #include "batches/GrTestBatch.h" |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 SkTLList<SkPath> fPaths; | 271 SkTLList<SkPath> fPaths; |
273 SkTLList<SkRect> fRects; | 272 SkTLList<SkRect> fRects; |
274 | 273 |
275 typedef GM INHERITED; | 274 typedef GM INHERITED; |
276 }; | 275 }; |
277 | 276 |
278 DEF_GM(return new ConvexPolyEffect;) | 277 DEF_GM(return new ConvexPolyEffect;) |
279 } | 278 } |
280 | 279 |
281 #endif | 280 #endif |
OLD | NEW |