Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrDrawTarget.cpp846 GrBlendCoeff* srcCoeff, in getBlendOpts() argument
853 if (NULL == srcCoeff) { in getBlendOpts()
854 srcCoeff = &bogusSrcCoeff; in getBlendOpts()
856 *srcCoeff = drawState.getSrcBlendCoeff(); in getBlendOpts()
864 GrAssert(kSA_BlendCoeff != *srcCoeff && in getBlendOpts()
865 kISA_BlendCoeff != *srcCoeff && in getBlendOpts()
866 kSC_BlendCoeff != *srcCoeff && in getBlendOpts()
867 kISC_BlendCoeff != *srcCoeff); in getBlendOpts()
875 *srcCoeff = kZero_BlendCoeff; in getBlendOpts()
889 if ((kZero_BlendCoeff == *srcCoeff && dstCoeffIsOne) || in getBlendOpts()
[all …]
DGrDrawState.h272 void setBlendFunc(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) { in setBlendFunc()
273 fSrcBlend = srcCoeff; in setBlendFunc()
287 switch (srcCoeff) { in setBlendFunc()
DGrDrawTarget.h875 GrBlendCoeff* srcCoeff = NULL,
/external/skia/src/gpu/gl/
DGrGpuGL.h171 GrBlendCoeff srcCoeff,
DGrGpuGLShaders.cpp756 GrBlendCoeff srcCoeff; in flushGraphicsState() local
758 BlendOptFlags blendOpts = this->getBlendOpts(false, &srcCoeff, &dstCoeff); in flushGraphicsState()
774 fCurrentProgram.overrideBlend(&srcCoeff, &dstCoeff); in flushGraphicsState()
775 this->flushBlend(type, srcCoeff, dstCoeff); in flushGraphicsState()
DGrGLProgram.h57 void overrideBlend(GrBlendCoeff* srcCoeff, GrBlendCoeff* dstCoeff) const;
DGrGpuGL.cpp1877 GrBlendCoeff srcCoeff, in flushBlend() argument
1894 bool blendOff = kOne_BlendCoeff == srcCoeff && in flushBlend()
1905 if (fHWDrawState.getSrcBlendCoeff() != srcCoeff || in flushBlend()
1907 GL_CALL(BlendFunc(gXfermodeCoeff2Blend[srcCoeff], in flushBlend()
1909 fHWDrawState.setBlendFunc(srcCoeff, dstCoeff); in flushBlend()
1912 if ((BlendCoeffReferencesConstant(srcCoeff) || in flushBlend()
DGrGLProgram.cpp186 void GrGLProgram::overrideBlend(GrBlendCoeff* srcCoeff, in overrideBlend() argument
262 static inline void needBlendInputs(SkXfermode::Coeff srcCoeff, in needBlendInputs() argument
266 if (SkXfermode::kZero_Coeff == srcCoeff) { in needBlendInputs()
283 switch (srcCoeff) { in needBlendInputs()
/external/skia/src/utils/
DSkDeferredCanvas.cpp27 SkXfermode::Coeff srcCoeff, dstCoeff; in isPaintOpaque() local
28 if (SkXfermode::AsCoeff(paint->getXfermode(), &srcCoeff, &dstCoeff)){ in isPaintOpaque()