Lines Matching refs:blendEq
168 , blendEq (blendEq_) in BlendState()
176 return (!enableBlend) && (!blendEq) && (!blendFunc) && (!colorMask); in isEmpty()
180 Maybe<Either<BlendEq, SeparateBlendEq> > blendEq; member
202 if (blend.blendEq) in setCommonBlendState()
204 const Either<BlendEq, SeparateBlendEq>& blendEq = *blend.blendEq; in setCommonBlendState() local
206 if (blendEq.is<BlendEq>()) in setCommonBlendState()
207 gl.blendEquation(blendEq.get<BlendEq>()); in setCommonBlendState()
208 else if (blendEq.is<SeparateBlendEq>()) in setCommonBlendState()
209 …gl.blendEquationSeparate(blendEq.get<SeparateBlendEq>().rgb, blendEq.get<SeparateBlendEq>().alpha); in setCommonBlendState()
246 if (blend.blendEq) in setIndexedBlendState()
248 const Either<BlendEq, SeparateBlendEq>& blendEq = *blend.blendEq; in setIndexedBlendState() local
250 if (blendEq.is<BlendEq>()) in setIndexedBlendState()
251 gl.blendEquationi(index, blendEq.get<BlendEq>()); in setIndexedBlendState()
252 else if (blendEq.is<SeparateBlendEq>()) in setIndexedBlendState()
253 …gl.blendEquationSeparatei(index, blendEq.get<SeparateBlendEq>().rgb, blendEq.get<SeparateBlendEq>(… in setIndexedBlendState()
585 if (state.blendEq) in setBlendState()
587 if (state.blendEq->is<BlendEq>()) in setBlendState()
589 if (isAdvancedBlendEq(state.blendEq->get<BlendEq>())) in setBlendState()
591 …const rr::BlendEquationAdvanced equation = mapGLBlendEquationAdvanced(state.blendEq->get<BlendEq>(… in setBlendState()
598 const rr::BlendEquation equation = mapGLBlendEquation(state.blendEq->get<BlendEq>()); in setBlendState()
607 DE_ASSERT(state.blendEq->is<SeparateBlendEq>()); in setBlendState()
610 fragOps.blendRGBState.equation = mapGLBlendEquation(state.blendEq->get<SeparateBlendEq>().rgb); in setBlendState()
611 fragOps.blendAState.equation = mapGLBlendEquation(state.blendEq->get<SeparateBlendEq>().alpha); in setBlendState()
843 if (pre.blendEq && pre.blendEq->is<BlendEq>()) in requiresAdvancedBlendEq()
844 requiresAdvancedBlendEq |= isAdvancedBlendEq(pre.blendEq->get<BlendEq>()); in requiresAdvancedBlendEq()
846 if (post.blendEq && post.blendEq->is<BlendEq>()) in requiresAdvancedBlendEq()
847 requiresAdvancedBlendEq |= isAdvancedBlendEq(post.blendEq->get<BlendEq>()); in requiresAdvancedBlendEq()
853 if (drawBufferBlendState.blendEq && drawBufferBlendState.blendEq->is<BlendEq>()) in requiresAdvancedBlendEq()
854 requiresAdvancedBlendEq |= isAdvancedBlendEq(drawBufferBlendState.blendEq->get<BlendEq>()); in requiresAdvancedBlendEq()
1067 if (blend.blendEq) in logBlendState()
1069 const Either<BlendEq, SeparateBlendEq>& blendEq = *blend.blendEq; in logBlendState() local
1071 if (blendEq.is<BlendEq>()) in logBlendState()
1072 …log << TestLog::Message << "Set blend equation: " << glu::getBlendEquationStr(blendEq.get<BlendEq>… in logBlendState()
1073 else if (blendEq.is<SeparateBlendEq>()) in logBlendState()
1074 …b: " << glu::getBlendEquationStr(blendEq.get<SeparateBlendEq>().rgb) << ", alpha: " << glu::getBle… in logBlendState()
1266 blendState.blendEq = getRandomBlendEq(rng); in genRandomBlendState()
1272 blendState.blendEq = SeparateBlendEq(rgb, alpha); in genRandomBlendState()
1500 commonState.blendEq, in createDiffTest()
1537 commonState.blendEq, in createAdvancedEqDiffTest()