Re: [Mesa-dev] [PATCH V2 05/10] mesa: Add bufferobj_range_mapped function

2013-12-11 Thread Brian Paul
On 12/11/2013 02:55 PM, Pi Tabred wrote: Add function to test if the buffer is already mapped and if so, if the mapped range overlaps the given range. Modify the _mesa_InvalidateBufferSubData function to use the new function. Enable buffer_object_subdata_range_good() to use bufferobj_range_mappe

[Mesa-dev] [PATCH V2 05/10] mesa: Add bufferobj_range_mapped function

2013-12-11 Thread Pi Tabred
Add function to test if the buffer is already mapped and if so, if the mapped range overlaps the given range. Modify the _mesa_InvalidateBufferSubData function to use the new function. Enable buffer_object_subdata_range_good() to use bufferobj_range_mapped --- src/mesa/main/bufferobj.c | 87 +