diff options
-rw-r--r-- | include/core/SkMatrix.h | 2 | ||||
-rw-r--r-- | src/gpu/GrAAHairLinePathRenderer.cpp | 2 | ||||
-rw-r--r-- | src/gpu/GrPathRendererChain.h | 2 | ||||
-rw-r--r-- | tests/PathTest.cpp | 1 |
4 files changed, 3 insertions, 4 deletions
diff --git a/include/core/SkMatrix.h b/include/core/SkMatrix.h index 1350e8f7c3..0f148a71d2 100644 --- a/include/core/SkMatrix.h +++ b/include/core/SkMatrix.h @@ -549,7 +549,7 @@ private: enum { /** Set if the matrix will map a rectangle to another rectangle. This can be true if the matrix is scale-only, or rotates a multiple of - 90 degrees. This bit is not set if the matrix is identity. + 90 degrees. This bit will be set on identity matrices */ diff --git a/src/gpu/GrAAHairLinePathRenderer.cpp b/src/gpu/GrAAHairLinePathRenderer.cpp index 3015674f72..66dbe8c870 100644 --- a/src/gpu/GrAAHairLinePathRenderer.cpp +++ b/src/gpu/GrAAHairLinePathRenderer.cpp @@ -50,7 +50,7 @@ bool push_quad_index_data(GrIndexBuffer* qIdxBuffer) { // a0 c0 // a c // a1 c1 - // Each is drawn as three triagnles specified by these 9 indices: + // Each is drawn as three triangles specified by these 9 indices: int baseIdx = i * kIdxsPerQuad; uint16_t baseVert = (uint16_t)(i * kVertsPerQuad); data[0 + baseIdx] = baseVert + 0; // a0 diff --git a/src/gpu/GrPathRendererChain.h b/src/gpu/GrPathRendererChain.h index 54737cbe3e..529b4cb751 100644 --- a/src/gpu/GrPathRendererChain.h +++ b/src/gpu/GrPathRendererChain.h @@ -20,7 +20,7 @@ class SkPath; class GrPathRenderer; /** - * Keeps track of a ordered list of path renderers. When a path needs to be + * Keeps track of an ordered list of path renderers. When a path needs to be * drawn this list is scanned to find the most preferred renderer. To add your * path renderer to the list implement the GrPathRenderer::AddPathRenderers * function. diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp index c4ad0a6eb3..d88454795f 100644 --- a/tests/PathTest.cpp +++ b/tests/PathTest.cpp @@ -1053,7 +1053,6 @@ static void test_raw_iter(skiatest::Reporter* reporter) { } } -void TestPath(skiatest::Reporter* reporter); void TestPath(skiatest::Reporter* reporter) { { SkSize size; |