mesa: Fill out ARB_texture_view entry points
authorCourtney Goeltzenleuchter <courtney@LunarG.com>
Wed, 6 Nov 2013 21:34:09 +0000 (14:34 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 13 Dec 2013 19:31:54 +0000 (12:31 -0700)
commitf07ca598394a9b5cea849ff7fc68444aba94ede9
tree2e059b50043dacbb0e98e863843d4b32fdc7df95
parentbb5947de995d6425a681e591ed9566688772a3ca
mesa: Fill out ARB_texture_view entry points

Add Mesa TextureView logic.
Incorporate feedback on ARB_texture_view:
- Add S3TC VIEW_CLASSes to compatibility table
- Use existing _mesa_get_tex_image
- Clean up error strings
- Use bool instead of GLboolean for internal functions
- Split compound level & layer test into individual tests
- eliminate helper macro for VIEW_CLASS table
- do not call driver if ptr null.

Signed-off-by: Courtney Goeltzenleuchter <courtney@LunarG.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/textureview.c