diff options
author | 2012-10-15 14:25:31 +0000 | |
---|---|---|
committer | 2012-10-15 14:25:31 +0000 | |
commit | 1e269b5a08610da13c3aee23809bb45b17e7b663 (patch) | |
tree | 32a60a4b4d461df64830eb1cdbdcbe9f4a1eaefb /src | |
parent | 04685d29b1c5280717dfcd63c3cbe1ee84fa6923 (diff) |
Spell correct some comments.
Unreviewed
git-svn-id: http://skia.googlecode.com/svn/trunk@5951 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r-- | src/gpu/GrDrawState.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h index 9b2005809f..69f0aea0a9 100644 --- a/src/gpu/GrDrawState.h +++ b/src/gpu/GrDrawState.h @@ -94,7 +94,7 @@ public: /** * Initializes the GrDrawState based on a GrPaint. Note that GrDrawState - * encompases more than GrPaint. Aspects of GrDrawState that have no + * encompasses more than GrPaint. Aspects of GrDrawState that have no * GrPaint equivalents are not modified. GrPaint has fewer stages than * GrDrawState. The extra GrDrawState stages are disabled. */ @@ -324,7 +324,7 @@ public: //// /** - * Sets the blending function coeffecients. + * Sets the blending function coefficients. * * The blend function will be: * D' = sat(S*srcCoef + D*dstCoef) @@ -333,8 +333,8 @@ public: * color, and D' is the new destination color that will be written. sat() * is the saturation function. * - * @param srcCoef coeffecient applied to the src color. - * @param dstCoef coeffecient applied to the dst color. + * @param srcCoef coefficient applied to the src color. + * @param dstCoef coefficient applied to the dst color. */ void setBlendFunc(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) { fSrcBlend = srcCoeff; @@ -376,7 +376,7 @@ public: /** * Sets the blending function constant referenced by the following blending - * coeffecients: + * coefficients: * kConstC_GrBlendCoeff * kIConstC_GrBlendCoeff * kConstA_GrBlendCoeff @@ -660,7 +660,7 @@ public: /////////////////////////////////////////////////////////////////////////// // @name Edge AA - // Edge equations can be specified to perform antialiasing. Because the + // Edge equations can be specified to perform anti-aliasing. Because the // edges are specified as per-vertex data, vertices that are shared by // multiple edges must be split. // @@ -753,7 +753,7 @@ public: /** * Enable render state settings. * - * @param stateBits bitfield of StateBits specifing the states to enable + * @param stateBits bitfield of StateBits specifying the states to enable */ void enableState(uint32_t stateBits) { fFlagBits |= stateBits; @@ -762,7 +762,7 @@ public: /** * Disable render state settings. * - * @param stateBits bitfield of StateBits specifing the states to disable + * @param stateBits bitfield of StateBits specifying the states to disable */ void disableState(uint32_t stateBits) { fFlagBits &= ~(stateBits); @@ -771,7 +771,7 @@ public: /** * Enable or disable stateBits based on a boolean. * - * @param stateBits bitfield of StateBits to enable or disablt + * @param stateBits bitfield of StateBits to enable or disable * @param enable if true enable stateBits, otherwise disable */ void setState(uint32_t stateBits, bool enable) { @@ -915,7 +915,7 @@ public: private: - // These fields are roughly sorted by decreasing liklihood of being different in op== + // These fields are roughly sorted by decreasing likelihood of being different in op== GrColor fColor; GrMatrix fViewMatrix; GrRenderTarget* fRenderTarget; |