state.getStencilFuncMaskFront()); state.getStencilFuncMaskFront());
applyMask(state.getStencilWriteMaskFront(), record, 1); applyFunc(getGLStencilFunction(state.getStencilFunctionFront()), state.getStencilReferenceFront(), state.getStencilFuncMaskFront(), record, 1); applyOp(getGLStencilOp(state.getStencilOpFailFront(), caps), getGLStencilOp(state.getStencilOpZFailFront(), caps), applyMask(state.getStencilWriteMaskFront(), record, 0); applyFunc(getGLStencilFunction(state.getStencilFunctionFront()), state.getStencilReferenceFront(), state.getStencilFuncMaskFront(), record, 0); applyOp(getGLStencilOp(state.getStencilOpFailFront(), caps), getGLStencilOp(state.getStencilOpZFailFront(), caps),
applyMask(state.getStencilWriteMaskFront(), record, 1); applyFunc(getGLStencilFunction(state.getStencilFunctionFront()), state.getStencilReferenceFront(), state.getStencilFuncMaskFront(), record, 1); applyOp(getGLStencilOp(state.getStencilOpFailFront(), caps), getGLStencilOp(state.getStencilOpZFailFront(), caps), applyMask(state.getStencilWriteMaskFront(), record, 0); applyFunc(getGLStencilFunction(state.getStencilFunctionFront()), state.getStencilReferenceFront(), state.getStencilFuncMaskFront(), record, 0); applyOp(getGLStencilOp(state.getStencilOpFailFront(), caps), getGLStencilOp(state.getStencilOpZFailFront(), caps),