diff options
author | Eduardo Lima Mitev <[email protected]> | 2015-03-12 08:14:03 +0100 |
---|---|---|
committer | Eduardo Lima Mitev <[email protected]> | 2015-03-13 16:40:20 +0100 |
commit | 7c084752c612c1763212830618ee0a86f4edf8f6 (patch) | |
tree | 250fb290eed50b83c67b69dab2efdb04a2d40818 /include/GLES2/gl2.h | |
parent | 7b5bb97cefbf1d0cfef28bc974ee9a68024e3b45 (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 'include/GLES2/gl2.h')
0 files changed, 0 insertions, 0 deletions