mesa/texstore: Use Driver.CompressedTexSubImage in the default CompressedTexImage
authorNanley Chery <nanley.g.chery@intel.com>
Tue, 12 Apr 2016 21:27:42 +0000 (14:27 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Fri, 15 Apr 2016 22:06:27 +0000 (15:06 -0700)
commit696d8ff5a1f477aa0d7a9b9a2c6d6959e0d101df
tree141278fb4ac22cc4985260d6c3ad580f33106767
parent5ec4ecce44cfcce67391a25884bd0ef665957398
mesa/texstore: Use Driver.CompressedTexSubImage in the default CompressedTexImage

Enable drivers to use their own implementation of this method instead of
the mesa default. Since the drivers that currently overwrite
dd_function_table::CompressedTexSubImage also overwrite
::CompressedTexImage, there should be no behavioral change.

Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/main/texstore.c