Lines Matching refs:bufferId
291 BufferData* GLSharedGroup::getBufferData(GLuint bufferId) { in getBufferData() argument
295 return findObjectOrDefault(m_buffers, bufferId); in getBufferData()
310 void GLSharedGroup::addBufferData(GLuint bufferId, GLsizeiptr size, const void* data) { in addBufferData() argument
314 m_buffers[bufferId] = new BufferData(size, data); in addBufferData()
317 void GLSharedGroup::updateBufferData(GLuint bufferId, GLsizeiptr size, const void* data) { in updateBufferData() argument
321 BufferData* currentBuffer = findObjectOrDefault(m_buffers, bufferId); in updateBufferData()
325 m_buffers[bufferId] = new BufferData(size, data); in updateBufferData()
328 void GLSharedGroup::setBufferUsage(GLuint bufferId, GLenum usage) { in setBufferUsage() argument
332 BufferData* data = findObjectOrDefault(m_buffers, bufferId); in setBufferUsage()
337 void GLSharedGroup::setBufferMapped(GLuint bufferId, bool mapped) { in setBufferMapped() argument
338 BufferData* buf = findObjectOrDefault(m_buffers, bufferId); in setBufferMapped()
345 GLenum GLSharedGroup::getBufferUsage(GLuint bufferId) { in getBufferUsage() argument
346 BufferData* buf = findObjectOrDefault(m_buffers, bufferId); in getBufferUsage()
353 bool GLSharedGroup::isBufferMapped(GLuint bufferId) { in isBufferMapped() argument
354 BufferData* buf = findObjectOrDefault(m_buffers, bufferId); in isBufferMapped()
361 GLenum GLSharedGroup::subUpdateBufferData(GLuint bufferId, GLintptr offset, GLsizeiptr size, const … in subUpdateBufferData() argument
365 BufferData* buf = findObjectOrDefault(m_buffers, bufferId); in subUpdateBufferData()
377 void GLSharedGroup::deleteBufferData(GLuint bufferId) { in deleteBufferData() argument
381 BufferData* buf = findObjectOrDefault(m_buffers, bufferId); in deleteBufferData()
384 m_buffers.erase(bufferId); in deleteBufferData()