diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-26 13:01:20 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-26 13:01:20 +0000 |
commit | 08283afc265f1153834256fc1012519813ba6b73 (patch) | |
tree | 553cfc58076746c1326f88b23dc814f42457be87 /src/gpu/effects/GrConfigConversionEffect.cpp | |
parent | 27b40e9f36f567a57ae92860052b36cedacdd4fd (diff) |
Rename GrSamplerState to GrEffectStage.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/6777053
git-svn-id: http://skia.googlecode.com/svn/trunk@6135 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/effects/GrConfigConversionEffect.cpp')
-rw-r--r-- | src/gpu/effects/GrConfigConversionEffect.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/effects/GrConfigConversionEffect.cpp b/src/gpu/effects/GrConfigConversionEffect.cpp index b6a69f21b5..cb4cb24a02 100644 --- a/src/gpu/effects/GrConfigConversionEffect.cpp +++ b/src/gpu/effects/GrConfigConversionEffect.cpp @@ -185,16 +185,16 @@ void GrConfigConversionEffect::TestForPreservingPMConversions(GrContext* context (tempTex, false, *pmToUPMRule))); context->setRenderTarget(readTex->asRenderTarget()); - paint.colorSampler(0)->setEffect(pmToUPMEffect1); + paint.colorStage(0)->setEffect(pmToUPMEffect1); context->drawRectToRect(paint, kDstRect, kSrcRect); readTex->readPixels(0, 0, 256, 256, kRGBA_8888_GrPixelConfig, firstRead); context->setRenderTarget(tempTex->asRenderTarget()); - paint.colorSampler(0)->setEffect(upmToPMEffect); + paint.colorStage(0)->setEffect(upmToPMEffect); context->drawRectToRect(paint, kDstRect, kSrcRect); context->setRenderTarget(readTex->asRenderTarget()); - paint.colorSampler(0)->setEffect(pmToUPMEffect2); + paint.colorStage(0)->setEffect(pmToUPMEffect2); context->drawRectToRect(paint, kDstRect, kSrcRect); readTex->readPixels(0, 0, 256, 256, kRGBA_8888_GrPixelConfig, secondRead); |