Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: include/gpu/SkGpuDevice.h

Issue 264303008: Disable filtering in draw Bitmap operation when pixels are aligned (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/gpu/SkGpuDevice.cpp » ('j') | src/gpu/SkGpuDevice.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 &params,
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
OLDNEW
« no previous file with comments | « no previous file | src/gpu/SkGpuDevice.cpp » ('j') | src/gpu/SkGpuDevice.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698