OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2010 Google Inc. | 3 * Copyright 2010 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 | 9 |
10 #include "GrGpu.h" | 10 #include "GrGpu.h" |
11 | 11 |
| 12 #include "GrCaps.h" |
12 #include "GrContext.h" | 13 #include "GrContext.h" |
13 #include "GrDrawTargetCaps.h" | |
14 #include "GrGpuResourcePriv.h" | 14 #include "GrGpuResourcePriv.h" |
15 #include "GrIndexBuffer.h" | 15 #include "GrIndexBuffer.h" |
16 #include "GrResourceCache.h" | 16 #include "GrResourceCache.h" |
17 #include "GrRenderTargetPriv.h" | 17 #include "GrRenderTargetPriv.h" |
18 #include "GrStencilAttachment.h" | 18 #include "GrStencilAttachment.h" |
19 #include "GrVertexBuffer.h" | 19 #include "GrVertexBuffer.h" |
20 #include "GrVertices.h" | 20 #include "GrVertices.h" |
21 | 21 |
22 GrVertices& GrVertices::operator =(const GrVertices& di) { | 22 GrVertices& GrVertices::operator =(const GrVertices& di) { |
23 fPrimitiveType = di.fPrimitiveType; | 23 fPrimitiveType = di.fPrimitiveType; |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 GrDrawTarget::PathIndexType indexType, | 319 GrDrawTarget::PathIndexType indexType, |
320 const float transformValues[], | 320 const float transformValues[], |
321 GrDrawTarget::PathTransformType transformType, | 321 GrDrawTarget::PathTransformType transformType, |
322 int count, | 322 int count, |
323 const GrStencilSettings& stencilSettings) { | 323 const GrStencilSettings& stencilSettings) { |
324 this->handleDirtyContext(); | 324 this->handleDirtyContext(); |
325 pathRange->willDrawPaths(indices, indexType, count); | 325 pathRange->willDrawPaths(indices, indexType, count); |
326 this->onDrawPaths(args, pathRange, indices, indexType, transformValues, | 326 this->onDrawPaths(args, pathRange, indices, indexType, transformValues, |
327 transformType, count, stencilSettings); | 327 transformType, count, stencilSettings); |
328 } | 328 } |
OLD | NEW |