st/mesa: implement new proxy texture code
authorBrian Paul <brianp@vmware.com>
Mon, 17 Sep 2012 01:42:15 +0000 (19:42 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 18 Sep 2012 01:49:27 +0000 (19:49 -0600)
commitead8847d4482d2690602cbfcef00c86c392d9934
treec6c70614afd4b9bfdb80a7b76549c91aab426351
parentbd8b43a9f467a244ac75dcbf13f162793ccc5f6e
st/mesa: implement new proxy texture code

If the gallium driver implements the can_create_resource() function, call
it to do proxy texture size checks.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_texture.c