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 "GrContext.h" | 12 #include "GrContext.h" |
13 #include "GrDefaultGeoProcFactory.h" | 13 #include "GrDefaultGeoProcFactory.h" |
| 14 #include "GrDrawTarget.h" |
14 #include "GrGeometryProcessor.h" | 15 #include "GrGeometryProcessor.h" |
15 #include "GrInvariantOutput.h" | 16 #include "GrInvariantOutput.h" |
16 #include "GrResourceKey.h" | 17 #include "GrResourceKey.h" |
17 #include "GrResourceProvider.h" | 18 #include "GrResourceProvider.h" |
18 #include "GrTestUtils.h" | 19 #include "GrTestUtils.h" |
19 #include "GrVertexBuffer.h" | 20 #include "GrVertexBuffer.h" |
20 #include "SkColorPriv.h" | 21 #include "SkColorPriv.h" |
21 #include "gl/GrGLProcessor.h" | 22 #include "gl/GrGLProcessor.h" |
22 #include "gl/GrGLGeometryProcessor.h" | 23 #include "gl/GrGLGeometryProcessor.h" |
23 #include "gl/builders/GrGLProgramBuilder.h" | 24 #include "gl/builders/GrGLProgramBuilder.h" |
(...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
842 geo.fColor = GrRandomColor(random); | 843 geo.fColor = GrRandomColor(random); |
843 geo.fDevOutside = outside; | 844 geo.fDevOutside = outside; |
844 geo.fDevOutsideAssist = outsideAssist; | 845 geo.fDevOutsideAssist = outsideAssist; |
845 geo.fDevInside = inside; | 846 geo.fDevInside = inside; |
846 geo.fMiterStroke = miterStroke; | 847 geo.fMiterStroke = miterStroke; |
847 | 848 |
848 return AAStrokeRectBatch::Create(geo, GrTest::TestMatrix(random)); | 849 return AAStrokeRectBatch::Create(geo, GrTest::TestMatrix(random)); |
849 } | 850 } |
850 | 851 |
851 #endif | 852 #endif |
OLD | NEW |