Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/gl/
DGrGLOpsRenderPass.cpp93 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()
DGrGLGpu.h84 GrGLProgram* currentProgram() { in currentProgram() function
/third_party/skia/third_party/externals/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
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DStateManagerGL.h54 GLenum currentProgram; member
DStateManagerGL.cpp2681 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()