summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/common/meta.c
diff options
context:
space:
mode:
authorLaura Ekstrand <[email protected]>2014-12-04 14:28:19 -0800
committerLaura Ekstrand <[email protected]>2015-01-08 11:37:28 -0800
commit16f6d9cf5f93eb6cdd80e2b5f6cdd7dcfb30ea89 (patch)
tree95fd099503b9de639a5aa5f44c17670ac47e3a96 /src/mesa/drivers/common/meta.c
parent35371d65607780a2fc63a65cba2d34562538ff96 (diff)
main: Changed _mesa_alloc_texture_storage to _mesa_AllocTextureStorage_sw.
In order to implement ARB_DIRECT_STATE_ACCESS, many GL API functions must now rely on a backend that both traditional and DSA functions can use. For instance, _mesa_TexStorage2D and _mesa_TextureStorage2D both call a backend function _mesa_texture_storage that takes a context and a texture object as arguments. The backend is named _mesa_texture_storage so that Meta can call it and avoid looking up the context and the texture object. However, backend names often look very close to the names of software fallbacks (ie. _mesa_alloc_texture_storage). For this reason, software fallbacks have been renamed for clarity to have the form _mesa_[Driver function name]_sw. Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common/meta.c')
0 files changed, 0 insertions, 0 deletions