Home
last modified time | relevance | path

Searched refs:srcCoeff (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/core/
DSkPaintPriv.cpp24 SkXfermode::Coeff srcCoeff, dstCoeff; in isPaintOpaque() local
25 if (SkXfermode::AsCoeff(paint->getXfermode(), &srcCoeff, &dstCoeff)){ in isPaintOpaque()
26 if (SkXfermode::kDA_Coeff == srcCoeff || SkXfermode::kDC_Coeff == srcCoeff || in isPaintOpaque()
27 SkXfermode::kIDA_Coeff == srcCoeff || SkXfermode::kIDC_Coeff == srcCoeff) { in isPaintOpaque()
/external/skia/src/gpu/
DGrDrawTarget.cpp490 GrBlendCoeff* srcCoeff, in getBlendOpts() argument
503 if (NULL == srcCoeff) { in getBlendOpts()
504 srcCoeff = &bogusSrcCoeff; in getBlendOpts()
506 *srcCoeff = drawState.getSrcBlendCoeff(); in getBlendOpts()
514 *srcCoeff = kZero_GrBlendCoeff; in getBlendOpts()
530 if ((kZero_GrBlendCoeff == *srcCoeff && dstCoeffIsOne) || covIsZero) { in getBlendOpts()
557 if (kOne_GrBlendCoeff == *srcCoeff) { in getBlendOpts()
561 } else if (kZero_GrBlendCoeff == *srcCoeff) { in getBlendOpts()
564 *srcCoeff = kOne_GrBlendCoeff; in getBlendOpts()
579 if (kZero_GrBlendCoeff == *srcCoeff) { in getBlendOpts()
DGrDrawState.h626 void setBlendFunc(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) { in setBlendFunc() argument
627 fCommon.fSrcBlend = srcCoeff; in setBlendFunc()
641 switch (srcCoeff) { in setBlendFunc()
DGrDrawTarget.h668 GrBlendCoeff* srcCoeff = NULL,
/external/skia/include/gpu/
DGrPaint.h61 void setBlendFunc(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) { in setBlendFunc() argument
62 fSrcBlendCoeff = srcCoeff; in setBlendFunc()
/external/skia/src/gpu/gl/
DGrGpuGL_program.cpp267 GrBlendCoeff srcCoeff; in flushGraphicsState() local
269 BlendOptFlags blendOpts = this->getBlendOpts(false, &srcCoeff, &dstCoeff); in flushGraphicsState()
292 fCurrentProgram->overrideBlend(&srcCoeff, &dstCoeff); in flushGraphicsState()
293 this->flushBlend(kDrawLines_DrawType == type, srcCoeff, dstCoeff); in flushGraphicsState()
DGrGLProgram.h59 void overrideBlend(GrBlendCoeff* srcCoeff, GrBlendCoeff* dstCoeff) const;
DGrGLProgram.cpp104 void GrGLProgram::overrideBlend(GrBlendCoeff* srcCoeff, in overrideBlend() argument
126 inline void need_blend_inputs(SkXfermode::Coeff srcCoeff, in need_blend_inputs() argument
130 if (SkXfermode::kZero_Coeff == srcCoeff) { in need_blend_inputs()
147 switch (srcCoeff) { in need_blend_inputs()
DGrGpuGL.cpp1936 GrBlendCoeff srcCoeff, in flushBlend() argument
1954 bool blendOff = kOne_GrBlendCoeff == srcCoeff && in flushBlend()
1966 if (fHWBlendState.fSrcCoeff != srcCoeff || in flushBlend()
1968 GL_CALL(BlendFunc(gXfermodeCoeff2Blend[srcCoeff], in flushBlend()
1970 fHWBlendState.fSrcCoeff = srcCoeff; in flushBlend()
1974 if ((BlendCoeffReferencesConstant(srcCoeff) || in flushBlend()
DGrGpuGL.h130 void flushBlend(bool isLines, GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff);
/external/skia/legacy/src/utils/
DSkDeferredCanvas.cpp27 SkXfermode::Coeff srcCoeff, dstCoeff; in isPaintOpaque() local
28 if (SkXfermode::AsCoeff(paint->getXfermode(), &srcCoeff, &dstCoeff)){ in isPaintOpaque()