Lines Matching refs:m_arrays
2563 for (size_t vertexAttribNdx = 0; vertexAttribNdx < (*i)->m_arrays.size(); ++vertexAttribNdx) in deleteBuffer()
2565 if ((*i)->m_arrays[vertexAttribNdx].bufferBinding == buffer) in deleteBuffer()
2568 (*i)->m_arrays[vertexAttribNdx].bufferDeleted = true; in deleteBuffer()
2569 (*i)->m_arrays[vertexAttribNdx].bufferBinding = DE_NULL; in deleteBuffer()
3640 vao.m_arrays[index].size = rawSize; in vertexAttribPointer()
3641 vao.m_arrays[index].stride = stride; in vertexAttribPointer()
3642 vao.m_arrays[index].type = type; in vertexAttribPointer()
3643 vao.m_arrays[index].normalized = normalized == GL_TRUE; in vertexAttribPointer()
3644 vao.m_arrays[index].integer = false; in vertexAttribPointer()
3645 vao.m_arrays[index].pointer = pointer; in vertexAttribPointer()
3652 if (vao.m_arrays[index].bufferBinding) in vertexAttribPointer()
3653 m_buffers.releaseReference(vao.m_arrays[index].bufferBinding); in vertexAttribPointer()
3655 vao.m_arrays[index].bufferDeleted = false; in vertexAttribPointer()
3656 vao.m_arrays[index].bufferBinding = m_arrayBufferBinding; in vertexAttribPointer()
3671 vao.m_arrays[index].size = size; in vertexAttribIPointer()
3672 vao.m_arrays[index].stride = stride; in vertexAttribIPointer()
3673 vao.m_arrays[index].type = type; in vertexAttribIPointer()
3674 vao.m_arrays[index].normalized = false; in vertexAttribIPointer()
3675 vao.m_arrays[index].integer = true; in vertexAttribIPointer()
3676 vao.m_arrays[index].pointer = pointer; in vertexAttribIPointer()
3683 if (vao.m_arrays[index].bufferBinding) in vertexAttribIPointer()
3684 m_buffers.releaseReference(vao.m_arrays[index].bufferBinding); in vertexAttribIPointer()
3686 vao.m_arrays[index].bufferDeleted = false; in vertexAttribIPointer()
3687 vao.m_arrays[index].bufferBinding = m_arrayBufferBinding; in vertexAttribIPointer()
3695 vao.m_arrays[index].enabled = true; in enableVertexAttribArray()
3703 vao.m_arrays[index].enabled = false; in disableVertexAttribArray()
3711 vao.m_arrays[index].divisor = divisor; in vertexAttribDivisor()
3984 for (size_t ndx = 0; ndx < vertexArray->m_arrays.size(); ++ndx) in deleteVertexArray()
3985 if (vertexArray->m_arrays[ndx].bufferBinding) in deleteVertexArray()
3986 m_buffers.releaseReference(vertexArray->m_arrays[ndx].bufferBinding); in deleteVertexArray()
4397 vertexAttribs.resize(vao.m_arrays.size()); in drawWithReference()
4398 for (size_t ndx = 0; ndx < vao.m_arrays.size(); ++ndx) in drawWithReference()
4400 if (!vao.m_arrays[ndx].enabled) in drawWithReference()
4405 else if (vao.m_arrays[ndx].bufferDeleted) in drawWithReference()
4412 vertexAttribs[ndx].type = (vao.m_arrays[ndx].integer) ? in drawWithReference()
4413 (sglr::rr_util::mapGLPureIntegerVertexAttributeType(vao.m_arrays[ndx].type)) : in drawWithReference()
4414 …::rr_util::mapGLFloatVertexAttributeType(vao.m_arrays[ndx].type, vao.m_arrays[ndx].normalized, vao… in drawWithReference()
4415 vertexAttribs[ndx].size = sglr::rr_util::mapGLSize(vao.m_arrays[ndx].size); in drawWithReference()
4416 vertexAttribs[ndx].stride = vao.m_arrays[ndx].stride; in drawWithReference()
4417 vertexAttribs[ndx].instanceDivisor = vao.m_arrays[ndx].divisor; in drawWithReference()
4418 …m_arrays[ndx].bufferBinding) ? (vao.m_arrays[ndx].bufferBinding->getData() + ((const deUint8*)vao.… in drawWithReference()
5437 , m_arrays (maxVertexAttribs) in VertexArray()
5441 m_arrays[i].enabled = false; in VertexArray()
5442 m_arrays[i].size = 4; in VertexArray()
5443 m_arrays[i].stride = 0; in VertexArray()
5444 m_arrays[i].type = GL_FLOAT; in VertexArray()
5445 m_arrays[i].normalized = false; in VertexArray()
5446 m_arrays[i].integer = false; in VertexArray()
5447 m_arrays[i].divisor = 0; in VertexArray()
5448 m_arrays[i].bufferDeleted = false; in VertexArray()
5449 m_arrays[i].bufferBinding = DE_NULL; in VertexArray()
5450 m_arrays[i].pointer = DE_NULL; in VertexArray()