Lines Matching refs:buffer
1932 deUint8* buffer = new deUint8[sizeof(DrawCommand) + indirectOffset];
1942 memcpy(buffer + indirectOffset, &command, sizeof(command));
1958 m_ctx.bufferData(GL_DRAW_INDIRECT_BUFFER, sizeof(DrawCommand) + indirectOffset, buffer, GL_STATIC_DRAW);
1959 delete [] buffer;
1961 GLU_EXPECT_NO_ERROR(m_ctx.getError(), "Setup draw indirect buffer");
1978 deUint8* buffer = new deUint8[sizeof(DrawCommand) + indirectOffset];
1993 memcpy(buffer + indirectOffset, &command, sizeof(command));
2010 m_ctx.bufferData(GL_DRAW_INDIRECT_BUFFER, sizeof(DrawCommand) + indirectOffset, buffer, GL_STATIC_DRAW);
2011 delete [] buffer;
2013 GLU_EXPECT_NO_ERROR(m_ctx.getError(), "Setup draw indirect buffer");
2342 "buffer" // STORAGE_BUFFER,
2935 // All attribute arrays must be stored in a buffer
2946 // Indices must be in a buffer
2968 // Attribute buffer alignment
2978 // Index buffer alignment
3208 const int baseVertexAddition = (hasBaseVtx && spec.baseVertex > 0) ? ( spec.baseVertex) : (0); // spec.baseVertex > 0 => Create bigger attribute buffer
3210 const size_t elementCount = primitiveElementCount + indexMin + firstAddition + baseVertexAddition; // !< elements in buffer (buffer should have at least primitiveElementCount ACCESSIBLE (index range, first) elements)