aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-06 02:05:26 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-06 02:05:26 +0000
commita18ed032186e9a52899d9cb51d67b9bf6cace492 (patch)
tree36e09b541b54d2ec0c67959042e0defa887f5308 /src
parent5b3e890c376f2211218c43edd11939cfc78fd60a (diff)
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5848 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r--src/gpu/GrDrawTarget.cpp4
-rw-r--r--src/gpu/GrInOrderDrawBuffer.cpp2
-rw-r--r--src/ports/SkFontHost_mac_coretext.cpp6
3 files changed, 6 insertions, 6 deletions
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp
index 4c028c3d0a..3b27172fb4 100644
--- a/src/gpu/GrDrawTarget.cpp
+++ b/src/gpu/GrDrawTarget.cpp
@@ -1040,7 +1040,7 @@ void GrDrawTarget::drawRect(const GrRect& rect,
SetRectVertices(rect, matrix, srcRects,
srcMatrices, SK_ColorBLACK, layout, geo.vertices());
-
+
drawNonIndexed(kTriangleFan_GrPrimitiveType, 0, 4);
}
@@ -1060,7 +1060,7 @@ GrVertexLayout GrDrawTarget::GetRectVertexLayout(const GrRect* srcRects[]) {
return layout;
}
-// This method fills int the four vertices for drawing 'rect'.
+// This method fills int the four vertices for drawing 'rect'.
// matrix - is applied to each vertex
// srcRects - provide the uvs for each vertex
// srcMatrices - are applied to the corresponding 'srcRect'
diff --git a/src/gpu/GrInOrderDrawBuffer.cpp b/src/gpu/GrInOrderDrawBuffer.cpp
index eaee5c9204..ae6d0f24b7 100644
--- a/src/gpu/GrInOrderDrawBuffer.cpp
+++ b/src/gpu/GrInOrderDrawBuffer.cpp
@@ -123,7 +123,7 @@ void GrInOrderDrawBuffer::drawRect(const GrRect& rect,
combinedMatrix.preConcat(*matrix);
}
- SetRectVertices(rect, &combinedMatrix, srcRects, srcMatrices,
+ SetRectVertices(rect, &combinedMatrix, srcRects, srcMatrices,
this->getDrawState().getColor(), layout, geo.vertices());
// Now that the paint's color is stored in the vertices set it to
diff --git a/src/ports/SkFontHost_mac_coretext.cpp b/src/ports/SkFontHost_mac_coretext.cpp
index 9b1979d1b6..622b8ede1f 100644
--- a/src/ports/SkFontHost_mac_coretext.cpp
+++ b/src/ports/SkFontHost_mac_coretext.cpp
@@ -1832,13 +1832,13 @@ void SkFontHost::FilterRec(SkScalerContext::Rec* rec) {
// Tracked by http://code.google.com/p/skia/issues/detail?id=915 .
// There is no current means to honor a request for unhinted lcd,
// so arbitrarilly ignore the hinting request and honor lcd.
-
+
// Hinting and smoothing should be orthogonal, but currently they are not.
// CoreGraphics has no API to influence hinting. However, its lcd smoothed
// output is drawn from auto-dilated outlines (the amount of which is
// determined by AppleFontSmoothing). Its regular anti-aliased output is
// drawn from un-dilated outlines.
-
+
// The behavior of Skia is as follows:
// [AA][no-hint]: generate AA using CoreGraphic's AA output.
// [AA][yes-hint]: use CoreGraphic's LCD output and reduce it to a single
@@ -1846,7 +1846,7 @@ void SkFontHost::FilterRec(SkScalerContext::Rec* rec) {
// [LCD][no-hint]: curently unable to honor, and must pick which to respect.
// Currenly side with LCD, effectively ignoring the hinting setting.
// [LCD][yes-hint]: generate LCD using CoreGraphic's LCD output.
-
+
bool lcdSupport = supports_LCD();
if (isLCDFormat(rec->fMaskFormat)) {
if (lcdSupport) {