aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-04-10 16:20:41 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-04-10 16:20:41 +0000
commit0e5104c1570de4709e04720e62d80a0ca8970260 (patch)
treedf45ce67dd14907eaa955119acc883adfbf23670
parentddd40e5e96c43ff6730745b53abf09bf0129f6d2 (diff)
misc fixes
Submitted on behalf of Guanqun.Lu@gmail.com Review URL: http://codereview.appspot.com/5988070/ git-svn-id: http://skia.googlecode.com/svn/trunk@3640 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--include/core/SkMatrix.h2
-rw-r--r--src/gpu/GrAAHairLinePathRenderer.cpp2
-rw-r--r--src/gpu/GrPathRendererChain.h2
-rw-r--r--tests/PathTest.cpp1
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;