Lines Matching defs:flags
111 void InitStorage(glw::GLenum target, glw::GLenum flags, glw::GLsizeiptr size, const glw::GLvoid* data);
154 static void Storage(const glw::Functions& gl, glw::GLenum target, glw::GLenum flags, glw::GLsizeiptr size,
522 void Buffer::InitStorage(glw::GLenum target, glw::GLenum flags, glw::GLsizeiptr size, const glw::GLvoid* data)
533 Storage(gl, m_target, flags, size, data);
788 * @param flags Buffer flags
792 void Buffer::Storage(const glw::Functions& gl, glw::GLenum target, glw::GLenum flags, glw::GLsizeiptr size,
795 gl.bufferStorage(target, size, data, flags);
1674 gl.bufferStorage(target, 0 /* size */, 0 /* data */, GL_DYNAMIC_STORAGE_BIT /* flags */);
1742 * <flags> contains MAP_PERSISTENT_BIT and neither MAP_READ_BIT nor
1756 verifyError(GL_INVALID_VALUE, "NamedBufferStorage was executed with flags == GL_MAP_PERSISTENT_BIT",
1764 verifyError(GL_INVALID_VALUE, "BufferStorage was executed with flags == GL_MAP_PERSISTENT_BIT", test_result);
1771 * <flags> contains MAP_COHERENT_BIT and no MAP_PERSISTENT_BIT;
1784 verifyError(GL_INVALID_VALUE, "NamedBufferStorage was executed with flags == GL_MAP_COHERENT_BIT",
1792 verifyError(GL_INVALID_VALUE, "BufferStorage was executed with flags == GL_MAP_COHERENT_BIT", test_result);
1803 * is included in <access> and not in buffer's storage flags;
1817 "storage flags == GL_DYNAMIC_STORAGE_BIT",
1822 "storage flags == GL_DYNAMIC_STORAGE_BIT",
1827 "storage flags == GL_DYNAMIC_STORAGE_BIT",
1832 "storage flags == GL_DYNAMIC_STORAGE_BIT",
1842 "MapBufferRange was executed with access == GL_MAP_READ_BIT, storage flags == GL_DYNAMIC_STORAGE_BIT",
1848 "MapBufferRange was executed with access == GL_MAP_WRITE_BIT, storage flags == GL_DYNAMIC_STORAGE_BIT",
1854 "MapBufferRange was executed with access == GL_MAP_PERSISTENT_BIT, storage flags == GL_DYNAMIC_STORAGE_BIT",
1860 "MapBufferRange was executed with access == GL_MAP_COHERENT_BIT, storage flags == GL_DYNAMIC_STORAGE_BIT",
1868 * when buffer has immutable store but its flags does not include
1944 GLenum flags = 0;
1948 flags = (0 == dynamic) ? 0 : GL_DYNAMIC_STORAGE_BIT;
1952 flags |= (0 == client) ? 0 : GL_CLIENT_STORAGE_BIT;
1955 if (0 != flags)
1957 m_test_cases.push_back(testCase(flags, 0));
1963 const GLenum flags_with_mapping = flags | flag_mapping_bits;
2009 const GLenum flags = test_case.m_flags;
2017 buffer.InitStorage(GL_ARRAY_BUFFER, flags, data_size, data);
2026 if (queried_flags != (GLint)flags)
2032 << " expected: " << flags << tcu::TestLog::EndMessage;
2036 if (queried_flags != (GLint)flags)
2042 << " expected: " << flags << tcu::TestLog::EndMessage;
2071 if (queried_flags != (GLint)flags)
2077 << " expected: " << flags << tcu::TestLog::EndMessage;
2153 GetBufferParameterTest::testCase::testCase(glw::GLenum flags, glw::GLenum access) : m_flags(flags), m_access(access)
2183 * DYNAMIC_STORAGE_BIT for <flags>; Bind the buffer to COPY_WRITE_BUFFER;
2209 read_buffer.InitStorage(GL_COPY_READ_BUFFER, 0 /* flags */, data_size, read_data);
2210 write_buffer.InitStorage(GL_COPY_WRITE_BUFFER, 0 /* flags */, data_size, write_data);
2257 * - delete buffer and create new one; This time <flags> should contain
3034 * * MAP_COHERENT_BIT and MAP_PERSISTENT_BIT flags set for both
3209 * * MAP_COHERENT_BIT and MAP_PERSISTENT_BIT flags set for both