Lines Matching refs:buffer

170  *             Create two buffer objects using GenBuffers and BindBuffer functions.
173 * Bind the first buffer to transform feedback object indexed binding point
176 * Bind a first half of the second buffer to transform feedback object
179 * Bind a second half of the second buffer to transform feedback object
212 glw::GLuint buffer);
214 glw::GLuint buffer, glw::GLintptr offset,
317 * Create buffer object using GenBuffers and BindBuffer functions.
320 * Bind the buffer to transform feedback object indexed binding point 0
351 * Verify data in the buffer using MapBuffer function.
370 glw::GLuint buffer);
903 * INVALID_OPERATION error if <buffer> is not the name of an existing
904 * buffer object.
913 * INVALID_OPERATION error if the query writes to a buffer object, and the
914 * specified buffer offset would cause data to be written beyond the bounds
915 * of that buffer object.
949 typedef void(GLW_APIENTRY* PFNGLGETQUERYBUFFEROBJECT)(glw::GLuint id, glw::GLuint buffer, glw::GLenum pname,
975 * Create buffer object. Bind it to TRANFORM_FEEDBACK_BUFFER binding point.
976 * Bind buffer base to TRANFORM_FEEDBACK_BUFFER binding point with index 0.
977 * Setup data storage of the buffer with size equal to 6 * sizeof(int).
1004 * Check that transform feedback buffer contains successive primitive
1037 typedef void(GLW_APIENTRY* PFNGLGETQUERYBUFFEROBJECT)(glw::GLuint id, glw::GLuint buffer, glw::GLenum pname,
1053 void GetQueryBufferObject(glw::GLuint id, glw::GLuint buffer, glw::GLenum pname, glw::GLintptr offset);
1127 * Create at least two buffer objects using GenBuffers function. Check
1130 * Create at least two buffer objects using CreateBuffers function. Check
1158 * Create buffer object using CreateBuffers.
1162 * Bind buffer.
1164 * Check buffer content using MapBuffer function.
1172 * - CopyNamedBufferSubData from auxiliary buffer.
1207 typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERDATA)(glw::GLuint buffer, glw::GLsizeiptr size, const glw::GLvoid* data,
1209 typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERSUBDATA)(glw::GLuint buffer, glw::GLintptr offset, glw::GLsizeiptr size,
1211 typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERSTORAGE)(glw::GLuint buffer, glw::GLsizeiptr size,
1248 * Create buffer object using CreateBuffers.
1253 * Clear buffer content using given function.
1255 * Bind buffer.
1257 * Check buffer content using MapBuffer function.
1313 typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERDATA)(glw::GLuint buffer, glw::GLsizeiptr size, const glw::GLvoid* data,
1315 typedef void(GLW_APIENTRY* PFNGLCLEARNAMEDBUFFERDATA)(glw::GLuint buffer, glw::GLenum internalformat,
1318 typedef void(GLW_APIENTRY* PFNGLCLEARNAMEDBUFFERSUBDATA)(glw::GLuint buffer, glw::GLenum internalformat,
1332 void ClearNamedBuffer(glw::GLuint buffer, glw::GLenum internalformat, glw::GLsizei size, glw::GLenum format,
1352 * Create buffer object using CreateBuffers.
1357 * Map buffer with MapNamedBuffer function and READ_ONLY access flag.
1359 * Compare mapped buffer content with reference data.
1361 * Unmap buffer using UnmapNamedBuffer. Test if UnmapNamedBuffer
1364 * Release buffer.
1380 typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERDATA)(glw::GLuint buffer, glw::GLsizeiptr size, const glw::GLvoid* data,
1382 typedef void*(GLW_APIENTRY* PFNGLMAPNAMEDBUFFER)(glw::GLuint buffer, glw::GLenum access);
1383 typedef glw::GLboolean(GLW_APIENTRY* PFNGLUNMAPNAMEDBUFFER)(glw::GLuint buffer);
1401 * Create buffer object using CreateBuffers.
1406 * Map buffer with MapNamedBuffer function and READ_WRITE access flag.
1408 * Compare mapped buffer content with reference.
1410 * Write to the mapped buffer inverted reference content.
1412 * Unmap buffer.
1414 * Map buffer with MapNamedBuffer function and READ_WRITE access flag.
1416 * Compare mapped buffer content with inverted reference.
1418 * Unmap buffer.
1420 * Release buffer.
1436 typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERDATA)(glw::GLuint buffer, glw::GLsizeiptr size, const glw::GLvoid* data,
1438 typedef void*(GLW_APIENTRY* PFNGLMAPNAMEDBUFFER)(glw::GLuint buffer, glw::GLenum access);
1439 typedef glw::GLboolean(GLW_APIENTRY* PFNGLUNMAPNAMEDBUFFER)(glw::GLuint buffer);
1457 * Create buffer object using CreateBuffers.
1461 * Map buffer with MapNamedBuffer function and WRITE_ONLY access flag.
1465 * Unmap buffer.
1467 * Bind buffer to the binding point.
1469 * Map buffer with MapBuffer function and READ_ONLY access flag.
1471 * Compare mapped buffer content with reference.
1473 * Unmap buffer.
1475 * Release buffer.
1491 typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERDATA)(glw::GLuint buffer, glw::GLsizeiptr size, const glw::GLvoid* data,
1493 typedef void*(GLW_APIENTRY* PFNGLMAPNAMEDBUFFER)(glw::GLuint buffer, glw::GLenum access);
1494 typedef glw::GLboolean(GLW_APIENTRY* PFNGLUNMAPNAMEDBUFFER)(glw::GLuint buffer);
1512 * Create buffer object using CreateBuffers.
1517 * Map first half of buffer with MapNamedBufferRange and MAP_READ_BIT
1520 * Compare mapped buffer content with reference.
1522 * Unmap buffer.
1524 * Map second half of buffer with MapNamedBufferRange and MAP_READ_BIT
1527 * Compare mapped buffer content with reference.
1529 * Unmap buffer.
1531 * Release buffer.
1552 typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERSTORAGE)(glw::GLuint buffer, glw::GLsizeiptr size,
1554 typedef void*(GLW_APIENTRY* PFNGLMAPNAMEDBUFFERRANGE)(glw::GLuint buffer, glw::GLintptr offset, glw::GLsizeiptr length,
1556 typedef glw::GLboolean(GLW_APIENTRY* PFNGLUNMAPNAMEDBUFFER)(glw::GLuint buffer);
1576 * Create buffer object using CreateBuffers.
1581 * Map first half of buffer with MapNamedBufferRange and MAP_WRITE_BIT
1586 * Unmap buffer.
1588 * Map second half of buffer with MapNamedBufferRange and MAP_WRITE_BIT
1593 * Unmap buffer.
1595 * Bind buffer to the binding point.
1597 * Map buffer with MapBuffer function and READ_ONLY access flag.
1599 * Compare mapped buffer content with reference.
1601 * Unmap buffer.
1603 * Release buffer.
1631 typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERSTORAGE)(glw::GLuint buffer, glw::GLsizeiptr size,
1633 typedef void*(GLW_APIENTRY* PFNGLMAPNAMEDBUFFERRANGE)(glw::GLuint buffer, glw::GLintptr offset, glw::GLsizeiptr length,
1635 typedef glw::GLboolean(GLW_APIENTRY* PFNGLUNMAPNAMEDBUFFER)(glw::GLuint buffer);
1636 typedef void(GLW_APIENTRY* PFNGLFLUSHMAPPEDNAMEDBUFFERRANGE)(glw::GLuint buffer, glw::GLintptr offset,
1644 bool CompareWithReference(glw::GLuint buffer, glw::GLbitfield access_flag);
1658 * Create buffer object using CreateBuffers.
1662 * Fetch first half of the buffer using GetNamedBufferSubData function.
1664 * Fetch second half of the buffer using GetNamedBufferSubData function.
1684 typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERDATA)(glw::GLuint buffer, glw::GLsizeiptr size, const glw::GLvoid* data,
1686 typedef void(GLW_APIENTRY* PFNGLGETNAMEDBUFFERSUBDATA)(glw::GLuint buffer, glw::GLintptr offset, glw::GLsizeiptr size,
1704 * Create buffer object using CreateBuffers.
1741 typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERDATA)(glw::GLuint buffer, glw::GLsizeiptr size, const glw::GLvoid* data,
1743 typedef void(GLW_APIENTRY* PFNGLGETNAMEDBUFFERPARAMETERI64V)(glw::GLuint buffer, glw::GLenum pname,
1745 typedef void(GLW_APIENTRY* PFNGLGETNAMEDBUFFERPARAMETERIV)(glw::GLuint buffer, glw::GLenum pname, glw::GLint* data);
1746 typedef void(GLW_APIENTRY* PFNGLGETNAMEDBUFFERPOINTERV)(glw::GLuint buffer, glw::GLenum pname,
1766 * buffer is not the name of an existing buffer object.
1788 * Check that INVALID_OPERATION is generated by NamedBufferData if buffer
1789 * is not the name of an existing buffer object.
1799 * BUFFER_IMMUTABLE_STORAGE flag of the buffer object is TRUE.
1807 * buffer is not the name of an existing buffer object.
1811 * BUFFER_SIZE for the specified buffer object.
1814 * part of the specified range of the buffer object is mapped with
1819 * value of the BUFFER_IMMUTABLE_STORAGE flag of the buffer object is TRUE
1820 * and the value of BUFFER_STORAGE_FLAGS for the buffer object does not
1825 * buffer is not the name of an existing buffer object.
1832 * any part of the specified range of the buffer object is mapped with
1841 * if buffer is not the name of an existing buffer object.
1856 * of BUFFER_SIZE for the buffer object.
1859 * if any part of the specified range of the buffer object is mapped with
1868 * readBuffer or writeBuffer is not the name of an existing buffer object.
1872 * greater than the size of the source buffer object (its value of
1874 * destination buffer object.
1877 * source and destination are the same buffer object, and the ranges
1881 * either the source or destination buffer object is mapped with
1886 * Check that INVALID_OPERATION is generated by MapNamedBuffer if buffer is
1887 * not the name of an existing buffer object.
1893 * buffer object is in a mapped state.
1897 * buffer is not the name of an existing buffer object.
1901 * BUFFER_SIZE for the buffer object, or if access has any bits set other
1907 * - The buffer object is already in a mapped state.
1914 * buffer's storage flags.
1917 * Check that INVALID_OPERATION is generated by UnmapNamedBuffer if buffer
1918 * is not the name of an existing buffer object.
1921 * buffer object is not in a mapped state.
1925 * if buffer is not the name of an existing buffer object.
1932 * if the buffer object is not mapped, or is mapped without the
1937 * buffer is not the name of an existing buffer object.
1940 * pname is not one of the buffer object parameter names: BUFFER_ACCESS,
1947 * if buffer is not the name of an existing buffer object.
1951 * buffer is not the name of an existing buffer object.
1955 * BUFFER_SIZE for the buffer object.
1958 * the buffer object is mapped with MapBufferRange or MapBuffer, unless it
1976 typedef void(GLW_APIENTRY* PFNGLCLEARNAMEDBUFFERDATA)(glw::GLuint buffer, glw::GLenum internalformat,
1979 typedef void(GLW_APIENTRY* PFNGLCLEARNAMEDBUFFERSUBDATA)(glw::GLuint buffer, glw::GLenum internalformat,
1986 typedef void(GLW_APIENTRY* PFNGLFLUSHMAPPEDNAMEDBUFFERRANGE)(glw::GLuint buffer, glw::GLintptr offset,
1988 typedef void(GLW_APIENTRY* PFNGLGETNAMEDBUFFERPARAMETERI64V)(glw::GLuint buffer, glw::GLenum pname,
1990 typedef void(GLW_APIENTRY* PFNGLGETNAMEDBUFFERPARAMETERIV)(glw::GLuint buffer, glw::GLenum pname, glw::GLint* data);
1991 typedef void(GLW_APIENTRY* PFNGLGETNAMEDBUFFERPOINTERV)(glw::GLuint buffer, glw::GLenum pname,
1993 typedef void(GLW_APIENTRY* PFNGLGETNAMEDBUFFERSUBDATA)(glw::GLuint buffer, glw::GLintptr offset, glw::GLsizeiptr size,
1995 typedef void*(GLW_APIENTRY* PFNGLMAPNAMEDBUFFER)(glw::GLuint buffer, glw::GLenum access);
1996 typedef void*(GLW_APIENTRY* PFNGLMAPNAMEDBUFFERRANGE)(glw::GLuint buffer, glw::GLintptr offset, glw::GLsizeiptr length,
1998 typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERDATA)(glw::GLuint buffer, glw::GLsizeiptr size, const glw::GLvoid* data,
2000 typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERSTORAGE)(glw::GLuint buffer, glw::GLsizeiptr size,
2002 typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERSUBDATA)(glw::GLuint buffer, glw::GLintptr offset, glw::GLsizeiptr size,
2004 typedef glw::GLboolean(GLW_APIENTRY* PFNGLUNMAPNAMEDBUFFER)(glw::GLuint buffer);
2073 * Prepare one buffer using CreateBuffers and NamedBufferStorage with size
2083 * UnmapNamedBuffer function. Setup buffer as an input attribute to GLSL
2084 * program. Consequently, the resulting buffer shall be {0, 1, 2, 3, 4, 5}.
2086 * Prepare one buffer using GenBuffers. Bind it to transform feedback.
2088 * passing pointer to data {0, 0, 0, 0, 0, 0, 36}. Set up this buffer as
2097 * Query array buffer's parameter BUFFER_IMMUTABLE_STORAGE with
2100 * Query transform feedback buffer size with GetNamedBufferParameteri64v
2103 * Fetch transform feedback buffer content using GetNamedBufferSubData and
2126 typedef void(GLW_APIENTRY* PFNGLCLEARNAMEDBUFFERDATA)(glw::GLuint buffer, glw::GLenum internalformat,
2129 typedef void(GLW_APIENTRY* PFNGLCLEARNAMEDBUFFERSUBDATA)(glw::GLuint buffer, glw::GLenum internalformat,
2136 typedef void(GLW_APIENTRY* PFNGLFLUSHMAPPEDNAMEDBUFFERRANGE)(glw::GLuint buffer, glw::GLintptr offset,
2138 typedef void(GLW_APIENTRY* PFNGLGETNAMEDBUFFERPARAMETERI64V)(glw::GLuint buffer, glw::GLenum pname,
2140 typedef void(GLW_APIENTRY* PFNGLGETNAMEDBUFFERPARAMETERIV)(glw::GLuint buffer, glw::GLenum pname, glw::GLint* data);
2141 typedef void(GLW_APIENTRY* PFNGLGETNAMEDBUFFERPOINTERV)(glw::GLuint buffer, glw::GLenum pname,
2143 typedef void(GLW_APIENTRY* PFNGLGETNAMEDBUFFERSUBDATA)(glw::GLuint buffer, glw::GLintptr offset, glw::GLsizeiptr size,
2145 typedef void*(GLW_APIENTRY* PFNGLMAPNAMEDBUFFER)(glw::GLuint buffer, glw::GLenum access);
2146 typedef void*(GLW_APIENTRY* PFNGLMAPNAMEDBUFFERRANGE)(glw::GLuint buffer, glw::GLintptr offset, glw::GLsizeiptr length,
2148 typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERDATA)(glw::GLuint buffer, glw::GLsizeiptr size, const glw::GLvoid* data,
2150 typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERSTORAGE)(glw::GLuint buffer, glw::GLsizeiptr size,
2152 typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERSUBDATA)(glw::GLuint buffer, glw::GLintptr offset, glw::GLsizeiptr size,
2154 typedef glw::GLboolean(GLW_APIENTRY* PFNGLUNMAPNAMEDBUFFER)(glw::GLuint buffer);
2436 * a draw buffer. Clear it with unique color.
2439 * a read buffer. Fetch the pixel data and compare that it contains unique
2467 * Set up all attachments as a draw buffer using the function
2613 void PrepareFramebuffer(glw::GLenum buffer, glw::GLenum internalformat);
2616 bool TestClearColor(glw::GLenum buffer, glw::GLenum attachment, T value);
2619 bool ClearColor(glw::GLenum buffer, glw::GLint drawbuffer, T value);
3119 * if texture is a buffer texture.
3296 specific buffer,
3299 - DEPTH, identifying the depth buffer,
3300 - STENCIL, identifying the stencil buffer.
3323 specific buffer,
3326 - DEPTH, identifying the depth buffer,
3327 - STENCIL, identifying the stencil buffer.
3362 * Check that INVALID_ENUM is generated by ClearNamedFramebufferiv buffer
3365 * Check that INVALID_ENUM is generated by ClearNamedFramebufferuiv buffer
3368 * Check that INVALID_ENUM is generated by ClearNamedFramebufferfv buffer
3371 * Check that INVALID_ENUM is generated by ClearNamedFramebufferfi buffer
3374 * Check that INVALID_VALUE is generated if buffer is COLOR drawbuffer is
3377 * Check that INVALID_VALUE is generated if buffer is DEPTH, STENCIL or
3565 * Draw to depth buffer a quad with positions [-1, -1, -1], [-1, 1, -1],
3572 * Draw Full screen quad to draw buffer with z = 0.5.
4045 * Prepare buffer object with MAX_VERTEX_ATTRIBS of consecutive numbers.
4057 * sum of numbers at even positions in the input (reference) buffer object.
4070 * sum of numbers at odd positions in the input (reference) buffer object.
4118 * Prepare buffer object with integer data {2, 1, 0}. Set this buffer as an
4123 * Prepare buffer object with integer data {2, 1, 0}. Set this buffer as an
4124 * element buffer using VertexArrayElementBuffer function.
4170 * Prepare two vertex buffer objects. Setup first buffer with data {0, 1,
4172 * Setup second buffer with data {4, 5}.
4175 * buffer object as an input attribute 0 and 1 in interleaved way using
4176 * VertexArrayVertexBuffer function. Set second buffer object as an input
4226 * Prepare vertex buffer object with reference data of two interleaved
4312 * Prepare vertex buffer object. Setup the buffer with data {1, 0}.
4319 * Prepare transform feedback buffer object.
4391 * Create buffer object. Set this buffer as an element buffer of the vertex
4394 * Query ELEMENT_ARRAY_BUFFER_BINDING using GetVertexArrayiv. Expect buffer
4420 * Create 4 buffer objects. Set these buffer as attribute arrays:
4599 * Check that INVALID_OPERATION error is generated by VertexArrayElementBuffer if buffer is not zero or
4600 * the name of an existing buffer object.
4626 * buffer is not zero or the name of an existing buffer object (as returned
4630 * any value in buffers is not zero or the name of an existing buffer
4961 * sampled texture shall be buffer texture which linearly store two rows
4966 * Prepare texture object with attached buffer object as a storage using
4968 * being used, test non-zero offset setup. The buffer object shall contain
6027 * Check that INVALID_OPERATION is generated if buffer is not zero and is
6028 * not the name of an existing buffer object.
6057 * buffer is not zero and is not the name of an existing buffer object.
6061 * is greater than the value of BUFFER_SIZE for buffer.
6269 * non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target
6270 * and the buffer object's data store is currently mapped.
6273 * non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target
6274 * and the data would be unpacked from the buffer object such that the
6278 * non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target
6317 * non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target
6318 * and the buffer object's data store is currently mapped.
6321 * non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target
6322 * and the data would be unpacked from the buffer object such that the
6326 * non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target
6368 * non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target
6369 * and the buffer object's data store is currently mapped.
6372 * non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target
6373 * and the data would be unpacked from the buffer object such that the
6377 * non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target
6397 * if a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER
6398 * target and the buffer object's data store is currently mapped.
6401 * if a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER
6402 * target and the data would be unpacked from the buffer object such that
6427 * if a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER
6428 * target and the buffer object's data store is currently mapped.
6431 * if a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER
6432 * target and the data would be unpacked from the buffer object such that
6457 * if a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER
6458 * target and the buffer object's data store is currently mapped.
6461 * if a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER
6462 * target and the data would be unpacked from the buffer object such that
6551 * the read buffer is NONE, or the value of READ_FRAMEBUFFER_BINDING is
6552 * non-zero, and: the read buffer selects an attachment that has no image
6577 * the read buffer is NONE, or the value of READ_FRAMEBUFFER_BINDING is
6578 * non-zero, and: the read buffer selects an attachment that has no image
6604 * the read buffer is NONE, or the value of READ_FRAMEBUFFER_BINDING is
6605 * non-zero, and: the read buffer selects an attachment that has no image
6801 * target is the color buffer) and the base internal format of the
6813 * Check that INVALID_OPERATION error is generated if a pixel pack buffer
6814 * object is bound and packing the texture image into the buffer's memory
6815 * would exceed the size of the buffer.
6817 * Check that INVALID_OPERATION error is generated if a pixel pack buffer
6823 * the buffer size required to store the requested data is greater than
6839 * if a non-zero buffer object name is bound to the PIXEL_PACK_BUFFER
6840 * target, the buffer storage was not initialized with BufferStorage using
6841 * MAP_PERSISTENT_BIT flag, and the buffer object's data store is currently
6845 * if a non-zero buffer object name is bound to the PIXEL_PACK_BUFFER
6846 * target and the data would be packed to the buffer object such that the