OLD | NEW |
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 Loading... |
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 |
OLD | NEW |