diff options
author | Brian Paul <[email protected]> | 2019-03-07 09:21:53 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2019-03-11 20:08:16 -0600 |
commit | b29d827f09729259d772c4bbbf1b4d4606359736 (patch) | |
tree | 5ce4811ae89d464a62f1e8e0cf8a489147423822 /src/mesa/state_tracker/st_atom.c | |
parent | 775aabdd01739c413da7b38e5acbde1094209bcf (diff) |
st/mesa: move utility functions, macros into new st_util.h file
To de-clutter st_context.h.
Clean up remaining function prototypes in st_context.h.
The st_vp_uses_current_values() helper is only used in st_context.c
so move it there.
The st_get_active_states() function is only used in st_context.c so
remove its prototype in st_context.h
Reviewed-by: Neha Bhende <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_atom.c')
-rw-r--r-- | src/mesa/state_tracker/st_atom.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_atom.c b/src/mesa/state_tracker/st_atom.c index df1a94e831e..49f79ad9d49 100644 --- a/src/mesa/state_tracker/st_atom.c +++ b/src/mesa/state_tracker/st_atom.c @@ -36,6 +36,8 @@ #include "st_atom.h" #include "st_program.h" #include "st_manager.h" +#include "st_util.h" + typedef void (*update_func_t)(struct st_context *st); |