Home
last modified time | relevance | path

Searched refs:MAP_USER (Results 1 – 7 of 7) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dbufferobj.c288 if (_mesa_bufferobj_mapped(obj, MAP_USER)) { in bufferobj_range_mapped()
290 const GLintptr mapEnd = obj->Mappings[MAP_USER].Offset + in bufferobj_range_mapped()
291 obj->Mappings[MAP_USER].Length; in bufferobj_range_mapped()
293 if (!(end <= obj->Mappings[MAP_USER].Offset || offset >= mapEnd)) { in bufferobj_range_mapped()
342 if (bufObj->Mappings[MAP_USER].AccessFlags & GL_MAP_PERSISTENT_BIT) in buffer_object_subdata_range_good()
354 if (_mesa_bufferobj_mapped(bufObj, MAP_USER)) { in buffer_object_subdata_range_good()
2817 GLboolean status = ctx->Driver.UnmapBuffer(ctx, bufObj, MAP_USER); in unmap_buffer()
2818 bufObj->Mappings[MAP_USER].AccessFlags = 0; in unmap_buffer()
2819 assert(bufObj->Mappings[MAP_USER].Pointer == NULL); in unmap_buffer()
2820 assert(bufObj->Mappings[MAP_USER].Offset == 0); in unmap_buffer()
[all …]
Dmenums.h140 MAP_USER, enumerator
Dbufferobj.h58 return _mesa_bufferobj_mapped(obj, MAP_USER) && in _mesa_check_disallowed_mapping()
59 !(obj->Mappings[MAP_USER].AccessFlags & in _mesa_check_disallowed_mapping()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_bufferobjects.c158 _mesa_bufferobj_mapped(obj, MAP_USER) ? in st_bufferobj_subdata()
311 bool is_mapped = _mesa_bufferobj_mapped(obj, MAP_USER); in bufferobj_data()
471 if (!st_obj->buffer || _mesa_bufferobj_mapped(obj, MAP_USER)) in st_bufferobj_invalidate()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_buffer_objects.c202 assert(!obj->Mappings[MAP_USER].Pointer); /* Mesa should have unmapped it */ in brw_buffer_data()
242 assert(!bufObj->Mappings[MAP_USER].Pointer); /* Mesa should have unmapped it */ in brw_buffer_data_mem()
/third_party/mesa3d/src/mesa/vbo/
Dvbo_minmax_index.c88 if ((bufferObj->Mappings[MAP_USER].AccessFlags & in vbo_use_minmax_cache()
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_buffer_objects.c130 assert(!obj->Mappings[MAP_USER].Pointer); /* Mesa should have unmapped it */ in intel_bufferobj_data()