diff options
author | Brian Paul <[email protected]> | 2015-07-21 18:35:38 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-07-21 18:35:38 -0600 |
commit | 1ad305b612f389fb04c6d51847427d5ec72fae03 (patch) | |
tree | 5a448950d2f4f668163cb322eaa314ef7e5eb360 /doxygen | |
parent | e693fc299f1f78502b9201f1e1e8f333566c9fb6 (diff) |
mesa: plumb offset/size parameters through GetTexSubImage code
Needed for GL_ARB_get_texture_sub_image. But at this point, the
offsets are always zero and the sizes match the whole texture image.
v2: Fixes, suggestions from Laura Ekstrand:
* Fix calls to ctx->Driver.UnmapTextureImage() to pass the correct
slice value.
* Added comments and assertions to check zoffset+depth<=tex->Depth before
the 'img' loops.
* Added a new zoffset==0 assert in get_tex_memcpy().
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'doxygen')
0 files changed, 0 insertions, 0 deletions