Home | History | Annotate | Download | only in skia

Lines Matching refs:resampling

57     // Nearest neighbor resampling. Used when we detect that the page is
61 // Default skia resampling. Used for large growing of images where high
62 // quality resampling doesn't get us very much except a slowdown.
65 // High quality resampling.
96 // background that doesn't need resampling.
100 // common cases where resampling won't give us anything, since it is much
126 // The image is growing a lot and in more than one direction. Resampling
134 // one or two pixels. We don't bother resampling if the size difference
164 // Resampling the whole image every time is very slow, so this speeds up things
269 ResamplingMode resampling;
271 resampling = RESAMPLE_LINEAR;
273 resampling = platformContext->printing() ? RESAMPLE_NONE :
278 if (resampling == RESAMPLE_AWESOME) {
281 // No resampling necessary, we can just draw the bitmap. We want to
371 // Compute the resampling mode.
372 ResamplingMode resampling;
374 resampling = RESAMPLE_LINEAR;
377 resampling = RESAMPLE_LINEAR;
379 resampling = computeResamplingMode(context->platformContext(), *bitmap,
388 if (resampling == RESAMPLE_AWESOME) {
389 // Do nice resampling.
410 // No need to do nice resampling.
429 paint.setFilterBitmap(resampling == RESAMPLE_LINEAR);