Index: src/opts/SkBitmapProcState_opts_mips_dsp.cpp |
diff --git a/src/opts/SkBitmapProcState_opts_mips_dsp.cpp b/src/opts/SkBitmapProcState_opts_mips_dsp.cpp |
index 6051cd8ab54d1943f853efaaf19f6c522970a686..049519a61364a5181c389fa7d2fc162fbeab578e 100644 |
--- a/src/opts/SkBitmapProcState_opts_mips_dsp.cpp |
+++ b/src/opts/SkBitmapProcState_opts_mips_dsp.cpp |
@@ -17,7 +17,7 @@ static void SI8_D16_nofilter_DX_mips_dsp(const SkBitmapProcState& s, |
int count, uint16_t* SK_RESTRICT colors) { |
SkASSERT(count > 0 && colors != NULL); |
SkASSERT(s.fInvType <= (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)); |
- SkASSERT(SkPaint::kNone_FilterLevel == s.fFilterLevel); |
+ SkASSERT(kNone_SkFilterQuality == s.fFilterLevel); |
const uint16_t* SK_RESTRICT table = s.fBitmap->getColorTable()->read16BitCache(); |
const uint8_t* SK_RESTRICT srcAddr = (const uint8_t*)s.fBitmap->getPixels(); |
SkASSERT((unsigned)xy[0] < (unsigned)s.fBitmap->height()); |
@@ -149,7 +149,7 @@ static void SI8_opaque_D32_nofilter_DX_mips_dsp(const SkBitmapProcState& s, |
int count, SkPMColor* SK_RESTRICT colors) { |
SkASSERT(count > 0 && colors != NULL); |
SkASSERT(s.fInvType <= (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)); |
- SkASSERT(SkPaint::kNone_FilterLevel == s.fFilterLevel); |
+ SkASSERT(kNone_SkFilterQuality == s.fFilterLevel); |
const SkPMColor* SK_RESTRICT table = s.fBitmap->getColorTable()->readColors(); |
const uint8_t* SK_RESTRICT srcAddr = (const uint8_t*)s.fBitmap->getPixels(); |
srcAddr = (const uint8_t*)((const char*)srcAddr + xy[0] * s.fBitmap->rowBytes()); |
@@ -378,7 +378,7 @@ void SkBitmapProcState::platformProcs() { |
switch (fBitmap->colorType()) { |
case kIndex_8_SkColorType: |
- if (justDx && SkPaint::kNone_FilterLevel == fFilterLevel) { |
+ if (justDx && kNone_SkFilterQuality == fFilterLevel) { |
fSampleProc16 = SI8_D16_nofilter_DX_mips_dsp; |
fShaderProc16 = NULL; |
if (isOpaque) { |