| 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 "GrBatchTarget.h" | 15 #include "GrBatchTarget.h" |
| 16 #include "GrBufferAllocPool.h" | |
| 17 #include "GrContext.h" | 16 #include "GrContext.h" |
| 18 #include "GrDefaultGeoProcFactory.h" | 17 #include "GrDefaultGeoProcFactory.h" |
| 19 #include "GrPathUtils.h" | 18 #include "GrPathUtils.h" |
| 20 #include "GrTest.h" | 19 #include "GrTest.h" |
| 21 #include "GrTestBatch.h" | 20 #include "GrTestBatch.h" |
| 22 #include "SkColorPriv.h" | 21 #include "SkColorPriv.h" |
| 23 #include "SkDevice.h" | 22 #include "SkDevice.h" |
| 24 #include "SkGeometry.h" | 23 #include "SkGeometry.h" |
| 25 #include "SkTLList.h" | 24 #include "SkTLList.h" |
| 26 | 25 |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 SkTLList<SkPath> fPaths; | 261 SkTLList<SkPath> fPaths; |
| 263 SkTLList<SkRect> fRects; | 262 SkTLList<SkRect> fRects; |
| 264 | 263 |
| 265 typedef GM INHERITED; | 264 typedef GM INHERITED; |
| 266 }; | 265 }; |
| 267 | 266 |
| 268 DEF_GM( return SkNEW(ConvexPolyEffect); ) | 267 DEF_GM( return SkNEW(ConvexPolyEffect); ) |
| 269 } | 268 } |
| 270 | 269 |
| 271 #endif | 270 #endif |
| OLD | NEW |