| 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 "GrBatchFlushState.h" | 10 #include "GrBatchFlushState.h" |
| 11 #include "GrBatchTest.h" | 11 #include "GrBatchTest.h" |
| 12 #include "GrCaps.h" | 12 #include "GrCaps.h" |
| 13 #include "GrGeometryProcessor.h" | 13 #include "GrGeometryProcessor.h" |
| 14 #include "GrContext.h" | 14 #include "GrContext.h" |
| 15 #include "GrCoordTransform.h" | 15 #include "GrCoordTransform.h" |
| 16 #include "GrDefaultGeoProcFactory.h" | 16 #include "GrDefaultGeoProcFactory.h" |
| 17 #include "GrInvariantOutput.h" | 17 #include "GrInvariantOutput.h" |
| 18 #include "GrProcessor.h" | 18 #include "GrProcessor.h" |
| 19 #include "GrStrokeInfo.h" | 19 #include "GrStrokeInfo.h" |
| 20 #include "GrVertexBuffer.h" |
| 20 #include "SkGr.h" | 21 #include "SkGr.h" |
| 21 #include "batches/GrVertexBatch.h" | 22 #include "batches/GrVertexBatch.h" |
| 22 #include "glsl/GrGLSLFragmentShaderBuilder.h" | 23 #include "glsl/GrGLSLFragmentShaderBuilder.h" |
| 23 #include "glsl/GrGLSLGeometryProcessor.h" | 24 #include "glsl/GrGLSLGeometryProcessor.h" |
| 24 #include "glsl/GrGLSLProgramDataManager.h" | 25 #include "glsl/GrGLSLProgramDataManager.h" |
| 25 #include "glsl/GrGLSLUniformHandler.h" | 26 #include "glsl/GrGLSLUniformHandler.h" |
| 26 #include "glsl/GrGLSLVarying.h" | 27 #include "glsl/GrGLSLVarying.h" |
| 27 #include "glsl/GrGLSLVertexShaderBuilder.h" | 28 #include "glsl/GrGLSLVertexShaderBuilder.h" |
| 28 | 29 |
| 29 /////////////////////////////////////////////////////////////////////////////// | 30 /////////////////////////////////////////////////////////////////////////////// |
| (...skipping 1268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1298 info.fIntervals = intervals; | 1299 info.fIntervals = intervals; |
| 1299 info.fCount = 2; | 1300 info.fCount = 2; |
| 1300 info.fPhase = phase; | 1301 info.fPhase = phase; |
| 1301 SkDEBUGCODE(bool success = ) strokeInfo.setDashInfo(info); | 1302 SkDEBUGCODE(bool success = ) strokeInfo.setDashInfo(info); |
| 1302 SkASSERT(success); | 1303 SkASSERT(success); |
| 1303 | 1304 |
| 1304 return create_batch(color, viewMatrix, pts, useAA, strokeInfo, msaaRT); | 1305 return create_batch(color, viewMatrix, pts, useAA, strokeInfo, msaaRT); |
| 1305 } | 1306 } |
| 1306 | 1307 |
| 1307 #endif | 1308 #endif |
| OLD | NEW |