Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: /home/caron/workspace/avx8_froyo/lgf/mydroid/external/webkit/WebCore/platform/graphics/skia/ImageSkia.cpp
- ===================================================================
- --- /home/caron/workspace/avx8_froyo/lgf/mydroid/external/webkit/WebCore/platform/graphics/skia/ImageSkia.cpp (révision 79694)
- +++ /home/caron/workspace/avx8_froyo/lgf/mydroid/external/webkit/WebCore/platform/graphics/skia/ImageSkia.cpp (copie de travail)
- @@ -219,7 +219,6 @@
- {
- SkPaint paint;
- paint.setXfermodeMode(compOp);
- - paint.setFilterBitmap(true);
- int alpha = roundf(platformContext->getAlpha() * 256);
- if (alpha > 255)
- alpha = 255;
- @@ -236,6 +235,8 @@
- if (resampling == RESAMPLE_AWESOME) {
- drawResampledBitmap(*canvas, paint, bitmap, srcRect, destRect);
- } else {
- + if (resampling == RESAMPLE_LINEAR) paint.setFilterBitmap(true);
- + else paint.setFilterBitmap(false);
- // No resampling necessary, we can just draw the bitmap. We want to
- // filter it if we decided to do linear interpolation above, or if there
- // is something interesting going on with the matrix (like a rotation).
Advertisement
Add Comment
Please, Sign In to add comment