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

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

Issue 83153006: HQ filtering for tiled/bleed drawBitmap (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: fix build warning for case where filter mode is unrecognized. Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « expectations/gm/ignored-tests.txt ('k') | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »
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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
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);
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
OLDNEW
« no previous file with comments | « expectations/gm/ignored-tests.txt ('k') | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698