Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2010 Google Inc. | 3 * Copyright 2010 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 | 9 |
| 10 | 10 |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 190 bool shouldTileBitmap(const SkBitmap& bitmap, | 190 bool shouldTileBitmap(const SkBitmap& bitmap, |
| 191 const GrTextureParams& sampler, | 191 const GrTextureParams& sampler, |
| 192 const SkRect* srcRectPtr, | 192 const SkRect* srcRectPtr, |
| 193 int maxTileSize, | 193 int maxTileSize, |
| 194 int* tileSize, | 194 int* tileSize, |
| 195 SkIRect* clippedSrcRect) const; | 195 SkIRect* clippedSrcRect) const; |
| 196 void internalDrawBitmap(const SkBitmap&, | 196 void internalDrawBitmap(const SkBitmap&, |
| 197 const SkRect&, | 197 const SkRect&, |
| 198 const GrTextureParams& params, | 198 const GrTextureParams& params, |
| 199 const SkPaint& paint, | 199 const SkPaint& paint, |
| 200 SkCanvas::DrawBitmapRectFlags flags); | 200 SkCanvas::DrawBitmapRectFlags flags, |
| 201 bool bicubic); | |
|
Stephen White
2013/11/27 21:50:06
Not a big deal, but it seems a little weird that b
bsalomon
2013/11/27 22:11:51
We could. The reason I did the bool was that the F
Stephen White
2013/11/27 22:31:13
Yeah, that's what I figured. Like I said, no big d
| |
| 201 void drawTiledBitmap(const SkBitmap& bitmap, | 202 void drawTiledBitmap(const SkBitmap& bitmap, |
| 202 const SkRect& srcRect, | 203 const SkRect& srcRect, |
| 203 const SkIRect& clippedSrcRect, | 204 const SkIRect& clippedSrcRect, |
| 204 const GrTextureParams& params, | 205 const GrTextureParams& params, |
| 205 const SkPaint& paint, | 206 const SkPaint& paint, |
| 206 SkCanvas::DrawBitmapRectFlags flags, | 207 SkCanvas::DrawBitmapRectFlags flags, |
| 207 int tileSize); | 208 int tileSize, |
| 209 bool bicubic); | |
| 208 | 210 |
| 209 /** | 211 /** |
| 210 * Returns non-initialized instance. | 212 * Returns non-initialized instance. |
| 211 */ | 213 */ |
| 212 GrTextContext* getTextContext(); | 214 GrTextContext* getTextContext(); |
| 213 | 215 |
| 214 typedef SkBitmapDevice INHERITED; | 216 typedef SkBitmapDevice INHERITED; |
| 215 }; | 217 }; |
| 216 | 218 |
| 217 #endif | 219 #endif |
| OLD | NEW |