diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-10 02:01:30 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-10 02:01:30 +0000 |
commit | 439cb51451ef6f55f65dab90eb7f91acf67ea8fe (patch) | |
tree | d7d2553591f6a1dc77896f755de52ee8824210fc /src/gpu | |
parent | 3fffb2ee9fa01ae61efb2395973eb7575eda4c96 (diff) |
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5872 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/GrInOrderDrawBuffer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrInOrderDrawBuffer.cpp b/src/gpu/GrInOrderDrawBuffer.cpp index 678a9c566e..2d1a0efb94 100644 --- a/src/gpu/GrInOrderDrawBuffer.cpp +++ b/src/gpu/GrInOrderDrawBuffer.cpp @@ -99,7 +99,7 @@ void GrInOrderDrawBuffer::drawRect(const GrRect& rect, if (!this->getCaps().dualSourceBlendingSupport()) { for (int s = 0; s < GrDrawState::kNumStages; ++s) { if (this->getDrawState().isStageEnabled(s)) { - // We disable batching across colors when there is a texture + // We disable batching across colors when there is a texture // present because (by pushing the the color to the vertices) // Ganesh loses track of the rect's opacity. This, in turn, can // cause some of the blending optimizations to be disabled. This @@ -154,7 +154,7 @@ void GrInOrderDrawBuffer::drawRect(const GrRect& rect, // Now that the paint's color is stored in the vertices set it to // white so that the following code can batch all the rects regardless // of paint color - GrDrawState::AutoColorRestore acr(this->drawState(), + GrDrawState::AutoColorRestore acr(this->drawState(), batchAcrossColors ? SK_ColorWHITE : this->getDrawState().getColor()); |