aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/SkGr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/SkGr.h')
-rw-r--r--src/gpu/SkGr.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gpu/SkGr.h b/src/gpu/SkGr.h
index 144a47785b..450f6ff61b 100644
--- a/src/gpu/SkGr.h
+++ b/src/gpu/SkGr.h
@@ -119,15 +119,12 @@ bool SkPaintToGrPaintReplaceShader(GrContext*,
GrPaint* grPaint);
/** Blends the SkPaint's shader (or color if no shader) with the color which specified via a
- GrOp's GrPrimitiveProcesssor. Currently there is a bool param to indicate whether the
- primitive color is the dst or src color to the blend in order to work around differences between
- drawVertices and drawAtlas. */
+ GrOp's GrPrimitiveProcesssor. */
bool SkPaintToGrPaintWithXfermode(GrContext* context,
GrRenderTargetContext* rtc,
const SkPaint& skPaint,
const SkMatrix& viewM,
SkBlendMode primColorMode,
- bool primitiveIsSrc,
GrPaint* grPaint);
/** This is used when there is a primitive color, but the shader should be ignored. Currently,
@@ -137,7 +134,7 @@ bool SkPaintToGrPaintWithXfermode(GrContext* context,
inline bool SkPaintToGrPaintWithPrimitiveColor(GrContext* context, GrRenderTargetContext* rtc,
const SkPaint& skPaint, GrPaint* grPaint) {
return SkPaintToGrPaintWithXfermode(context, rtc, skPaint, SkMatrix::I(), SkBlendMode::kDst,
- false, grPaint);
+ grPaint);
}
/** This is used when there may or may not be a shader, and the caller wants to plugin a texture