Home | History | Annotate | Download | only in functional

Lines Matching refs:fragOps

564 void setBlendState (rr::FragmentOperationState& fragOps, const BlendState& state)
574 fragOps.blendMode = rr::BLENDMODE_ADVANCED;
575 fragOps.blendEquationAdvaced = equation;
581 fragOps.blendMode = rr::BLENDMODE_STANDARD;
582 fragOps.blendRGBState.equation = equation;
583 fragOps.blendAState.equation = equation;
590 fragOps.blendMode = rr::BLENDMODE_STANDARD;
591 fragOps.blendRGBState.equation = mapGLBlendEquation(state.blendEq->get<SeparateBlendEq>().rgb);
592 fragOps.blendAState.equation = mapGLBlendEquation(state.blendEq->get<SeparateBlendEq>().alpha);
603 fragOps.blendRGBState.srcFunc = srcFunction;
604 fragOps.blendRGBState.dstFunc = dstFunction;
606 fragOps.blendAState.srcFunc = srcFunction;
607 fragOps.blendAState.dstFunc = dstFunction;
613 fragOps.blendRGBState.srcFunc = mapGLBlendFunc(state.blendFunc->get<SeparateBlendFunc>().rgb.src);
614 fragOps.blendRGBState.dstFunc = mapGLBlendFunc(state.blendFunc->get<SeparateBlendFunc>().rgb.dst);
616 fragOps.blendAState.srcFunc = mapGLBlendFunc(state.blendFunc->get<SeparateBlendFunc>().alpha.src);
617 fragOps.blendAState.dstFunc = mapGLBlendFunc(state.blendFunc->get<SeparateBlendFunc>().alpha.dst);
622 fragOps.colorMask = *state.colorMask;
630 state.fragOps.blendMode = rr::BLENDMODE_STANDARD;
632 setBlendState(state.fragOps, preCommonBlendState);
633 setBlendState(state.fragOps, info.getBlendState());
634 setBlendState(state.fragOps, postCommonBlendState);
637 state.fragOps.blendMode = (*(postCommonBlendState.enableBlend) ? state.fragOps.blendMode : rr::BLENDMODE_NONE);
639 state.fragOps.blendMode = (*(info.getBlendState().enableBlend) ? state.fragOps.blendMode : rr::BLENDMODE_NONE);
641 state.fragOps.blendMode = (*(preCommonBlendState.enableBlend) ? state.fragOps.blendMode : rr::BLENDMODE_NONE);
643 state.fragOps.blendMode = rr::BLENDMODE_NONE;
646 state.fragOps.blendMode = rr::BLENDMODE_NONE;