| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 "GrOvalRenderer.h" | 8 #include "GrOvalRenderer.h" |
| 9 | 9 |
| 10 #include "GrBatch.h" | 10 #include "GrBatch.h" |
| 11 #include "GrBatchTarget.h" | 11 #include "GrBatchTarget.h" |
| 12 #include "GrBatchTest.h" | 12 #include "GrBatchTest.h" |
| 13 #include "GrBufferAllocPool.h" | |
| 14 #include "GrDrawTarget.h" | 13 #include "GrDrawTarget.h" |
| 15 #include "GrGeometryProcessor.h" | 14 #include "GrGeometryProcessor.h" |
| 16 #include "GrInvariantOutput.h" | 15 #include "GrInvariantOutput.h" |
| 17 #include "GrPipelineBuilder.h" | 16 #include "GrPipelineBuilder.h" |
| 18 #include "GrProcessor.h" | 17 #include "GrProcessor.h" |
| 19 #include "GrResourceProvider.h" | 18 #include "GrResourceProvider.h" |
| 20 #include "GrVertexBuffer.h" | 19 #include "GrVertexBuffer.h" |
| 21 #include "SkRRect.h" | 20 #include "SkRRect.h" |
| 22 #include "SkStrokeRec.h" | 21 #include "SkStrokeRec.h" |
| 23 #include "SkTLazy.h" | 22 #include "SkTLazy.h" |
| (...skipping 2104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2128 } | 2127 } |
| 2129 | 2128 |
| 2130 BATCH_TEST_DEFINE(RRectBatch) { | 2129 BATCH_TEST_DEFINE(RRectBatch) { |
| 2131 SkMatrix viewMatrix = GrTest::TestMatrixRectStaysRect(random); | 2130 SkMatrix viewMatrix = GrTest::TestMatrixRectStaysRect(random); |
| 2132 GrColor color = GrRandomColor(random); | 2131 GrColor color = GrRandomColor(random); |
| 2133 const SkRRect& rrect = GrTest::TestRRectSimple(random); | 2132 const SkRRect& rrect = GrTest::TestRRectSimple(random); |
| 2134 return create_rrect_batch(color, viewMatrix, rrect, random_strokerec(random)
); | 2133 return create_rrect_batch(color, viewMatrix, rrect, random_strokerec(random)
); |
| 2135 } | 2134 } |
| 2136 | 2135 |
| 2137 #endif | 2136 #endif |
| OLD | NEW |