Searched refs:currentProgram (Results 1 – 6 of 6) sorted by relevance
93 GrGLProgram* program = fGpu->currentProgram(); in onBindTextures()104 GrGLProgram* program = fGpu->currentProgram(); in onBindBuffers()145 GrGLProgram* program = fGpu->currentProgram(); in bindInstanceBuffer()164 GrGLProgram* program = fGpu->currentProgram(); in bindVertexBuffer()
84 GrGLProgram* currentProgram() { in currentProgram() function
164 mState.currentProgram = 0; in Context()182 if(mState.currentProgram != 0) in ~Context()184 Program *programObject = mResourceManager->getProgram(mState.currentProgram); in ~Context()189 mState.currentProgram = 0; in ~Context()1307 GLuint priorProgram = mState.currentProgram; in useProgram()1308 …mState.currentProgram = program; // Must switch before trying to delete, otherwise i… in useProgram()1672 return mResourceManager->getProgram(mState.currentProgram); in getCurrentProgram()1978 …case GL_CURRENT_PROGRAM: *params = mState.currentProgram; return t… in getIntegerv()3580 if(mState.currentProgram == 0) in drawArrays()3638 if(mState.currentProgram == 0) in drawElements()
389 GLuint currentProgram; member
54 GLenum currentProgram; member
2681 get(GL_CURRENT_PROGRAM, &state->currentProgram); in syncFromNativeContext()2682 if (mProgram != static_cast<GLuint>(state->currentProgram)) in syncFromNativeContext()2684 mProgram = state->currentProgram; in syncFromNativeContext()2825 forceUseProgram(state->currentProgram); in restoreNativeContext()