mesa: split _NEW_TEXTURE into _NEW_TEXTURE_OBJECT & _NEW_TEXTURE_STATE
authorMarek Olšák <marek.olsak@amd.com>
Thu, 23 Mar 2017 21:42:56 +0000 (22:42 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 29 Mar 2017 13:44:00 +0000 (15:44 +0200)
commitd68150f15d41756fa7153cd6b597ff52ec85a933
tree39148e97f68982d67585e715aad7cdea438681a3
parent226ff6aa30701fb1b4e69e07c5d76c4d9b5e5d77
mesa: split _NEW_TEXTURE into _NEW_TEXTURE_OBJECT & _NEW_TEXTURE_STATE

No performance testing has been done, because it makes sense to make this
change regardless of that. Also, _NEW_TEXTURE is still used in many places,
but the obvious occurences are replaced here.

It's now possible to split _NEW_TEXTURE_OBJECT further.

Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
15 files changed:
src/mesa/main/enable.c
src/mesa/main/ff_fragment_shader.cpp
src/mesa/main/mipmap.c
src/mesa/main/mtypes.h
src/mesa/main/samplerobj.c
src/mesa/main/shaderimage.h
src/mesa/main/texenv.c
src/mesa/main/texgen.c
src/mesa/main/teximage.c
src/mesa/main/texobj.c
src/mesa/main/texparam.c
src/mesa/main/texstate.c
src/mesa/main/uniform_query.cpp
src/mesa/program/prog_statevars.c
src/mesa/state_tracker/st_context.c