Index: include/gpu/GrContext.h |
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h |
index 65fac230ccabd8eb7b2a650eba3e62b99b843bd2..c4691e4652e6c811755a8ca23abb54ac4949075d 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 |