Searched refs:cso_hash (Results 1 - 20 of 20) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/cso_cache/
H A Dcso_hash.h60 struct cso_hash { struct
68 struct cso_hash *hash;
73 struct cso_hash *cso_hash_create(void);
74 void cso_hash_delete(struct cso_hash *hash);
77 int cso_hash_size(struct cso_hash *hash);
86 struct cso_hash_iter cso_hash_insert(struct cso_hash *hash, unsigned key,
95 struct cso_hash_iter cso_hash_erase(struct cso_hash *hash, struct cso_hash_iter iter);
97 void *cso_hash_take(struct cso_hash *hash, unsigned key);
101 struct cso_hash_iter cso_hash_first_node(struct cso_hash *hash);
106 struct cso_hash_iter cso_hash_find(struct cso_hash *has
[all...]
H A Dcso_cache.c36 #include "cso_hash.h"
40 struct cso_hash *hashes[CSO_CACHE_MAX];
83 static inline struct cso_hash *_cso_hash_for_type(struct cso_cache *sc, enum cso_cache_type type)
85 struct cso_hash *hash;
156 struct cso_hash *hash,
165 static inline void sanitize_cb(struct cso_hash *hash, enum cso_cache_type type,
190 struct cso_hash *hash = _cso_hash_for_type(sc, type);
200 struct cso_hash *hash = _cso_hash_for_type(sc, type);
206 void *cso_hash_find_data_from_template( struct cso_hash *hash,
242 struct cso_hash *has
[all...]
H A Dcso_hash.c36 #include "cso_hash.h"
97 cso_hash_create_node(struct cso_hash *hash,
192 static struct cso_node **cso_hash_find_node(struct cso_hash *hash, unsigned akey)
207 struct cso_hash_iter cso_hash_insert(struct cso_hash *hash,
227 struct cso_hash * cso_hash_create(void)
229 struct cso_hash *hash = MALLOC_STRUCT(cso_hash);
250 void cso_hash_delete(struct cso_hash *hash)
268 struct cso_hash_iter cso_hash_find(struct cso_hash *hash,
357 void * cso_hash_take(struct cso_hash *has
[all...]
H A Dcso_cache.h79 /* cso_hash.h is necessary for cso_hash_iter, as MSVC requires structures
81 #include "cso_hash.h"
99 typedef void (*cso_sanitize_callback)(struct cso_hash *hash,
H A Dcso_context.c49 #include "cso_cache/cso_hash.h"
221 sanitize_hash(struct cso_hash *hash, enum cso_cache_type type,
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/cso_cache/
H A Dcso_hash.h61 struct cso_hash *hash;
65 struct cso_hash { struct
75 void cso_hash_init(struct cso_hash *hash);
76 void cso_hash_deinit(struct cso_hash *hash);
79 int cso_hash_size(struct cso_hash *hash);
88 struct cso_hash_iter cso_hash_insert(struct cso_hash *hash, unsigned key,
97 struct cso_hash_iter cso_hash_erase(struct cso_hash *hash, struct cso_hash_iter iter);
99 void *cso_hash_take(struct cso_hash *hash, unsigned key);
103 struct cso_hash_iter cso_hash_first_node(struct cso_hash *hash);
108 bool cso_hash_contains(struct cso_hash *has
[all...]
H A Dcso_hash.c36 #include "cso_hash.h"
77 cso_hash_create_node(struct cso_hash *hash,
95 static void cso_data_rehash(struct cso_hash *hash, int hint)
144 static void cso_data_might_grow(struct cso_hash *hash)
150 static void cso_data_has_shrunk(struct cso_hash *hash)
159 static struct cso_node *cso_data_first_node(struct cso_hash *hash)
173 struct cso_hash_iter cso_hash_insert(struct cso_hash *hash,
189 void cso_hash_init(struct cso_hash *hash)
200 void cso_hash_deinit(struct cso_hash *hash)
229 struct cso_hash *
[all...]
H A Dcso_cache.c36 #include "cso_hash.h"
39 static inline struct cso_hash *_cso_hash_for_type(struct cso_cache *sc, enum cso_cache_type type)
74 struct cso_hash *hash,
83 static inline void sanitize_cb(struct cso_hash *hash, enum cso_cache_type type,
110 struct cso_hash *hash = _cso_hash_for_type(sc, type);
120 struct cso_hash *hash = _cso_hash_for_type(sc, type);
126 void *cso_hash_find_data_from_template( struct cso_hash *hash,
175 struct cso_hash *hash = _cso_hash_for_type(sc, type);
H A Dcso_cache.h79 /* cso_hash.h is necessary for cso_hash_iter, as MSVC requires structures
81 #include "cso_hash.h"
102 typedef void (*cso_sanitize_callback)(struct cso_hash *hash,
108 struct cso_hash hashes[CSO_CACHE_MAX];
H A Dcso_context.c50 #include "cso_cache/cso_hash.h"
162 sanitize_hash(struct cso_hash *hash, enum cso_cache_type type,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/translate/
H A Dtranslate_cache.c34 #include "cso_cache/cso_hash.h"
37 struct cso_hash *hash;
54 struct cso_hash *hash = cache->hash;
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/translate/
H A Dtranslate_cache.c34 #include "cso_cache/cso_hash.h"
37 struct cso_hash hash;
54 struct cso_hash *hash = &cache->hash;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_surfaces.h33 #include "cso_cache/cso_hash.h"
39 struct cso_hash *hash;
H A Du_hash_table.c32 * Just uses the cso_hash for now, but it might be better switch to a linear
44 #include "cso_cache/cso_hash.h"
52 struct cso_hash *cso;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/xa/
H A Dxa_tgsi.c40 #include "cso_cache/cso_hash.h"
102 struct cso_hash *vs_hash;
103 struct cso_hash *fs_hash;
435 struct cso_hash *hash, unsigned processor)
463 unsigned type, struct cso_hash *hash, unsigned key)
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/xa/
H A Dxa_tgsi.c40 #include "cso_cache/cso_hash.h"
102 struct cso_hash vs_hash;
103 struct cso_hash fs_hash;
435 struct cso_hash *hash, unsigned processor)
463 unsigned type, struct cso_hash *hash, unsigned key)
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/tgsi/
H A Dtgsi_sanity.c31 #include "cso_cache/cso_hash.h"
50 struct cso_hash *regs_decl;
51 struct cso_hash *regs_used;
52 struct cso_hash *regs_ind_used;
546 regs_hash_destroy(struct cso_hash *hash)
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/tgsi/
H A Dtgsi_sanity.c31 #include "cso_cache/cso_hash.h"
50 struct cso_hash regs_decl;
51 struct cso_hash regs_used;
52 struct cso_hash regs_ind_used;
546 regs_hash_destroy(struct cso_hash *hash)
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/
H A DMakefile.sources6 cso_cache/cso_hash.c \
7 cso_cache/cso_hash.h \
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D20.1.0.rst2927 - gallium/cso_hash: inline a bunch of functions
2928 - gallium/cso_hash: make cso_hash declared within structures instead of
2930 - gallium/cso_hash: remove always constant variable nodeSize
2931 - gallium/cso_hash: cosmetic changes, no behavior changes
2932 - gallium/cso_hash: remove another layer of pointer indirection
2953 - gallium/cso_hash: pack cso_node better
2954 - gallium/cso_hash: inline struct cso_hash_data

Completed in 21 milliseconds