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

Side by Side Diff: src/gpu/batches/GrDashLinePathRenderer.cpp

Issue 1988923002: Remove GrRenderTarget from GrPipelineBuilder (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update to ToT Created 4 years, 6 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
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 "GrDashLinePathRenderer.h" 8 #include "GrDashLinePathRenderer.h"
9 9
10 #include "GrGpu.h" 10 #include "GrGpu.h"
(...skipping 18 matching lines...) Expand all
29 *args.f ViewMatrix, 29 *args.f ViewMatrix,
30 pts, 30 pts,
31 args.fA ntiAlias, 31 args.fA ntiAlias,
32 msaaIsE nabled, 32 msaaIsE nabled,
33 *args.f Style)); 33 *args.f Style));
34 if (!batch) { 34 if (!batch) {
35 return false; 35 return false;
36 } 36 }
37 37
38 GrPipelineBuilder pipelineBuilder(*args.fPaint, msaaIsEnabled); 38 GrPipelineBuilder pipelineBuilder(*args.fPaint, msaaIsEnabled);
39 pipelineBuilder.setRenderTarget(args.fDrawContext->accessRenderTarget());
40 pipelineBuilder.setUserStencil(args.fUserStencilSettings); 39 pipelineBuilder.setUserStencil(args.fUserStencilSettings);
41 40
42 args.fDrawContext->drawBatch(pipelineBuilder, *args.fClip, batch); 41 args.fDrawContext->drawBatch(pipelineBuilder, *args.fClip, batch);
43 return true; 42 return true;
44 } 43 }
OLDNEW
« no previous file with comments | « src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp ('k') | src/gpu/batches/GrDefaultPathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698