Searched refs:MALLOC_STRUCT (Results 1 – 25 of 32) sorted by relevance
12
192 struct gl_attrib_node *n = MALLOC_STRUCT(gl_attrib_node); in save_attrib_data()228 attr = MALLOC_STRUCT( gl_accum_attrib ); in _mesa_PushAttrib()236 attr = MALLOC_STRUCT( gl_colorbuffer_attrib ); in _mesa_PushAttrib()247 attr = MALLOC_STRUCT( gl_current_attrib ); in _mesa_PushAttrib()254 attr = MALLOC_STRUCT( gl_depthbuffer_attrib ); in _mesa_PushAttrib()262 attr = MALLOC_STRUCT( gl_enable_attrib ); in _mesa_PushAttrib()335 attr = MALLOC_STRUCT( gl_eval_attrib ); in _mesa_PushAttrib()342 attr = MALLOC_STRUCT( gl_fog_attrib ); in _mesa_PushAttrib()349 attr = MALLOC_STRUCT( gl_hint_attrib ); in _mesa_PushAttrib()357 attr = MALLOC_STRUCT( gl_light_attrib ); in _mesa_PushAttrib()[all …]
73 struct gl_sync_object *s = MALLOC_STRUCT(gl_sync_object); in _mesa_new_sync_object()
208 entry = MALLOC_STRUCT(HashEntry); in _mesa_HashInsert()
57 #define MALLOC_STRUCT(T) (struct T *) malloc(sizeof(struct T)) macro
50 struct gl_query_object *q = MALLOC_STRUCT(gl_query_object); in _mesa_new_query_object()
84 ht = MALLOC_STRUCT(util_hash_table); in util_hash_table_create()163 item = MALLOC_STRUCT(util_hash_table_item); in util_hash_table_set()
113 struct keymap *map = MALLOC_STRUCT(keymap); in util_new_keymap()209 item = MALLOC_STRUCT(keymap_item); in util_keymap_insert()
56 #define MALLOC_STRUCT(T) (struct T *) MALLOC(sizeof(struct T)) macro
66 ht = MALLOC_STRUCT(handle_table); in handle_table_create()
68 bm = MALLOC_STRUCT(util_bitmask); in util_bitmask_create()
85 tnl->_ShineTabList = MALLOC_STRUCT( tnl_shine_tab ); in _tnl_CreateContext()89 struct tnl_shine_tab *s = MALLOC_STRUCT( tnl_shine_tab ); in _tnl_CreateContext()
42 struct translate_cache *cache = MALLOC_STRUCT(translate_cache); in translate_cache_create()
191 alloc = MALLOC_STRUCT(nouveau_mm_allocation); in nouveau_mm_allocate()239 struct nouveau_mman *cache = MALLOC_STRUCT(nouveau_mman); in nouveau_mm_create()
135 so = MALLOC_STRUCT(nv30_sampler_state); in nv30_sampler_state_create()209 so = MALLOC_STRUCT(nv30_sampler_view); in nv30_sampler_view_create()
62 struct lp_rast_state *state = MALLOC_STRUCT(lp_rast_state); in llvmpipe_create_rasterizer_state()
305 struct data_block *block = MALLOC_STRUCT(data_block); in lp_scene_new_data_block()
240 struct cso_hash *hash = MALLOC_STRUCT(cso_hash); in cso_hash_create()244 hash->data.d = MALLOC_STRUCT(cso_hash_data); in cso_hash_create()
248 struct cso_cache *sc = MALLOC_STRUCT(cso_cache); in cso_cache_create()
153 rbuf = MALLOC_STRUCT(r300_resource); in r300_buffer_create()
167 rbuffer = MALLOC_STRUCT(si_resource); in si_buffer_create()
110 tc->tile = MALLOC_STRUCT( softpipe_cached_tile ); in sp_create_tile_cache()464 struct softpipe_cached_tile * tile = MALLOC_STRUCT(softpipe_cached_tile); in sp_alloc_tile()
246 rbuffer = MALLOC_STRUCT(r600_resource); in r600_buffer_create()
86 view = MALLOC_STRUCT(nv50_tic_entry); in nv50_create_sampler_view()
257 so = MALLOC_STRUCT(nv50_stream_output_state); in nv50_program_create_strmout_state()
70 view = MALLOC_STRUCT(nv50_tic_entry); in nvc0_create_sampler_view()