Lines Matching refs:bufNdx
1705 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in init() local
1711 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in init() local
1713 gl.bindBuffer(GL_UNIFORM_BUFFER, m_buffers[bufNdx]); in init()
1714 gl.bufferData(GL_UNIFORM_BUFFER, 2*sizeof(Vec4), &(m_expectedColors[2*bufNdx]), GL_STATIC_DRAW); in init()
1715 gl.bindBufferBase(GL_UNIFORM_BUFFER, m_bindings[bufNdx], m_buffers[bufNdx]); in init()
1726 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in deinit() local
1728 if (m_buffers[bufNdx]) in deinit()
1730 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_buffers[bufNdx]); in deinit()
1974 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in init() local
1980 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in init() local
1982 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffers[bufNdx]); in init()
1983 …gl.bufferData(GL_SHADER_STORAGE_BUFFER, 2*sizeof(Vec4), &(m_expectedColors[2*bufNdx]), GL_STATIC_D… in init()
1984 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, m_bindings[bufNdx], m_buffers[bufNdx]); in init()
1995 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in deinit() local
1997 if (m_buffers[bufNdx]) in deinit()
1999 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_buffers[bufNdx]); in deinit()
2001 m_buffers[bufNdx] = 0; in deinit()