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

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

Issue 1311673014: Remove GrAddPathRenderers_default (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweaks Created 5 years, 3 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/GrDefaultPathRenderer.h ('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 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"
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 geometry.fColor = color; 752 geometry.fColor = color;
753 geometry.fPath = path; 753 geometry.fPath = path;
754 geometry.fTolerance = srcSpaceTol; 754 geometry.fTolerance = srcSpaceTol;
755 755
756 viewMatrix.mapRect(&bounds); 756 viewMatrix.mapRect(&bounds);
757 uint8_t coverage = GrRandomCoverage(random); 757 uint8_t coverage = GrRandomCoverage(random);
758 return DefaultPathBatch::Create(geometry, coverage, viewMatrix, true, bounds ); 758 return DefaultPathBatch::Create(geometry, coverage, viewMatrix, true, bounds );
759 } 759 }
760 760
761 #endif 761 #endif
OLDNEW
« no previous file with comments | « src/gpu/batches/GrDefaultPathRenderer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698