Home
last modified time | relevance | path

Searched refs:buffer_storage_flags (Results 1 – 2 of 2) sorted by relevance

/external/virglrenderer/src/
Dvrend_renderer.h89 GLbitfield buffer_storage_flags; member
Dvrend_renderer.c6671 GLbitfield buffer_storage_flags = 0; in vrend_create_buffer() local
6673 buffer_storage_flags |= GL_MAP_PERSISTENT_BIT; in vrend_create_buffer()
6680 buffer_storage_flags |= GL_MAP_READ_BIT | GL_MAP_WRITE_BIT; in vrend_create_buffer()
6683 buffer_storage_flags |= GL_MAP_COHERENT_BIT; in vrend_create_buffer()
6689 if (buffer_storage_flags) { in vrend_create_buffer()
6691 glBufferStorage(gr->target, width, NULL, buffer_storage_flags); in vrend_create_buffer()
6733 gr->buffer_storage_flags = buffer_storage_flags; in vrend_create_buffer()
11001 *map = glMapBufferRange(res->target, 0, res->size, res->buffer_storage_flags); in vrend_renderer_resource_map()