Index: src/gpu/GrDrawContext.cpp |
diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp |
index 9110b34d6f38be969a62d637fedbed0e8e28f36e..37e42ff2440ffabd4cb5c393345056dffd0f6f9c 100644 |
--- a/src/gpu/GrDrawContext.cpp |
+++ b/src/gpu/GrDrawContext.cpp |
@@ -386,6 +386,7 @@ bool GrDrawContextPriv::drawAndStencilRect(const SkIRect* scissorRect, |
AutoCheckFlush acf(fDrawContext->fDrawingManager); |
GrPaint paint; |
+ // SRGBTODO: AllowSRGBInputs? |
bsalomon
2016/04/05 13:24:01
Shouldn't matter. This is used to draw clip masks
Brian Osman
2016/04/05 15:36:41
Acknowledged.
|
paint.setAntiAlias(doAA); |
paint.setCoverageSetOpXPFactory(op, invert); |
@@ -901,6 +902,7 @@ bool GrDrawContextPriv::drawAndStencilPath(const SkIRect* scissorRect, |
} |
GrPaint paint; |
+ // SRGBTODO: AllowSRGBInputs? |
bsalomon
2016/04/05 13:24:01
Also drawing clip masks here.
Brian Osman
2016/04/05 15:36:41
Acknowledged.
|
paint.setCoverageSetOpXPFactory(op, invert); |
// TODO: it is unfortunate that we have to convert this to a GrClip to |