Index: src/gpu/effects/GrConfigConversionEffect.cpp |
diff --git a/src/gpu/effects/GrConfigConversionEffect.cpp b/src/gpu/effects/GrConfigConversionEffect.cpp |
index 09f0d6cb56ab49217f943c48ea74d93163d8c63d..5f51f6a2c7b01a2f4c32a45ca5cf77ee690b98a5 100644 |
--- a/src/gpu/effects/GrConfigConversionEffect.cpp |
+++ b/src/gpu/effects/GrConfigConversionEffect.cpp |
@@ -231,11 +231,11 @@ void GrConfigConversionEffect::TestForPreservingPMConversions(GrContext* context |
break; |
} |
- readDrawContext->drawNonAARectToRect(GrClip::WideOpen(), |
- paint1, |
- SkMatrix::I(), |
- kDstRect, |
- kSrcRect); |
+ readDrawContext->fillRectToRect(GrClip::WideOpen(), |
+ paint1, |
+ SkMatrix::I(), |
+ kDstRect, |
+ kSrcRect); |
readTex->readPixels(0, 0, 256, 256, kRGBA_8888_GrPixelConfig, firstRead); |
@@ -247,11 +247,11 @@ void GrConfigConversionEffect::TestForPreservingPMConversions(GrContext* context |
failed = true; |
break; |
} |
- tempDrawContext->drawNonAARectToRect(GrClip::WideOpen(), |
- paint2, |
- SkMatrix::I(), |
- kDstRect, |
- kSrcRect); |
+ tempDrawContext->fillRectToRect(GrClip::WideOpen(), |
+ paint2, |
+ SkMatrix::I(), |
+ kDstRect, |
+ kSrcRect); |
paint3.addColorFragmentProcessor(pmToUPM2); |
@@ -261,11 +261,11 @@ void GrConfigConversionEffect::TestForPreservingPMConversions(GrContext* context |
break; |
} |
- readDrawContext->drawNonAARectToRect(GrClip::WideOpen(), |
- paint3, |
- SkMatrix::I(), |
- kDstRect, |
- kSrcRect); |
+ readDrawContext->fillRectToRect(GrClip::WideOpen(), |
+ paint3, |
+ SkMatrix::I(), |
+ kDstRect, |
+ kSrcRect); |
readTex->readPixels(0, 0, 256, 256, kRGBA_8888_GrPixelConfig, secondRead); |