summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/enable.c
diff options
context:
space:
mode:
authorEduardo Lima Mitev <[email protected]>2015-03-12 08:14:03 +0100
committerEduardo Lima Mitev <[email protected]>2015-03-13 16:40:20 +0100
commit7c084752c612c1763212830618ee0a86f4edf8f6 (patch)
tree250fb290eed50b83c67b69dab2efdb04a2d40818 /src/mesa/main/enable.c
parent7b5bb97cefbf1d0cfef28bc974ee9a68024e3b45 (diff)
mesa: Separate PBO validation checks from buffer mapping, to allow reuse
Internal PBO functions such as _mesa_map_validate_pbo_source() and _mesa_validate_pbo_compressed_teximage() perform validation and buffer mapping within the same call. This patch takes out the validation into separate functions to allow reuse of functionality by other code (i.e, gl(Compressed)Tex(Sub)Image). Reviewed-by: Laura Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/main/enable.c')
0 files changed, 0 insertions, 0 deletions