Lines Matching refs:blendEq
168 , blendEq (blendEq_) in BlendState()
176 return (!enableBlend) && (!blendEq) && (!blendFunc) && (!colorMask); in isEmpty()
180 Maybe<Either<BlendEq, SeparateBlendEq> > blendEq; member
209 if (blend.blendEq) in setCommonBlendState()
211 const Either<BlendEq, SeparateBlendEq>& blendEq = *blend.blendEq; in setCommonBlendState() local
213 if (blendEq.is<BlendEq>()) in setCommonBlendState()
214 gl.blendEquation(blendEq.get<BlendEq>()); in setCommonBlendState()
215 else if (blendEq.is<SeparateBlendEq>()) in setCommonBlendState()
216 …gl.blendEquationSeparate(blendEq.get<SeparateBlendEq>().rgb, blendEq.get<SeparateBlendEq>().alpha); in setCommonBlendState()
253 if (blend.blendEq) in setIndexedBlendState()
255 const Either<BlendEq, SeparateBlendEq>& blendEq = *blend.blendEq; in setIndexedBlendState() local
257 if (blendEq.is<BlendEq>()) in setIndexedBlendState()
258 gl.blendEquationi(index, blendEq.get<BlendEq>()); in setIndexedBlendState()
259 else if (blendEq.is<SeparateBlendEq>()) in setIndexedBlendState()
260 …gl.blendEquationSeparatei(index, blendEq.get<SeparateBlendEq>().rgb, blendEq.get<SeparateBlendEq>(… in setIndexedBlendState()
592 if (state.blendEq) in setBlendState()
594 if (state.blendEq->is<BlendEq>()) in setBlendState()
596 if (isAdvancedBlendEq(state.blendEq->get<BlendEq>())) in setBlendState()
598 …const rr::BlendEquationAdvanced equation = mapGLBlendEquationAdvanced(state.blendEq->get<BlendEq>(… in setBlendState()
605 const rr::BlendEquation equation = mapGLBlendEquation(state.blendEq->get<BlendEq>()); in setBlendState()
614 DE_ASSERT(state.blendEq->is<SeparateBlendEq>()); in setBlendState()
617 fragOps.blendRGBState.equation = mapGLBlendEquation(state.blendEq->get<SeparateBlendEq>().rgb); in setBlendState()
618 fragOps.blendAState.equation = mapGLBlendEquation(state.blendEq->get<SeparateBlendEq>().alpha); in setBlendState()
851 if (pre.blendEq && pre.blendEq->is<BlendEq>()) in requiresAdvancedBlendEq()
852 requiresAdvancedBlendEq |= isAdvancedBlendEq(pre.blendEq->get<BlendEq>()); in requiresAdvancedBlendEq()
854 if (post.blendEq && post.blendEq->is<BlendEq>()) in requiresAdvancedBlendEq()
855 requiresAdvancedBlendEq |= isAdvancedBlendEq(post.blendEq->get<BlendEq>()); in requiresAdvancedBlendEq()
861 if (drawBufferBlendState.blendEq && drawBufferBlendState.blendEq->is<BlendEq>()) in requiresAdvancedBlendEq()
862 requiresAdvancedBlendEq |= isAdvancedBlendEq(drawBufferBlendState.blendEq->get<BlendEq>()); in requiresAdvancedBlendEq()
1078 if (blend.blendEq) in logBlendState()
1080 const Either<BlendEq, SeparateBlendEq>& blendEq = *blend.blendEq; in logBlendState() local
1082 if (blendEq.is<BlendEq>()) in logBlendState()
1083 …log << TestLog::Message << "Set blend equation: " << glu::getBlendEquationStr(blendEq.get<BlendEq>… in logBlendState()
1084 else if (blendEq.is<SeparateBlendEq>()) in logBlendState()
1085 …b: " << glu::getBlendEquationStr(blendEq.get<SeparateBlendEq>().rgb) << ", alpha: " << glu::getBle… in logBlendState()
1277 blendState.blendEq = getRandomBlendEq(rng); in genRandomBlendState()
1283 blendState.blendEq = SeparateBlendEq(rgb, alpha); in genRandomBlendState()
1511 commonState.blendEq, in createDiffTest()
1548 commonState.blendEq, in createAdvancedEqDiffTest()