Lines Matching refs:dispatch
164 ScopedRenderControlDevice(GuestRenderControlDispatchTable& dispatch) : mDispatch(&dispatch) { in ScopedRenderControlDevice() argument
165 mDevice = dispatch.rcCreateDevice(); in ScopedRenderControlDevice()
250 ScopedGlBuffer(GlDispatch& dispatch) in ScopedGlBuffer() argument
251 : ScopedGlType(dispatch, &GlDispatch::glGenBuffers, &GlDispatch::glDeleteBuffers) {} in ScopedGlBuffer()
256 ScopedGlTexture(GlDispatch& dispatch) in ScopedGlTexture() argument
257 : ScopedGlType(dispatch, &GlDispatch::glGenTextures, &GlDispatch::glDeleteTextures) {} in ScopedGlTexture()
262 ScopedGlFramebuffer(GlDispatch& dispatch) in ScopedGlFramebuffer() argument
263 : ScopedGlType(dispatch, &GlDispatch::glGenFramebuffers, in ScopedGlFramebuffer()
276 static Result<ScopedGlShader> MakeShader(GlDispatch& dispatch, GLenum type,
300 ScopedGlShader(GlDispatch& dispatch, GLuint handle) : mGlDispatch(&dispatch), mHandle(handle) {} in ScopedGlShader() argument
315 static Result<ScopedGlProgram> MakeProgram(GlDispatch& dispatch, const std::string& vertShader,
318 static Result<ScopedGlProgram> MakeProgram(GlDispatch& dispatch, GLenum programBinaryFormat,
342 ScopedGlProgram(GlDispatch& dispatch, GLuint handle) in ScopedGlProgram() argument
343 : mGlDispatch(&dispatch), mHandle(handle) {} in ScopedGlProgram()