| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 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 #include "GrContext.h" | 9 #include "GrContext.h" |
| 10 | 10 |
| 11 #include "GrAARectRenderer.h" | 11 #include "GrAARectRenderer.h" |
| 12 #include "GrAtlasTextContext.h" | 12 #include "GrAtlasTextContext.h" |
| 13 #include "GrBatch.h" | 13 #include "GrBatch.h" |
| 14 #include "GrBatchFontCache.h" | 14 #include "GrBatchFontCache.h" |
| 15 #include "GrBatchTarget.h" | 15 #include "GrBatchTarget.h" |
| 16 #include "GrBatchTest.h" | 16 #include "GrBatchTest.h" |
| 17 #include "GrCaps.h" |
| 17 #include "GrDefaultGeoProcFactory.h" | 18 #include "GrDefaultGeoProcFactory.h" |
| 18 #include "GrGpuResource.h" | 19 #include "GrGpuResource.h" |
| 19 #include "GrGpuResourcePriv.h" | 20 #include "GrGpuResourcePriv.h" |
| 20 #include "GrDrawTargetCaps.h" | |
| 21 #include "GrGpu.h" | 21 #include "GrGpu.h" |
| 22 #include "GrImmediateDrawTarget.h" | 22 #include "GrImmediateDrawTarget.h" |
| 23 #include "GrIndexBuffer.h" | 23 #include "GrIndexBuffer.h" |
| 24 #include "GrInOrderDrawBuffer.h" | 24 #include "GrInOrderDrawBuffer.h" |
| 25 #include "GrLayerCache.h" | 25 #include "GrLayerCache.h" |
| 26 #include "GrOvalRenderer.h" | 26 #include "GrOvalRenderer.h" |
| 27 #include "GrPathRenderer.h" | 27 #include "GrPathRenderer.h" |
| 28 #include "GrPathUtils.h" | 28 #include "GrPathUtils.h" |
| 29 #include "GrRenderTargetPriv.h" | 29 #include "GrRenderTargetPriv.h" |
| 30 #include "GrResourceCache.h" | 30 #include "GrResourceCache.h" |
| (...skipping 1959 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1990 geometry.fColor = GrRandomColor(random); | 1990 geometry.fColor = GrRandomColor(random); |
| 1991 return DrawVerticesBatch::Create(geometry, type, viewMatrix, | 1991 return DrawVerticesBatch::Create(geometry, type, viewMatrix, |
| 1992 positions.begin(), vertexCount, | 1992 positions.begin(), vertexCount, |
| 1993 indices.begin(), hasIndices ? vertexCount :
0, | 1993 indices.begin(), hasIndices ? vertexCount :
0, |
| 1994 colors.begin(), | 1994 colors.begin(), |
| 1995 texCoords.begin(), | 1995 texCoords.begin(), |
| 1996 bounds); | 1996 bounds); |
| 1997 } | 1997 } |
| 1998 | 1998 |
| 1999 #endif | 1999 #endif |
| OLD | NEW |