Index: src/core/SkBitmapProcShader.cpp |
diff --git a/src/core/SkBitmapProcShader.cpp b/src/core/SkBitmapProcShader.cpp |
index 456e0d492087d29d84070ee1590b9a5da352aedc..c1a03fecaf22f65b9b95c6c42f33a241f9780df7 100644 |
--- a/src/core/SkBitmapProcShader.cpp |
+++ b/src/core/SkBitmapProcShader.cpp |
@@ -397,14 +397,14 @@ bool SkBitmapProcShader::asFragmentProcessor(GrContext* context, const SkPaint& |
// are provided by the caller. |
bool useBicubic = false; |
GrTextureParams::FilterMode textureFilterMode; |
- switch(paint.getFilterLevel()) { |
- case SkPaint::kNone_FilterLevel: |
+ switch(paint.getFilterQuality()) { |
+ case kNone_SkFilterQuality: |
textureFilterMode = GrTextureParams::kNone_FilterMode; |
break; |
- case SkPaint::kLow_FilterLevel: |
+ case kLow_SkFilterQuality: |
textureFilterMode = GrTextureParams::kBilerp_FilterMode; |
break; |
- case SkPaint::kMedium_FilterLevel: { |
+ case kMedium_SkFilterQuality: { |
SkMatrix matrix; |
matrix.setConcat(viewM, this->getLocalMatrix()); |
if (matrix.getMinScale() < SK_Scalar1) { |
@@ -415,7 +415,7 @@ bool SkBitmapProcShader::asFragmentProcessor(GrContext* context, const SkPaint& |
} |
break; |
} |
- case SkPaint::kHigh_FilterLevel: { |
+ case kHigh_SkFilterQuality: { |
SkMatrix matrix; |
matrix.setConcat(viewM, this->getLocalMatrix()); |
useBicubic = GrBicubicEffect::ShouldUseBicubic(matrix, &textureFilterMode); |