diff options
author | 2012-09-29 02:01:02 +0000 | |
---|---|---|
committer | 2012-09-29 02:01:02 +0000 | |
commit | 22b460cef604c4737b9e221901e1940681255c01 (patch) | |
tree | b1fef63f117da9fc508d16ffb8e7b0200209b032 /src/gpu/SkGpuDevice.cpp | |
parent | 2e6020634a347626e111592b13ef5030d457bc3f (diff) |
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5735 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/SkGpuDevice.cpp')
-rw-r--r-- | src/gpu/SkGpuDevice.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index ee09371e91..5b210b2932 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp @@ -1353,9 +1353,9 @@ void SkGpuDevice::drawTiledBitmap(const SkDraw& draw, for (int x = 0; x <= nx; x++) { for (int y = 0; y <= ny; y++) { SkRect tileR; - tileR.set(SkIntToScalar(x * tileSize), + tileR.set(SkIntToScalar(x * tileSize), SkIntToScalar(y * tileSize), - SkIntToScalar((x + 1) * tileSize), + SkIntToScalar((x + 1) * tileSize), SkIntToScalar((y + 1) * tileSize)); if (!SkRect::Intersects(tileR, clipRect)) { @@ -1367,7 +1367,7 @@ void SkGpuDevice::drawTiledBitmap(const SkDraw& draw, } SkBitmap tmpB; - SkIRect iTileR; + SkIRect iTileR; tileR.roundOut(&iTileR); if (bitmap.extractSubset(&tmpB, iTileR)) { // now offset it to make it "local" to our tmp bitmap @@ -1472,7 +1472,7 @@ void SkGpuDevice::internalDrawBitmap(const SkDraw& draw, bool needsTextureDomain = false; if (params.isBilerp()) { // Need texture domain if drawing a sub rect. - needsTextureDomain = srcRect.width() < bitmap.width() || + needsTextureDomain = srcRect.width() < bitmap.width() || srcRect.height() < bitmap.height(); if (m.rectStaysRect() && draw.fMatrix->rectStaysRect()) { // sampling is axis-aligned |