Home
last modified time | relevance | path

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

/third_party/mesa3d/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) in _cso_hash_for_type()
73 static inline void sanitize_hash(struct cso_cache *sc, in sanitize_hash()
86 struct cso_cache *cache = (struct cso_cache *)user_data; in sanitize_cb()
106 cso_insert_state(struct cso_cache *sc, in cso_insert_state()
117 cso_find_state(struct cso_cache *sc, in cso_find_state()
145 struct cso_hash_iter cso_find_state_template(struct cso_cache *sc, in cso_find_state_template()
159 void cso_cache_init(struct cso_cache *sc, struct pipe_context *pipe) in cso_cache_init()
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"
123 struct cso_cache cache;
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_vbuf.c101 #include "cso_cache/cso_cache.h"
102 #include "cso_cache/cso_hash.h"
158 struct cso_cache cso_cache; member
375 cso_cache_init(&mgr->cso_cache, pipe); in u_vbuf_create()
376 cso_cache_set_delete_cso_callback(&mgr->cso_cache, in u_vbuf_create()
397 iter = cso_find_state_template(&mgr->cso_cache, hash_key, CSO_VELEMENTS, in u_vbuf_set_vertex_elements_internal()
406 iter = cso_insert_state(&mgr->cso_cache, hash_key, CSO_VELEMENTS, cso); in u_vbuf_set_vertex_elements_internal()
454 cso_cache_delete(&mgr->cso_cache); in u_vbuf_destroy()
[all...]

Completed in 5 milliseconds