Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(312)

Unified Diff: src/gpu/effects/GrConfigConversionEffect.cpp

Issue 1307223004: Remove GrStagedProcessor, remove the word Stage as it applies to FPs (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix misresolve Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/batches/GrDrawBatch.h ('k') | src/gpu/gl/GrGLPathProgram.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/effects/GrConfigConversionEffect.cpp
diff --git a/src/gpu/effects/GrConfigConversionEffect.cpp b/src/gpu/effects/GrConfigConversionEffect.cpp
index 06b2d8db6d1b06428d1cf7638694412ffea418e1..cee0f2f02bf32208fd19df58b4201f8da2720543 100644
--- a/src/gpu/effects/GrConfigConversionEffect.cpp
+++ b/src/gpu/effects/GrConfigConversionEffect.cpp
@@ -223,7 +223,7 @@ void GrConfigConversionEffect::TestForPreservingPMConversions(GrContext* context
SkAutoTUnref<GrFragmentProcessor> pmToUPM2(new GrConfigConversionEffect(
paint3.getProcessorDataManager(), tempTex, false, *pmToUPMRule, SkMatrix::I()));
- paint1.addColorProcessor(pmToUPM1);
+ paint1.addColorFragmentProcessor(pmToUPM1);
GrDrawContext* readDrawContext = context->drawContext();
@@ -241,7 +241,7 @@ void GrConfigConversionEffect::TestForPreservingPMConversions(GrContext* context
readTex->readPixels(0, 0, 256, 256, kRGBA_8888_GrPixelConfig, firstRead);
- paint2.addColorProcessor(upmToPM);
+ paint2.addColorFragmentProcessor(upmToPM);
GrDrawContext* tempDrawContext = context->drawContext();
if (!tempDrawContext) {
@@ -255,7 +255,7 @@ void GrConfigConversionEffect::TestForPreservingPMConversions(GrContext* context
kDstRect,
kSrcRect);
- paint3.addColorProcessor(pmToUPM2);
+ paint3.addColorFragmentProcessor(pmToUPM2);
readDrawContext = context->drawContext();
if (!readDrawContext) {
« no previous file with comments | « src/gpu/batches/GrDrawBatch.h ('k') | src/gpu/gl/GrGLPathProgram.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698