aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/effects/GrDisableColorXP.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/effects/GrDisableColorXP.h')
-rw-r--r--src/gpu/effects/GrDisableColorXP.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gpu/effects/GrDisableColorXP.h b/src/gpu/effects/GrDisableColorXP.h
index 5b4ebcf929..f1ac32bb4f 100644
--- a/src/gpu/effects/GrDisableColorXP.h
+++ b/src/gpu/effects/GrDisableColorXP.h
@@ -26,7 +26,8 @@ private:
AnalysisProperties analysisProperties(const GrProcessorAnalysisColor&,
const GrProcessorAnalysisCoverage&,
- const GrCaps&) const override {
+ const GrCaps&,
+ GrPixelConfigIsClamped) const override {
return AnalysisProperties::kCompatibleWithAlphaAsCoverage |
AnalysisProperties::kIgnoresInputColor;
}
@@ -34,7 +35,8 @@ private:
sk_sp<const GrXferProcessor> makeXferProcessor(const GrProcessorAnalysisColor&,
GrProcessorAnalysisCoverage,
bool hasMixedSamples,
- const GrCaps&) const override;
+ const GrCaps&,
+ GrPixelConfigIsClamped) const override;
GR_DECLARE_XP_FACTORY_TEST