Lines Matching refs:blendFunc
169 , blendFunc (blendFunc_) in BlendState()
176 return (!enableBlend) && (!blendEq) && (!blendFunc) && (!colorMask); in isEmpty()
181 Maybe<Either<BlendFunc, SeparateBlendFunc> > blendFunc; member
214 if (blend.blendFunc) in setCommonBlendState()
216 const Either<BlendFunc, SeparateBlendFunc>& blendFunc = *blend.blendFunc; in setCommonBlendState() local
218 if (blendFunc.is<BlendFunc>()) in setCommonBlendState()
219 gl.blendFunc(blendFunc.get<BlendFunc>().src, blendFunc.get<BlendFunc>().dst); in setCommonBlendState()
220 else if (blendFunc.is<SeparateBlendFunc>()) in setCommonBlendState()
221 …rate(blendFunc.get<SeparateBlendFunc>().rgb.src, blendFunc.get<SeparateBlendFunc>().rgb.dst, blend… in setCommonBlendState()
258 if (blend.blendFunc) in setIndexedBlendState()
260 const Either<BlendFunc, SeparateBlendFunc>& blendFunc = *blend.blendFunc; in setIndexedBlendState() local
262 if (blendFunc.is<BlendFunc>()) in setIndexedBlendState()
263 gl.blendFunci(index, blendFunc.get<BlendFunc>().src, blendFunc.get<BlendFunc>().dst); in setIndexedBlendState()
264 else if (blendFunc.is<SeparateBlendFunc>()) in setIndexedBlendState()
265 …dex, blendFunc.get<SeparateBlendFunc>().rgb.src, blendFunc.get<SeparateBlendFunc>().rgb.dst, blend… in setIndexedBlendState()
615 if (state.blendFunc) in setBlendState()
617 if (state.blendFunc->is<BlendFunc>()) in setBlendState()
619 const rr::BlendFunc srcFunction = mapGLBlendFunc(state.blendFunc->get<BlendFunc>().src); in setBlendState()
620 const rr::BlendFunc dstFunction = mapGLBlendFunc(state.blendFunc->get<BlendFunc>().dst); in setBlendState()
630 DE_ASSERT(state.blendFunc->is<SeparateBlendFunc>()); in setBlendState()
632 … fragOps.blendRGBState.srcFunc = mapGLBlendFunc(state.blendFunc->get<SeparateBlendFunc>().rgb.src); in setBlendState()
633 … fragOps.blendRGBState.dstFunc = mapGLBlendFunc(state.blendFunc->get<SeparateBlendFunc>().rgb.dst); in setBlendState()
635 …fragOps.blendAState.srcFunc = mapGLBlendFunc(state.blendFunc->get<SeparateBlendFunc>().alpha.src); in setBlendState()
636 …fragOps.blendAState.dstFunc = mapGLBlendFunc(state.blendFunc->get<SeparateBlendFunc>().alpha.dst); in setBlendState()
1079 if (blend.blendFunc) in logBlendState()
1081 const Either<BlendFunc, SeparateBlendFunc>& blendFunc = *blend.blendFunc; in logBlendState() local
1083 if (blendFunc.is<BlendFunc>()) in logBlendState()
1084 …ce: " << glu::getBlendFactorStr(blendFunc.get<BlendFunc>().src) << ", destination: " << glu::getBl… in logBlendState()
1085 else if (blendFunc.is<SeparateBlendFunc>()) in logBlendState()
1087 …<< glu::getBlendFactorStr(blendFunc.get<SeparateBlendFunc>().rgb.src) << ", destination: " << glu:… in logBlendState()
1088 …< glu::getBlendFactorStr(blendFunc.get<SeparateBlendFunc>().alpha.src) << ", destination: " << glu… in logBlendState()
1279 blendState.blendFunc = getRandomBlendFunc(rng); in genRandomBlendState()
1285 blendState.blendFunc = SeparateBlendFunc(rgb, alpha); in genRandomBlendState()
1501 …(commonState.blendFunc ? commonState.blendFunc : just(Either<BlendFunc, SeparateBlendFunc>(BlendFu… in createDiffTest()
1538 …(commonState.blendFunc ? commonState.blendFunc : just(Either<BlendFunc, SeparateBlendFunc>(BlendFu… in createAdvancedEqDiffTest()