Lines Matching refs:bufferId
426 GLuint bufferId = ctx->m_state->getBuffer(target); in s_glBufferData() local
427 SET_ERROR_IF(bufferId==0, GL_INVALID_OPERATION); in s_glBufferData()
430 ctx->m_shared->updateBufferData(bufferId, size, (void*)data); in s_glBufferData()
431 ctx->m_shared->setBufferUsage(bufferId, usage); in s_glBufferData()
439 GLuint bufferId = ctx->m_state->getBuffer(target); in s_glBufferSubData() local
440 SET_ERROR_IF(bufferId==0, GL_INVALID_OPERATION); in s_glBufferSubData()
443 GLenum res = ctx->m_shared->subUpdateBufferData(bufferId, offset, size, (void*)data); in s_glBufferSubData()
2114 GLuint bufferId = m_state->getBuffer(target); in getBufferData() local
2115 if (!bufferId) return NULL; in getBufferData()
2116 return m_shared->getBufferData(bufferId); in getBufferData()
2119 BufferData* GL2Encoder::getBufferDataById(GLuint bufferId) const { in getBufferDataById()
2120 if (!bufferId) return NULL; in getBufferDataById()
2121 return m_shared->getBufferData(bufferId); in getBufferDataById()