OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 "GrDashingEffect.h" | 8 #include "GrDashingEffect.h" |
9 | 9 |
10 #include "GrBatch.h" | 10 #include "GrBatch.h" |
11 #include "GrBatchTarget.h" | 11 #include "GrBatchTarget.h" |
12 #include "GrBatchTest.h" | 12 #include "GrBatchTest.h" |
13 #include "GrBufferAllocPool.h" | |
14 #include "GrGeometryProcessor.h" | 13 #include "GrGeometryProcessor.h" |
15 #include "GrContext.h" | 14 #include "GrContext.h" |
16 #include "GrCoordTransform.h" | 15 #include "GrCoordTransform.h" |
17 #include "GrDefaultGeoProcFactory.h" | 16 #include "GrDefaultGeoProcFactory.h" |
18 #include "GrDrawTarget.h" | 17 #include "GrDrawTarget.h" |
19 #include "GrDrawTargetCaps.h" | 18 #include "GrDrawTargetCaps.h" |
20 #include "GrInvariantOutput.h" | 19 #include "GrInvariantOutput.h" |
21 #include "GrProcessor.h" | 20 #include "GrProcessor.h" |
22 #include "GrStrokeInfo.h" | 21 #include "GrStrokeInfo.h" |
23 #include "GrVertexBuffer.h" | 22 #include "GrVertexBuffer.h" |
(...skipping 1320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1344 info.fIntervals = intervals; | 1343 info.fIntervals = intervals; |
1345 info.fCount = 2; | 1344 info.fCount = 2; |
1346 info.fPhase = phase; | 1345 info.fPhase = phase; |
1347 SkDEBUGCODE(bool success = ) strokeInfo.setDashInfo(info); | 1346 SkDEBUGCODE(bool success = ) strokeInfo.setDashInfo(info); |
1348 SkASSERT(success); | 1347 SkASSERT(success); |
1349 | 1348 |
1350 return create_batch(color, viewMatrix, pts, useAA, strokeInfo, msaaRT); | 1349 return create_batch(color, viewMatrix, pts, useAA, strokeInfo, msaaRT); |
1351 } | 1350 } |
1352 | 1351 |
1353 #endif | 1352 #endif |
OLD | NEW |