Lines Matching refs:bufNdx
1692 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in init() local
1698 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in init() local
1700 gl.bindBuffer(GL_UNIFORM_BUFFER, m_buffers[bufNdx]); in init()
1701 gl.bufferData(GL_UNIFORM_BUFFER, 2*sizeof(Vec4), &(m_expectedColors[2*bufNdx]), GL_STATIC_DRAW); in init()
1702 gl.bindBufferBase(GL_UNIFORM_BUFFER, m_bindings[bufNdx], m_buffers[bufNdx]); in init()
1713 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in deinit() local
1715 if (m_buffers[bufNdx]) in deinit()
1717 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_buffers[bufNdx]); in deinit()
1961 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in init() local
1967 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in init() local
1969 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffers[bufNdx]); in init()
1970 …gl.bufferData(GL_SHADER_STORAGE_BUFFER, 2*sizeof(Vec4), &(m_expectedColors[2*bufNdx]), GL_STATIC_D… in init()
1971 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, m_bindings[bufNdx], m_buffers[bufNdx]); in init()
1982 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in deinit() local
1984 if (m_buffers[bufNdx]) in deinit()
1986 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_buffers[bufNdx]); in deinit()
1988 m_buffers[bufNdx] = 0; in deinit()