Searched refs:cso_cache (Results 1 - 12 of 12) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/cso_cache/
H A Dcso_cache.h104 struct cso_cache;
149 struct cso_cache *cso_cache_create(void);
150 void cso_cache_delete(struct cso_cache *sc);
152 void cso_cache_set_sanitize_callback(struct cso_cache *sc,
156 struct cso_hash_iter cso_insert_state(struct cso_cache *sc,
159 struct cso_hash_iter cso_find_state(struct cso_cache *sc,
161 struct cso_hash_iter cso_find_state_template(struct cso_cache *sc,
164 void cso_for_each_state(struct cso_cache *sc, enum cso_cache_type type,
166 void * cso_take_state(struct cso_cache *sc, unsigned hash_key,
169 void cso_set_maximum_cache_size(struct cso_cache *s
[all...]
H A Dcso_cache.c35 #include "cso_cache.h"
39 struct cso_cache { struct
83 static inline struct cso_hash *_cso_hash_for_type(struct cso_cache *sc, enum cso_cache_type type)
155 static inline void sanitize_hash(struct cso_cache *sc,
186 cso_insert_state(struct cso_cache *sc,
197 cso_find_state(struct cso_cache *sc,
225 struct cso_hash_iter cso_find_state_template(struct cso_cache *sc,
239 void * cso_take_state(struct cso_cache *sc,
246 struct cso_cache *cso_cache_create(void)
248 struct cso_cache *s
[all...]
H A Dcso_context.c47 #include "cso_cache/cso_context.h"
48 #include "cso_cache/cso_cache.h"
49 #include "cso_cache/cso_hash.h"
66 struct cso_cache *cache;
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/cso_cache/
H A Dcso_cache.h107 struct cso_cache { struct
149 void cso_cache_init(struct cso_cache *sc, struct pipe_context *pipe);
150 void cso_cache_delete(struct cso_cache *sc);
152 void cso_cache_set_sanitize_callback(struct cso_cache *sc,
155 void cso_cache_set_delete_cso_callback(struct cso_cache *sc,
159 struct cso_hash_iter cso_insert_state(struct cso_cache *sc,
162 struct cso_hash_iter cso_find_state(struct cso_cache *sc,
164 struct cso_hash_iter cso_find_state_template(struct cso_cache *sc,
167 void cso_set_maximum_cache_size(struct cso_cache *sc, int number);
H A Dcso_cache.c35 #include "cso_cache.h"
39 static inline struct cso_hash *_cso_hash_for_type(struct cso_cache *sc, enum cso_cache_type type)
73 static inline void sanitize_hash(struct cso_cache *sc,
86 struct cso_cache *cache = (struct cso_cache *)user_data;
106 cso_insert_state(struct cso_cache *sc,
117 cso_find_state(struct cso_cache *sc,
145 struct cso_hash_iter cso_find_state_template(struct cso_cache *sc,
159 void cso_cache_init(struct cso_cache *sc, struct pipe_context *pipe)
173 static void cso_delete_all(struct cso_cache *s
[all...]
H A Dcso_context.c48 #include "cso_cache/cso_context.h"
49 #include "cso_cache/cso_cache.h"
50 #include "cso_cache/cso_hash.h"
122 struct cso_cache cache;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/
H A DMakefile.sources2 cso_cache/cso_cache.c \
3 cso_cache/cso_cache.h \
4 cso_cache/cso_context.c \
5 cso_cache/cso_context.h \
6 cso_cache/cso_hash.c \
7 cso_cache/cso_hash.h \
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_vbuf.c97 #include "cso_cache/cso_cache.h"
98 #include "cso_cache/cso_hash.h"
149 struct cso_cache *cso_cache; member in struct:u_vbuf
308 mgr->cso_cache = cso_cache_create();
337 iter = cso_find_state_template(mgr->cso_cache, hash_key, CSO_VELEMENTS,
347 iter = cso_insert_state(mgr->cso_cache, hash_key, CSO_VELEMENTS, cso);
384 cso_cache_delete(mgr->cso_cache);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_vbuf.c101 #include "cso_cache/cso_cache.h"
102 #include "cso_cache/cso_hash.h"
156 struct cso_cache cso_cache; member in struct:u_vbuf
365 cso_cache_init(&mgr->cso_cache, pipe);
366 cso_cache_set_delete_cso_callback(&mgr->cso_cache,
387 iter = cso_find_state_template(&mgr->cso_cache, hash_key, CSO_VELEMENTS,
396 iter = cso_insert_state(&mgr->cso_cache, hash_key, CSO_VELEMENTS, cso);
444 cso_cache_delete(&mgr->cso_cache);
[all...]
/xsrc/external/mit/MesaLib/dist/docs/
H A Dsourcetree.rst137 - **cso_cache** - Constant State Objects Cache. Used to filter
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D21.0.0.rst2174 - cso: inline struct cso_cache to remove dereferences
H A D21.2.0.rst3779 - aux/cso_cache: add handling for save/restore of compute states

Completed in 41 milliseconds