OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 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 "GrAARectRenderer.h" | 8 #include "GrAARectRenderer.h" |
9 #include "GrBatch.h" | 9 #include "GrBatch.h" |
10 #include "GrBatchTarget.h" | 10 #include "GrBatchTarget.h" |
11 #include "GrBatchTest.h" | 11 #include "GrBatchTest.h" |
12 #include "GrBufferAllocPool.h" | |
13 #include "GrContext.h" | 12 #include "GrContext.h" |
14 #include "GrDefaultGeoProcFactory.h" | 13 #include "GrDefaultGeoProcFactory.h" |
15 #include "GrGeometryProcessor.h" | 14 #include "GrGeometryProcessor.h" |
16 #include "GrInvariantOutput.h" | 15 #include "GrInvariantOutput.h" |
17 #include "GrResourceKey.h" | 16 #include "GrResourceKey.h" |
18 #include "GrResourceProvider.h" | 17 #include "GrResourceProvider.h" |
19 #include "GrTestUtils.h" | 18 #include "GrTestUtils.h" |
20 #include "GrVertexBuffer.h" | 19 #include "GrVertexBuffer.h" |
21 #include "SkColorPriv.h" | 20 #include "SkColorPriv.h" |
22 #include "gl/GrGLProcessor.h" | 21 #include "gl/GrGLProcessor.h" |
(...skipping 833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
856 geo.fColor = GrRandomColor(random); | 855 geo.fColor = GrRandomColor(random); |
857 geo.fDevOutside = outside; | 856 geo.fDevOutside = outside; |
858 geo.fDevOutsideAssist = outsideAssist; | 857 geo.fDevOutsideAssist = outsideAssist; |
859 geo.fDevInside = inside; | 858 geo.fDevInside = inside; |
860 geo.fMiterStroke = miterStroke; | 859 geo.fMiterStroke = miterStroke; |
861 | 860 |
862 return AAStrokeRectBatch::Create(geo, GrTest::TestMatrix(random)); | 861 return AAStrokeRectBatch::Create(geo, GrTest::TestMatrix(random)); |
863 } | 862 } |
864 | 863 |
865 #endif | 864 #endif |
OLD | NEW |