Lines Matching refs:buffer
766 /** @brief Create buffer textuew.
1182 /* Texture buffer. */
6025 * @param [in] size Size of the buffer.
8585 glw::GLuint buffer = 0;
8599 gl.createBuffers(1, &buffer);
8602 gl.namedBufferData(buffer, data_size, data, GL_STATIC_COPY);
8614 gl.textureBuffer(not_a_texture, GL_RGBA8, buffer);
8623 gl.textureBuffer(texture_1D, GL_RGBA8, buffer);
8632 gl.textureBuffer(texture_buffer, GL_COMPRESSED_SIGNED_RED_RGTC1, buffer);
8638 /* Check that INVALID_OPERATION is generated if buffer is not zero and is
8639 not the name of an existing buffer object. */
8650 "buffer is not zero and is not the name of an existing buffer object.");
8670 if (buffer)
8672 gl.deleteBuffers(1, &buffer);
8738 glw::GLuint buffer = 0;
8752 gl.createBuffers(1, &buffer);
8755 gl.namedBufferData(buffer, data_size, data, GL_STATIC_COPY);
8767 gl.textureBufferRange(not_a_texture, GL_RGBA8, buffer, 0, data_size);
8776 gl.textureBufferRange(texture_1D, GL_RGBA8, buffer, 0, data_size);
8785 gl.textureBufferRange(texture_buffer, GL_COMPRESSED_SIGNED_RED_RGTC1, buffer, 0, data_size);
8792 buffer is not zero and is not the name of an existing buffer object. */
8803 "buffer is not zero and is not the name of an existing buffer object.");
8808 is greater than the value of BUFFER_SIZE for buffer. */
8810 gl.textureBufferRange(texture_buffer, GL_RGBA8, buffer, -1, data_size);
8814 gl.textureBufferRange(texture_buffer, GL_RGBA8, buffer, 0, 0);
8818 gl.textureBufferRange(texture_buffer, GL_RGBA8, buffer, 0, -1);
8822 gl.textureBufferRange(texture_buffer, GL_RGBA8, buffer, 0, data_size * 16);
8825 "size is greater than the value of BUFFER_SIZE for buffer.");
8838 gl.textureBufferRange(texture_buffer, GL_RGBA8, buffer, 1, data_size - 1);
8863 if (buffer)
8865 gl.deleteBuffers(1, &buffer);
10284 non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target
10285 and the buffer object's data store is currently mapped. */
10296 "a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target and "
10297 "the buffer object's data store is currently mapped.");
10308 non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target
10309 and the data would be unpacked from the buffer object such that the
10318 "a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target and the "
10319 "data would be unpacked from the buffer object such that the memory reads required "
10327 non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target
10337 "a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target and pixels "
10524 non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target
10525 and the buffer object's data store is currently mapped. */
10537 "a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target and "
10538 "the buffer object's data store is currently mapped.");
10549 non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target
10550 and the data would be unpacked from the buffer object such that the
10559 "a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target and the "
10560 "data would be unpacked from the buffer object such that the memory reads required "
10568 non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target
10578 "a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target and pixels "
10778 non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target
10779 and the buffer object's data store is currently mapped. */
10791 "a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target and "
10792 "the buffer object's data store is currently mapped.");
10803 non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target
10804 and the data would be unpacked from the buffer object such that the
10813 "a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target and the "
10814 "data would be unpacked from the buffer object such that the memory reads required "
10822 non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target
10832 "a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target and pixels "
10906 if a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER
10907 target and the buffer object's data store is currently mapped. */
10919 "a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target "
10920 "and the buffer object's data store is currently mapped.");
10931 if a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER
10932 target and the data would be unpacked from the buffer object such that
10942 "a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target and "
10943 "the buffer object's data store is currently mapped.");
11016 if a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER
11017 target and the buffer object's data store is currently mapped. */
11029 "a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target "
11030 "and the buffer object's data store is currently mapped.");
11041 if a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER
11042 target and the data would be unpacked from the buffer object such that
11052 "a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target and "
11053 "the buffer object's data store is currently mapped.");
11148 if a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER
11149 target and the buffer object's data store is currently mapped. */
11162 "a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target "
11163 "and the buffer object's data store is currently mapped.");
11174 if a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER
11175 target and the data would be unpacked from the buffer object such that
11185 "a non-zero buffer object name is bound to the PIXEL_UNPACK_BUFFER target and "
11186 "the buffer object's data store is currently mapped.");
11604 the read buffer is NONE. */
11611 CheckErrorAndLog(m_context, GL_INVALID_OPERATION, "glCopyTextureSubImage1D", "the read buffer is NONE.");
11708 the read buffer is NONE. */
11715 CheckErrorAndLog(m_context, GL_INVALID_OPERATION, "glCopyTextureSubImage2D", "the read buffer is NONE.");
11820 the read buffer is NONE. */
11827 CheckErrorAndLog(m_context, GL_INVALID_OPERATION, "glCopyTextureSubImage3D", "the read buffer is NONE.");
13126 glw::GLuint buffer = 0;
13143 gl.createBuffers(1, &buffer);
13145 gl.namedBufferData(buffer, s_reference_size + 1, NULL, GL_STATIC_COPY);
13271 target is the color buffer) and the base internal format of the
13286 "buffer) and the base internal format of the texture image is not a color format.");
13312 /* Check that INVALID_OPERATION error is generated if a pixel pack buffer
13313 object is bound and packing the texture image into the buffer's memory
13314 would exceed the size of the buffer. */
13315 gl.bindBuffer(GL_PIXEL_PACK_BUFFER, buffer);
13321 "a pixel pack buffer object is bound and packing the texture image into the buffer's "
13322 "memory would exceed the size of the buffer.");
13327 /* Check that INVALID_OPERATION error is generated if a pixel pack buffer
13331 gl.bindBuffer(GL_PIXEL_PACK_BUFFER, buffer);
13337 "a pixel pack buffer object is bound and pixels is not evenly divisible by the "
13345 the buffer size required to store the requested data is greater than
13350 "the buffer size required to store the requested data is greater than bufSize.");
13378 if a non-zero buffer object name is bound to the PIXEL_PACK_BUFFER
13379 target, the buffer storage was not initialized with BufferStorage using
13380 MAP_PERSISTENT_BIT flag, and the buffer object's data store is currently
13382 gl.bindBuffer(GL_PIXEL_PACK_BUFFER, buffer);
13391 "a non-zero buffer object name is bound to the PIXEL_PACK_BUFFER target, the "
13392 "buffer storage was not initialized with BufferStorage using MAP_PERSISTENT_BIT "
13393 "flag, and the buffer object's data store is currently mapped.");
13407 if a non-zero buffer object name is bound to the PIXEL_PACK_BUFFER
13408 target and the data would be packed to the buffer object such that the
13410 gl.bindBuffer(GL_PIXEL_PACK_BUFFER, buffer);
13415 "a non-zero buffer object name is bound to the PIXEL_PACK_BUFFER target and the data "
13416 "would be packed to the buffer object such that the memory writes required would "
13429 if (buffer)
13431 gl.deleteBuffers(1, &buffer);