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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 const GrTextureParams& sampler, | 200 const GrTextureParams& sampler, |
201 const SkRect* srcRectPtr, | 201 const SkRect* srcRectPtr, |
202 int maxTileSize, | 202 int maxTileSize, |
203 int* tileSize, | 203 int* tileSize, |
204 SkIRect* clippedSrcRect) const; | 204 SkIRect* clippedSrcRect) const; |
205 void internalDrawBitmap(const SkBitmap&, | 205 void internalDrawBitmap(const SkBitmap&, |
206 const SkRect&, | 206 const SkRect&, |
207 const GrTextureParams& params, | 207 const GrTextureParams& params, |
208 const SkPaint& paint, | 208 const SkPaint& paint, |
209 SkCanvas::DrawBitmapRectFlags flags, | 209 SkCanvas::DrawBitmapRectFlags flags, |
210 bool bicubic); | 210 bool bicubic, |
| 211 bool needsTextureDomain); |
211 void drawTiledBitmap(const SkBitmap& bitmap, | 212 void drawTiledBitmap(const SkBitmap& bitmap, |
212 const SkRect& srcRect, | 213 const SkRect& srcRect, |
213 const SkIRect& clippedSrcRect, | 214 const SkIRect& clippedSrcRect, |
214 const GrTextureParams& params, | 215 const GrTextureParams& params, |
215 const SkPaint& paint, | 216 const SkPaint& paint, |
216 SkCanvas::DrawBitmapRectFlags flags, | 217 SkCanvas::DrawBitmapRectFlags flags, |
217 int tileSize, | 218 int tileSize, |
218 bool bicubic); | 219 bool bicubic); |
| 220 bool needsTextureDomain(const SkBitmap& bitmap, |
| 221 const SkRect& srcRect, |
| 222 GrTextureParams ¶ms, |
| 223 bool bicubic); |
219 | 224 |
220 static SkPicture::AccelData::Key ComputeAccelDataKey(); | 225 static SkPicture::AccelData::Key ComputeAccelDataKey(); |
221 | 226 |
222 typedef SkBitmapDevice INHERITED; | 227 typedef SkBitmapDevice INHERITED; |
223 }; | 228 }; |
224 | 229 |
225 #endif | 230 #endif |
OLD | NEW |