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_gen_mipmap.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_gen_mipmap.c')
-rw-r--r-- | src/mesa/state_tracker/st_gen_mipmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_gen_mipmap.c b/src/mesa/state_tracker/st_gen_mipmap.c index 3f105871a5e..d6e9136384e 100644 --- a/src/mesa/state_tracker/st_gen_mipmap.c +++ b/src/mesa/state_tracker/st_gen_mipmap.c @@ -40,6 +40,7 @@ #include "st_debug.h" #include "st_context.h" #include "st_texture.h" +#include "st_util.h" #include "st_gen_mipmap.h" #include "st_cb_bitmap.h" #include "st_cb_texture.h" |