Home
last modified time | relevance | path

Searched refs:currentProgram (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/gpu/gl/
DGrGLOpsRenderPass.cpp78 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()
DGrGLGpu.h84 GrGLProgram* currentProgram() { in currentProgram() function
/external/swiftshader/src/OpenGL/libGLESv2/
DContext.cpp164 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()
DContext.h389 GLuint currentProgram; member
/external/angle/src/libANGLE/renderer/gl/
DStateManagerGL.h54 GLenum currentProgram; member
DStateManagerGL.cpp2674 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()