Home
last modified time | relevance | path

Searched refs:cso_cache (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/cso_cache/
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 *sc, int number);
[all …]
Dcso_cache.c39 struct cso_cache { struct
83 static inline struct cso_hash *_cso_hash_for_type(struct cso_cache *sc, enum cso_cache_type type) in _cso_hash_for_type()
155 static inline void sanitize_hash(struct cso_cache *sc, in sanitize_hash()
186 cso_insert_state(struct cso_cache *sc, in cso_insert_state()
197 cso_find_state(struct cso_cache *sc, in cso_find_state()
225 struct cso_hash_iter cso_find_state_template(struct cso_cache *sc, in cso_find_state_template()
239 void * cso_take_state(struct cso_cache *sc, in cso_take_state()
246 struct cso_cache *cso_cache_create(void) in cso_cache_create()
248 struct cso_cache *sc = MALLOC_STRUCT(cso_cache); in cso_cache_create()
263 void cso_for_each_state(struct cso_cache *sc, enum cso_cache_type type, in cso_for_each_state()
[all …]
Dcso_context.c67 struct cso_cache *cache;
/external/mesa3d/src/gallium/auxiliary/
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 \
/external/mesa3d/src/gallium/auxiliary/util/
Du_vbuf.c148 struct cso_cache *cso_cache; member
313 mgr->cso_cache = cso_cache_create(); in u_vbuf_create()
342 iter = cso_find_state_template(mgr->cso_cache, hash_key, CSO_VELEMENTS, in u_vbuf_set_vertex_elements_internal()
352 iter = cso_insert_state(mgr->cso_cache, hash_key, CSO_VELEMENTS, cso); in u_vbuf_set_vertex_elements_internal()
394 cso_cache_delete(mgr->cso_cache); in u_vbuf_destroy()