summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/program_resource.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-07-21 18:35:38 -0600
committerBrian Paul <[email protected]>2015-07-21 18:35:38 -0600
commitf20cfc5a409b69d5ae3d10a870d90e0b4e493ddf (patch)
tree626a92a78d05b8789fb47eef4a170efa447646a5 /src/mesa/main/program_resource.h
parent613f1e00b8f8493a0cac7dbeec6647ce3a5a0355 (diff)
mesa: overhaul the glGetTexImage code
1. Reorganize the error checking code. 2. Lay groundwork for getting sub images by passing image offset and dimensions to the error checking code. 3. Implement _mesa_GetnTexImageARB(), _mesa_GetTexImage() and _mesa_GetTextureImage() all in terms of get_texture_image(). v2: pass offset/width/height/depth arguments to the error checking function, avoid using magic width/height/depth values. v3: remove unused bufSize param to get_texture_image() Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/mesa/main/program_resource.h')
0 files changed, 0 insertions, 0 deletions