summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shared.h
diff options
context:
space:
mode:
authorPi Tabred <[email protected]>2013-12-14 10:32:00 -0700
committerBrian Paul <[email protected]>2013-12-18 09:06:51 -0700
commit84c4ea571d17a6798a0fae049a914b97165c56f7 (patch)
treefad08758bb4cfaff9a9512d3af4fd87dc31b642f /src/mesa/main/shared.h
parent72d872ad824110402a4455cb2b3aadb5c5160f89 (diff)
mesa: Add bufferobj_range_mapped function
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 Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/shared.h')
0 files changed, 0 insertions, 0 deletions