aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/GrContext.h')
-rw-r--r--include/gpu/GrContext.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index 65fac230cc..c4691e4652 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -445,6 +445,9 @@ private:
bool swapRAndB, const SkMatrix&);
const GrFragmentProcessor* createUPMToPMEffect(GrProcessorDataManager*, GrTexture*,
bool swapRAndB, const SkMatrix&);
+ /** Returns true if we've already determined that createPMtoUPMEffect and createUPMToPMEffect
+ will fail. In such cases fall back to SW conversion. */
+ bool didFailPMUPMConversionTest() const;
/**
* This callback allows the resource cache to callback into the GrContext