Lines Matching defs:flags

327 /** Returns a string with textual representation of the @param flags bitfield
328 * holding bits applicable to the @param flags argument of glBufferStorage()
331 * @param flags Flags argument, as supported by the @param flags argument of
336 std::string SparseBufferTestUtilities::getSparseBOFlagsString(glw::GLenum flags)
341 if ((flags & GL_CLIENT_STORAGE_BIT) != 0)
348 if ((flags & GL_DYNAMIC_STORAGE_BIT) != 0)
355 if ((flags & GL_MAP_COHERENT_BIT) != 0)
362 if ((flags & GL_MAP_PERSISTENT_BIT) != 0)
369 if ((flags & GL_SPARSE_STORAGE_BIT_ARB) != 0)
485 /* * Verify glBufferStorage() throws a GL_INVALID_VALUE error if <flags> is
496 << "Invalid <flags> value set to GL_SPARSE_STORAGE_BIT_ARB | GL_MAP_READ_BIT "
511 << "Invalid <flags> value set to GL_SPARSE_STORAGE_BIT_ARB | GL_MAP_WRITE_BIT "
900 * @param sparse_bo_storage_flags <flags> argument, used by the test in the glBufferStorage()
1104 m_gl.bufferStorage(GL_COPY_READ_BUFFER, m_helper_bo_size_rounded, DE_NULL, GL_MAP_READ_BIT); /* flags */
1294 * @param sparse_bo_storage_flags <flags> argument, used by the test in the glBufferStorage()
1626 * @param sparse_bo_storage_flags <flags> argument, used by the test in the glBufferStorage()
1842 GL_DYNAMIC_STORAGE_BIT | GL_MAP_READ_BIT); /* flags */
1975 * @param sparse_bo_storage_flags <flags> argument, used by the test in the glBufferStorage()
2296 glw::GLenum flags = GL_DYNAMIC_STORAGE_BIT;
2300 flags |= GL_MAP_READ_BIT;
2310 m_gl.bufferStorage(GL_ARRAY_BUFFER, m_sparse_bo_size_rounded, m_ref_data[0], flags);
2626 * @param sparse_bo_storage_flags <flags> argument, used by the test in the glBufferStorage()
2865 * @param sparse_bo_storage_flags <flags> argument, used by the test in the glBufferStorage()
3044 * @param sparse_bo_storage_flags <flags> argument, used by the test in the glBufferStorage()
3429 * @param sparse_bo_storage_flags <flags> argument, used by the test in the glBufferStorage()
3960 * @param sparse_bo_storage_flags <flags> argument, used by the test in the glBufferStorage()
4138 m_gl.bufferStorage(GL_COPY_READ_BUFFER, m_data_size, m_data, 0); /* flags */
4434 * @param sparse_bo_storage_flags <flags> argument, used by the test in the glBufferStorage()
4730 * @param sparse_bo_storage_flags <flags> argument, used by the test in the glBufferStorage()
5092 * @param sparse_bo_storage_flags <flags> argument, used by the test in the glBufferStorage()
5733 ", sparse BO flags "
6234 * @param sparse_bo_storage_flags <flags> argument, used by the test in the glBufferStorage()
6505 m_gl.bufferStorage(GL_COPY_READ_BUFFER, m_sparse_bo_data_size, m_ubo_data, 0); /* flags */
6691 /* Iterate over all sparse BO flag combinations. We need to consider a total of 4 flags:
6707 const glw::GLint flags = ((n_flag_combination & (1 << 0)) ? GL_CLIENT_STORAGE_BIT : 0) |
6713 if ((flags & GL_MAP_PERSISTENT_BIT) != 0)
6715 if ((flags & GL_MAP_READ_BIT) == 0 && (flags & GL_MAP_WRITE_BIT) == 0)
6721 if (((flags & GL_MAP_COHERENT_BIT) != 0) && ((flags & GL_MAP_PERSISTENT_BIT) == 0))
6735 flags);
6755 if (!(*itTestCase)->execute(flags))