Lines Matching refs:buffer
221 FLAG_ATTRIB_ALIGNED = (1<<1), // !< align attributes with relativeOffset to the buffer begin (and not buffer offset)
225 FLAG_BUF_ALIGNED_OFFSET = (1<<4), // !< use aligned offset to the buffer object
226 FLAG_BUF_UNALIGNED_OFFSET = (1<<5), // !< use unaligned offset to the buffer object
227 FLAG_BUF_UNALIGNED_STRIDE = (1<<6), // !< unalign buffer elements
425 buf << ", buffer offset aligned";
427 buf << ", buffer offset unaligned";
429 buf << ", buffer stride unaligned";
467 // copy cell vertices to the buffer.
471 // copy color to buffer
483 throw tcu::TestError("could not init buffer");
524 FLAG_ZERO_STRIDE = (1<<0), // !< set a buffer stride to zero
525 FLAG_INSTANCED = (1<<1), // !< set a buffer instance divisor to non-zero
526 FLAG_ALIASING_BUFFERS = (1<<2), // !< bind buffer to multiple binding points
589 << " buffer object: " << m_primitiveBuf << "\n"
591 << " buffer object: " << ((m_spec.aliasingBuffers) ? (m_primitiveBuf) : (m_colorOffsetBuf)) << "\n"
659 const glw::GLuint buffer = (m_spec.aliasingBuffers) ? (m_primitiveBuf) : (m_colorOffsetBuf);
663 gl.glBindVertexBuffer(colorOffsetBinding, buffer, offset, (glw::GLsizei)stride);
703 buf << ", binding points share buffer object";
1152 // change buffer with vertex_attrib_binding
1169 // change buffer offset with vertex_attrib_binding
1186 // change buffer stride with vertex_attrib_binding
1207 // change buffer binding point with vertex_attrib_binding
1325 glu::Buffer buffer(m_context.getRenderContext());
1326 gl.glBindVertexBuffer(0, *buffer, 0, 0);
1383 glw::GLuint buffer = 0;
1390 gl.glGenBuffers(1, &buffer);
1391 gl.glDeleteBuffers(1, &buffer);
1395 gl.glBindVertexBuffer(0, buffer, 0, 0);
1474 glu::Buffer buffer (m_context.getRenderContext());
1487 gl.glBindVertexBuffer(0, *buffer, 0, largeStride);
1493 glu::Buffer buffer(m_context.getRenderContext());
1494 gl.glBindVertexBuffer(0, *buffer, 0, -20);
1500 glu::Buffer buffer(m_context.getRenderContext());
1501 gl.glBindVertexBuffer(0, *buffer, -20, 0);
1610 mixedGroup->addChild(new MixedApiCase(m_context, "mixed_api_change_buffer", "change buffer with vertex_attrib_binding api", MixedApiCase::CASE_CHANGE_BUFFER));
1611 mixedGroup->addChild(new MixedApiCase(m_context, "mixed_api_change_buffer_offset", "change buffer offset with vertex_attrib_binding api", MixedApiCase::CASE_CHANGE_BUFFER_OFFSET));
1612 mixedGroup->addChild(new MixedApiCase(m_context, "mixed_api_change_buffer_stride", "change buffer stride with vertex_attrib_binding api", MixedApiCase::CASE_CHANGE_BUFFER_STRIDE));
1624 negativeGroup->addChild(new BindToCreateCase(m_context, "bind_create_new_buffer", "bind not existing buffer"));