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

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

Issue 2254343003: Move GrFixedClip into src directory (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 4 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 | « src/gpu/batches/GrMSAAPathRenderer.cpp ('k') | no next file » | 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 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 8
9 #include "GrStencilAndCoverPathRenderer.h" 9 #include "GrStencilAndCoverPathRenderer.h"
10 #include "GrCaps.h" 10 #include "GrCaps.h"
11 #include "GrContext.h" 11 #include "GrContext.h"
12 #include "GrDrawContextPriv.h" 12 #include "GrDrawContextPriv.h"
13 #include "GrDrawPathBatch.h" 13 #include "GrDrawPathBatch.h"
14 #include "GrFixedClip.h"
14 #include "GrGpu.h" 15 #include "GrGpu.h"
15 #include "GrPath.h" 16 #include "GrPath.h"
16 #include "GrPipelineBuilder.h" 17 #include "GrPipelineBuilder.h"
17 #include "GrRenderTarget.h" 18 #include "GrRenderTarget.h"
18 #include "GrResourceProvider.h" 19 #include "GrResourceProvider.h"
19 #include "GrStencilPathBatch.h" 20 #include "GrStencilPathBatch.h"
20 #include "GrStyle.h" 21 #include "GrStyle.h"
21 #include "batches/GrRectBatchFactory.h" 22 #include "batches/GrRectBatchFactory.h"
22 23
23 GrPathRenderer* GrStencilAndCoverPathRenderer::Create(GrResourceProvider* resour ceProvider, 24 GrPathRenderer* GrStencilAndCoverPathRenderer::Create(GrResourceProvider* resour ceProvider,
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 if (args.fAntiAlias) { 162 if (args.fAntiAlias) {
162 SkASSERT(args.fDrawContext->isStencilBufferMultisampled()); 163 SkASSERT(args.fDrawContext->isStencilBufferMultisampled());
163 pipelineBuilder.enableState(GrPipelineBuilder::kHWAntialias_Flag); 164 pipelineBuilder.enableState(GrPipelineBuilder::kHWAntialias_Flag);
164 } 165 }
165 166
166 args.fDrawContext->drawBatch(pipelineBuilder, *args.fClip, batch); 167 args.fDrawContext->drawBatch(pipelineBuilder, *args.fClip, batch);
167 } 168 }
168 169
169 return true; 170 return true;
170 } 171 }
OLDNEW
« no previous file with comments | « src/gpu/batches/GrMSAAPathRenderer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698