Index: src/gpu/text/GrStencilAndCoverTextContext.cpp |
diff --git a/src/gpu/text/GrStencilAndCoverTextContext.cpp b/src/gpu/text/GrStencilAndCoverTextContext.cpp |
index 4c2a615a663f0d318de04e70b782b400b5bc4279..257dfb496631c7d8a507347eb2b13b202f6547b9 100644 |
--- a/src/gpu/text/GrStencilAndCoverTextContext.cpp |
+++ b/src/gpu/text/GrStencilAndCoverTextContext.cpp |
@@ -165,7 +165,8 @@ void GrStencilAndCoverTextContext::uncachedDrawTextBlob(GrContext* context, |
runPaint.setFlags(GrTextUtils::FilterTextFlags(props, runPaint)); |
GrPaint grPaint; |
- if (!SkPaintToGrPaint(context, runPaint, viewMatrix, &grPaint)) { |
+ // SRGBTODO: AllowSRGBInputs? (Is the dc here going to be real/correct)? |
bsalomon
2016/04/05 13:24:01
It should be correct.
Brian Osman
2016/04/05 15:36:41
Acknowledged.
|
+ if (!SkPaintToGrPaint(context, runPaint, viewMatrix, dc->allowSRGBInputs(), &grPaint)) { |
return; |
} |
@@ -220,7 +221,8 @@ void GrStencilAndCoverTextContext::drawTextBlob(GrContext* context, GrDrawContex |
} |
GrPaint paint; |
- if (!SkPaintToGrPaint(context, skPaint, viewMatrix, &paint)) { |
+ // SRGBTODO: AllowSRGBInputs? (Is the dc here going to be real/correct)? |
bsalomon
2016/04/05 13:24:01
ditto
Brian Osman
2016/04/05 15:36:41
Acknowledged.
|
+ if (!SkPaintToGrPaint(context, skPaint, viewMatrix, dc->allowSRGBInputs(), &paint)) { |
return; |
} |