Index: src/gpu/effects/GrBezierEffect.h |
diff --git a/src/gpu/effects/GrBezierEffect.h b/src/gpu/effects/GrBezierEffect.h |
index 7f79988470e5e327a018be17cf7b66be9906278a..07d255c3b228faa64c3a520f13aada55cf66c598 100644 |
--- a/src/gpu/effects/GrBezierEffect.h |
+++ b/src/gpu/effects/GrBezierEffect.h |
@@ -66,14 +66,14 @@ public: |
uint8_t coverage = 0xff) { |
switch (edgeType) { |
case kFillAA_GrProcessorEdgeType: |
- if (!caps.shaderDerivativeSupport()) { |
+ if (!caps.shaderCaps()->shaderDerivativeSupport()) { |
return NULL; |
} |
return SkNEW_ARGS(GrConicEffect, (color, viewMatrix, coverage, |
kFillAA_GrProcessorEdgeType, |
localMatrix)); |
case kHairlineAA_GrProcessorEdgeType: |
- if (!caps.shaderDerivativeSupport()) { |
+ if (!caps.shaderCaps()->shaderDerivativeSupport()) { |
return NULL; |
} |
return SkNEW_ARGS(GrConicEffect, (color, viewMatrix, coverage, |
@@ -151,14 +151,14 @@ public: |
uint8_t coverage = 0xff) { |
switch (edgeType) { |
case kFillAA_GrProcessorEdgeType: |
- if (!caps.shaderDerivativeSupport()) { |
+ if (!caps.shaderCaps()->shaderDerivativeSupport()) { |
return NULL; |
} |
return SkNEW_ARGS(GrQuadEffect, (color, viewMatrix, coverage, |
kFillAA_GrProcessorEdgeType, |
localMatrix)); |
case kHairlineAA_GrProcessorEdgeType: |
- if (!caps.shaderDerivativeSupport()) { |
+ if (!caps.shaderCaps()->shaderDerivativeSupport()) { |
return NULL; |
} |
return SkNEW_ARGS(GrQuadEffect, (color, viewMatrix, coverage, |
@@ -236,12 +236,12 @@ public: |
const GrDrawTargetCaps& caps) { |
switch (edgeType) { |
case kFillAA_GrProcessorEdgeType: |
- if (!caps.shaderDerivativeSupport()) { |
+ if (!caps.shaderCaps()->shaderDerivativeSupport()) { |
return NULL; |
} |
return SkNEW_ARGS(GrCubicEffect, (color, viewMatrix, kFillAA_GrProcessorEdgeType)); |
case kHairlineAA_GrProcessorEdgeType: |
- if (!caps.shaderDerivativeSupport()) { |
+ if (!caps.shaderCaps()->shaderDerivativeSupport()) { |
return NULL; |
} |
return SkNEW_ARGS(GrCubicEffect, (color, viewMatrix, |