OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 "GrBatchTest.h" | 8 #include "GrBatchTest.h" |
9 #include "GrColor.h" | 9 #include "GrColor.h" |
10 #include "GrDrawContext.h" | 10 #include "GrDrawContext.h" |
11 #include "GrDrawContextPriv.h" | 11 #include "GrDrawContextPriv.h" |
12 #include "GrDrawingManager.h" | 12 #include "GrDrawingManager.h" |
| 13 #include "GrFixedClip.h" |
13 #include "GrGpuResourcePriv.h" | 14 #include "GrGpuResourcePriv.h" |
14 #include "GrOvalRenderer.h" | 15 #include "GrOvalRenderer.h" |
15 #include "GrPathRenderer.h" | 16 #include "GrPathRenderer.h" |
16 #include "GrPipelineBuilder.h" | 17 #include "GrPipelineBuilder.h" |
17 #include "GrRenderTarget.h" | 18 #include "GrRenderTarget.h" |
18 #include "GrRenderTargetPriv.h" | 19 #include "GrRenderTargetPriv.h" |
19 #include "GrResourceProvider.h" | 20 #include "GrResourceProvider.h" |
20 #include "SkSurfacePriv.h" | 21 #include "SkSurfacePriv.h" |
21 | 22 |
22 #include "batches/GrBatch.h" | 23 #include "batches/GrBatch.h" |
(...skipping 1286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1309 | 1310 |
1310 void GrDrawContext::drawBatch(const GrPipelineBuilder& pipelineBuilder, const Gr
Clip& clip, | 1311 void GrDrawContext::drawBatch(const GrPipelineBuilder& pipelineBuilder, const Gr
Clip& clip, |
1311 GrDrawBatch* batch) { | 1312 GrDrawBatch* batch) { |
1312 ASSERT_SINGLE_OWNER | 1313 ASSERT_SINGLE_OWNER |
1313 RETURN_IF_ABANDONED | 1314 RETURN_IF_ABANDONED |
1314 SkDEBUGCODE(this->validate();) | 1315 SkDEBUGCODE(this->validate();) |
1315 GR_AUDIT_TRAIL_AUTO_FRAME(fAuditTrail, "GrDrawContext::drawBatch"); | 1316 GR_AUDIT_TRAIL_AUTO_FRAME(fAuditTrail, "GrDrawContext::drawBatch"); |
1316 | 1317 |
1317 this->getDrawTarget()->drawBatch(pipelineBuilder, this, clip, batch); | 1318 this->getDrawTarget()->drawBatch(pipelineBuilder, this, clip, batch); |
1318 } | 1319 } |
OLD | NEW |