Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(736)

Side by Side Diff: src/gpu/GrDrawContext.cpp

Issue 2165283002: Remove DrawFace enum from GrPipelineBuilder (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: try again Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « include/gpu/GrTypesPriv.h ('k') | src/gpu/GrDrawTarget.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "GrOvalRenderer.h" 13 #include "GrOvalRenderer.h"
14 #include "GrPathRenderer.h" 14 #include "GrPathRenderer.h"
15 #include "GrPipelineBuilder.h"
15 #include "GrRenderTarget.h" 16 #include "GrRenderTarget.h"
16 #include "GrRenderTargetPriv.h" 17 #include "GrRenderTargetPriv.h"
17 #include "GrResourceProvider.h" 18 #include "GrResourceProvider.h"
18 #include "SkSurfacePriv.h" 19 #include "SkSurfacePriv.h"
19 20
20 #include "batches/GrBatch.h" 21 #include "batches/GrBatch.h"
21 #include "batches/GrClearBatch.h" 22 #include "batches/GrClearBatch.h"
22 #include "batches/GrDrawAtlasBatch.h" 23 #include "batches/GrDrawAtlasBatch.h"
23 #include "batches/GrDrawVerticesBatch.h" 24 #include "batches/GrDrawVerticesBatch.h"
24 #include "batches/GrRectBatchFactory.h" 25 #include "batches/GrRectBatchFactory.h"
(...skipping 1216 matching lines...) Expand 10 before | Expand all | Expand 10 after
1241 1242
1242 void GrDrawContext::drawBatch(const GrPipelineBuilder& pipelineBuilder, const Gr Clip& clip, 1243 void GrDrawContext::drawBatch(const GrPipelineBuilder& pipelineBuilder, const Gr Clip& clip,
1243 GrDrawBatch* batch) { 1244 GrDrawBatch* batch) {
1244 ASSERT_SINGLE_OWNER 1245 ASSERT_SINGLE_OWNER
1245 RETURN_IF_ABANDONED 1246 RETURN_IF_ABANDONED
1246 SkDEBUGCODE(this->validate();) 1247 SkDEBUGCODE(this->validate();)
1247 GR_AUDIT_TRAIL_AUTO_FRAME(fAuditTrail, "GrDrawContext::drawBatch"); 1248 GR_AUDIT_TRAIL_AUTO_FRAME(fAuditTrail, "GrDrawContext::drawBatch");
1248 1249
1249 this->getDrawTarget()->drawBatch(pipelineBuilder, this, clip, batch); 1250 this->getDrawTarget()->drawBatch(pipelineBuilder, this, clip, batch);
1250 } 1251 }
OLDNEW
« no previous file with comments | « include/gpu/GrTypesPriv.h ('k') | src/gpu/GrDrawTarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698