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