Index: include/gpu/effects/GrPorterDuffXferProcessor.h |
diff --git a/include/gpu/effects/GrPorterDuffXferProcessor.h b/include/gpu/effects/GrPorterDuffXferProcessor.h |
index 6c860b971c34c71b5f057cb3783eaa15f3c54ad6..a348a0255b94b2469a9d806bdfdacc5e18376089 100644 |
--- a/include/gpu/effects/GrPorterDuffXferProcessor.h |
+++ b/include/gpu/effects/GrPorterDuffXferProcessor.h |
@@ -37,6 +37,9 @@ public: |
//// |
enum PrimaryOutputType { |
+ kNone_PrimaryOutputType, |
+ kColor_PrimaryOutputType, |
+ kCoverage_PrimaryOutputType, |
// Modulate color and coverage, write result as the color output. |
kModulate_PrimaryOutputType, |
// Combines the coverage, dst, and color as coverage * color + (1 - coverage) * dst. This |
@@ -68,8 +71,7 @@ public: |
bool isCoverageDrawing, |
bool colorWriteDisabled, |
bool doesStencilWrite, |
- GrColor* color, |
- uint8_t* coverage, |
+ GrColor* overrideColor, |
const GrDrawTargetCaps& caps) SK_OVERRIDE; |
void getBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const SK_OVERRIDE { |
@@ -99,9 +101,7 @@ private: |
const GrProcOptInfo& coveragePOI, |
bool isCoverageDrawing, |
bool colorWriteDisabled, |
- bool doesStencilWrite, |
- GrColor* color, |
- uint8_t* coverage); |
+ bool doesStencilWrite); |
void calcOutputTypes(GrXferProcessor::OptFlags blendOpts, const GrDrawTargetCaps& caps, |
bool hasSolidCoverage, bool readDst); |