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

Side by Side Diff: src/gpu/batches/GrDefaultPathRenderer.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/GrFixedClip.cpp ('k') | src/gpu/batches/GrMSAAPathRenderer.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 2011 Google Inc. 2 * Copyright 2011 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 "GrDefaultPathRenderer.h" 8 #include "GrDefaultPathRenderer.h"
9 9
10 #include "GrBatchFlushState.h" 10 #include "GrBatchFlushState.h"
11 #include "GrBatchTest.h" 11 #include "GrBatchTest.h"
12 #include "GrContext.h" 12 #include "GrContext.h"
13 #include "GrDefaultGeoProcFactory.h" 13 #include "GrDefaultGeoProcFactory.h"
14 #include "GrFixedClip.h"
14 #include "GrMesh.h" 15 #include "GrMesh.h"
15 #include "GrPathUtils.h" 16 #include "GrPathUtils.h"
16 #include "GrPipelineBuilder.h" 17 #include "GrPipelineBuilder.h"
17 #include "SkGeometry.h" 18 #include "SkGeometry.h"
18 #include "SkString.h" 19 #include "SkString.h"
19 #include "SkStrokeRec.h" 20 #include "SkStrokeRec.h"
20 #include "SkTLazy.h" 21 #include "SkTLazy.h"
21 #include "SkTraceEvent.h" 22 #include "SkTraceEvent.h"
22 23
23 #include "batches/GrRectBatchFactory.h" 24 #include "batches/GrRectBatchFactory.h"
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 SkRect bounds = path.getBounds(); 629 SkRect bounds = path.getBounds();
629 SkScalar tol = GrPathUtils::kDefaultTolerance; 630 SkScalar tol = GrPathUtils::kDefaultTolerance;
630 SkScalar srcSpaceTol = GrPathUtils::scaleToleranceToSrc(tol, viewMatrix, bou nds); 631 SkScalar srcSpaceTol = GrPathUtils::scaleToleranceToSrc(tol, viewMatrix, bou nds);
631 632
632 viewMatrix.mapRect(&bounds); 633 viewMatrix.mapRect(&bounds);
633 uint8_t coverage = GrRandomCoverage(random); 634 uint8_t coverage = GrRandomCoverage(random);
634 return new DefaultPathBatch(color, path, srcSpaceTol, coverage, viewMatrix, true, bounds); 635 return new DefaultPathBatch(color, path, srcSpaceTol, coverage, viewMatrix, true, bounds);
635 } 636 }
636 637
637 #endif 638 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrFixedClip.cpp ('k') | src/gpu/batches/GrMSAAPathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698