summaryrefslogtreecommitdiffstats
path: root/src/mesa/Makefile.sources
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2016-07-17 18:38:38 +0200
committerMarek Olšák <marek.olsak@amd.com>2016-07-30 15:02:14 +0200
commitc8fe3b9dca73e3b91979d92ba4136b302001b3bb (patch)
treefcef8db3a9b400b2ed249772f688497d5e069771 /src/mesa/Makefile.sources
parent53bc28920a8524d7bc795c3ce6398dc34a8e2152 (diff)
downloadexternal_mesa3d-c8fe3b9dca73e3b91979d92ba4136b302001b3bb.tar.gz
external_mesa3d-c8fe3b9dca73e3b91979d92ba4136b302001b3bb.tar.bz2
external_mesa3d-c8fe3b9dca73e3b91979d92ba4136b302001b3bb.zip
st/mesa: completely rewrite state atoms
The goal is to do this in st_validate_state: while (dirty) atoms[u_bit_scan(&dirty)]->update(st); That implies that atoms can't specify which flags they consume. There is exactly one ST_NEW_* flag for each atom. (58 flags in total) There are macros that combine multiple flags into one for easier use. All _NEW_* flags are translated into ST_NEW_* flags in st_invalidate_state. st/mesa doesn't keep the _NEW_* flags after that. torcs is 2% faster between the previous patch and the end of this series. v2: - add st_atom_list.h to Makefile.sources Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Diffstat (limited to 'src/mesa/Makefile.sources')
-rw-r--r--src/mesa/Makefile.sources1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/Makefile.sources b/src/mesa/Makefile.sources
index a16968d7e8..472e767d84 100644
--- a/src/mesa/Makefile.sources
+++ b/src/mesa/Makefile.sources
@@ -409,6 +409,7 @@ STATETRACKER_FILES = \
state_tracker/st_atom_depth.c \
state_tracker/st_atom_framebuffer.c \
state_tracker/st_atom.h \
+ state_tracker/st_atom_list.h \
state_tracker/st_atom_image.c \
state_tracker/st_atom_msaa.c \
state_tracker/st_atom_pixeltransfer.c \