mesa: add numLevels, numSamples to Driver.TestProxyTexImage()
authorBrian Paul <brianp@vmware.com>
Thu, 14 Jul 2016 20:25:19 +0000 (14:25 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 15 Jul 2016 20:24:34 +0000 (14:24 -0600)
commit0ac9f25032a2e1bca52552972da4b55276fc1ae6
tree9148c7e375915da492c85176e50ae763e9b093da
parente477d92c94d6415d2844f68766adf5339aebe7bf
mesa: add numLevels, numSamples to Driver.TestProxyTexImage()

So that the function can work properly with glTexStorage(), where we know
how many mipmap levels there are.  And so we can compute storage for MSAA
textures.

Also, remove the obsolete texture border parameter.

A subsequent patch will update _mesa_test_proxy_teximage() to use these
new parameters.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/common/meta_copy_image.c
src/mesa/main/dd.h
src/mesa/main/teximage.c
src/mesa/main/teximage.h
src/mesa/main/texstorage.c
src/mesa/main/textureview.c
src/mesa/state_tracker/st_cb_texture.c