• Home
  • Raw
  • Download

Lines Matching refs:Mappings

271       const GLintptr mapEnd = obj->Mappings[MAP_USER].Offset +  in bufferobj_range_mapped()
272 obj->Mappings[MAP_USER].Length; in bufferobj_range_mapped()
274 if (!(end <= obj->Mappings[MAP_USER].Offset || offset >= mapEnd)) { in bufferobj_range_mapped()
323 if (bufObj->Mappings[MAP_USER].AccessFlags & GL_MAP_PERSISTENT_BIT) in buffer_object_subdata_range_good()
769 bufObj->Mappings[index].Pointer = bufObj->Data + offset; in map_buffer_range_fallback()
770 bufObj->Mappings[index].Length = length; in map_buffer_range_fallback()
771 bufObj->Mappings[index].Offset = offset; in map_buffer_range_fallback()
772 bufObj->Mappings[index].AccessFlags = access; in map_buffer_range_fallback()
773 return bufObj->Mappings[index].Pointer; in map_buffer_range_fallback()
809 bufObj->Mappings[index].Pointer = NULL; in unmap_buffer_fallback()
810 bufObj->Mappings[index].Length = 0; in unmap_buffer_fallback()
811 bufObj->Mappings[index].Offset = 0; in unmap_buffer_fallback()
812 bufObj->Mappings[index].AccessFlags = 0x0; in unmap_buffer_fallback()
1219 assert(bufObj->Mappings[i].Pointer == NULL); in _mesa_buffer_unmap_all_mappings()
1220 bufObj->Mappings[i].AccessFlags = 0; in _mesa_buffer_unmap_all_mappings()
2565 bufObj->Mappings[MAP_USER].AccessFlags = 0; in unmap_buffer()
2566 assert(bufObj->Mappings[MAP_USER].Pointer == NULL); in unmap_buffer()
2567 assert(bufObj->Mappings[MAP_USER].Offset == 0); in unmap_buffer()
2568 assert(bufObj->Mappings[MAP_USER].Length == 0); in unmap_buffer()
2685 bufObj->Mappings[MAP_USER].AccessFlags); in get_buffer_parameter()
2693 *params = bufObj->Mappings[MAP_USER].AccessFlags; in get_buffer_parameter()
2698 *params = bufObj->Mappings[MAP_USER].Offset; in get_buffer_parameter()
2703 *params = bufObj->Mappings[MAP_USER].Length; in get_buffer_parameter()
2822 *params = bufObj->Mappings[MAP_USER].Pointer; in _mesa_GetBufferPointerv()
2842 *params = bufObj->Mappings[MAP_USER].Pointer; in _mesa_GetNamedBufferPointerv()
3150 assert(bufObj->Mappings[MAP_USER].Pointer == map); in map_buffer_range()
3151 assert(bufObj->Mappings[MAP_USER].Length == length); in map_buffer_range()
3152 assert(bufObj->Mappings[MAP_USER].Offset == offset); in map_buffer_range()
3153 assert(bufObj->Mappings[MAP_USER].AccessFlags == access); in map_buffer_range()
3399 if ((bufObj->Mappings[MAP_USER].AccessFlags & in flush_mapped_buffer_range()
3406 if (offset + length > bufObj->Mappings[MAP_USER].Length) { in flush_mapped_buffer_range()
3410 (long) bufObj->Mappings[MAP_USER].Length); in flush_mapped_buffer_range()
3414 assert(bufObj->Mappings[MAP_USER].AccessFlags & GL_MAP_WRITE_BIT); in flush_mapped_buffer_range()
4553 if (!(bufObj->Mappings[MAP_USER].AccessFlags & GL_MAP_PERSISTENT_BIT) && in _mesa_InvalidateBufferSubData()