Lines Matching refs:wrapper

153 static void setGLState (glu::CallLogWrapper& wrapper, const RenderState& state, int viewportX, int …  in setGLState()  argument
157 wrapper.glEnable(GL_SCISSOR_TEST); in setGLState()
158 wrapper.glScissor(viewportX+state.scissorRectangle.left, viewportY+state.scissorRectangle.bottom, in setGLState()
162 wrapper.glDisable(GL_SCISSOR_TEST); in setGLState()
166 wrapper.glEnable(GL_STENCIL_TEST); in setGLState()
173 wrapper.glStencilFuncSeparate(glFace, sParams.function, sParams.reference, sParams.compareMask); in setGLState()
174wrapper.glStencilOpSeparate(glFace, sParams.stencilFailOp, sParams.depthFailOp, sParams.depthPassO… in setGLState()
175 wrapper.glStencilMaskSeparate(glFace, sParams.writeMask); in setGLState()
179 wrapper.glDisable(GL_STENCIL_TEST); in setGLState()
183 wrapper.glEnable(GL_DEPTH_TEST); in setGLState()
184 wrapper.glDepthFunc(state.depthFunc); in setGLState()
185 wrapper.glDepthMask(state.depthWriteMask ? GL_TRUE : GL_FALSE); in setGLState()
188 wrapper.glDisable(GL_DEPTH_TEST); in setGLState()
192 wrapper.glEnable(GL_BLEND); in setGLState()
193 wrapper.glBlendEquationSeparate(state.blendRGBState.equation, state.blendAState.equation); in setGLState()
194wrapper.glBlendFuncSeparate(state.blendRGBState.srcFunc, state.blendRGBState.dstFunc, state.blendA… in setGLState()
195wrapper.glBlendColor(state.blendColor.x(), state.blendColor.y(), state.blendColor.z(), state.blend… in setGLState()
198 wrapper.glDisable(GL_BLEND); in setGLState()
201 wrapper.glEnable(GL_DITHER); in setGLState()
203 wrapper.glDisable(GL_DITHER); in setGLState()
205 wrapper.glColorMask(state.colorMask[0] ? GL_TRUE : GL_FALSE, in setGLState()