Home
last modified time | relevance | path

Searched refs:MALLOC_STRUCT (Results 1 – 25 of 32) sorted by relevance

12

/external/mesa3d/src/mesa/main/
Dattrib.c192 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 …]
Dsyncobj.c73 struct gl_sync_object *s = MALLOC_STRUCT(gl_sync_object); in _mesa_new_sync_object()
Dhash.c208 entry = MALLOC_STRUCT(HashEntry); in _mesa_HashInsert()
Dimports.h57 #define MALLOC_STRUCT(T) (struct T *) malloc(sizeof(struct T)) macro
Dqueryobj.c50 struct gl_query_object *q = MALLOC_STRUCT(gl_query_object); in _mesa_new_query_object()
/external/mesa3d/src/gallium/auxiliary/util/
Du_hash_table.c84 ht = MALLOC_STRUCT(util_hash_table); in util_hash_table_create()
163 item = MALLOC_STRUCT(util_hash_table_item); in util_hash_table_set()
Du_keymap.c113 struct keymap *map = MALLOC_STRUCT(keymap); in util_new_keymap()
209 item = MALLOC_STRUCT(keymap_item); in util_keymap_insert()
Du_memory.h56 #define MALLOC_STRUCT(T) (struct T *) MALLOC(sizeof(struct T)) macro
Du_handle_table.c66 ht = MALLOC_STRUCT(handle_table); in handle_table_create()
Du_bitmask.c68 bm = MALLOC_STRUCT(util_bitmask); in util_bitmask_create()
/external/mesa3d/src/mesa/tnl/
Dt_context.c85 tnl->_ShineTabList = MALLOC_STRUCT( tnl_shine_tab ); in _tnl_CreateContext()
89 struct tnl_shine_tab *s = MALLOC_STRUCT( tnl_shine_tab ); in _tnl_CreateContext()
/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_cache.c42 struct translate_cache *cache = MALLOC_STRUCT(translate_cache); in translate_cache_create()
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_mm.c191 alloc = MALLOC_STRUCT(nouveau_mm_allocation); in nouveau_mm_allocate()
239 struct nouveau_mman *cache = MALLOC_STRUCT(nouveau_mman); in nouveau_mm_create()
/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_texture.c135 so = MALLOC_STRUCT(nv30_sampler_state); in nv30_sampler_state_create()
209 so = MALLOC_STRUCT(nv30_sampler_view); in nv30_sampler_view_create()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_rasterizer.c62 struct lp_rast_state *state = MALLOC_STRUCT(lp_rast_state); in llvmpipe_create_rasterizer_state()
Dlp_scene.c305 struct data_block *block = MALLOC_STRUCT(data_block); in lp_scene_new_data_block()
/external/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_hash.c240 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()
Dcso_cache.c248 struct cso_cache *sc = MALLOC_STRUCT(cso_cache); in cso_cache_create()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_screen_buffer.c153 rbuf = MALLOC_STRUCT(r300_resource); in r300_buffer_create()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dr600_buffer.c167 rbuffer = MALLOC_STRUCT(si_resource); in si_buffer_create()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tile_cache.c110 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()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_buffer.c246 rbuffer = MALLOC_STRUCT(r600_resource); in r600_buffer_create()
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_tex.c86 view = MALLOC_STRUCT(nv50_tic_entry); in nv50_create_sampler_view()
Dnv50_program.c257 so = MALLOC_STRUCT(nv50_stream_output_state); in nv50_program_create_strmout_state()
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_tex.c70 view = MALLOC_STRUCT(nv50_tic_entry); in nvc0_create_sampler_view()

12