Searched refs:currentProgram (Results 1 – 6 of 6) sorted by relevance
78 GrGLProgram* program = fGpu->currentProgram(); in onBindTextures()89 GrGLProgram* program = fGpu->currentProgram(); in onBindBuffers()130 GrGLProgram* program = fGpu->currentProgram(); in bindInstanceBuffer()149 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
2674 get(GL_CURRENT_PROGRAM, &state->currentProgram); in syncFromNativeContext()2675 if (mProgram != static_cast<GLuint>(state->currentProgram)) in syncFromNativeContext()2677 mProgram = state->currentProgram; in syncFromNativeContext()2818 forceUseProgram(state->currentProgram); in restoreNativeContext()