/third_party/mesa3d/src/util/ |
D | u_memory.h | 61 #define align_malloc(_size, _alignment) os_malloc_aligned(_size, _alignment) macro 68 void *ptr = align_malloc(size, alignment); in align_calloc() 94 #define MALLOC_STRUCT_CL(T) (struct T *)align_malloc(sizeof(struct T), CACHE_LINE_SIZE)
|
/third_party/mesa3d/src/gallium/tests/unit/ |
D | translate_test.c | 137 buffer[i] = align_malloc(buffer_size, 4096); in main() 139 byte_buffer = align_malloc(buffer_size, 4096); in main() 140 float_buffer = align_malloc(buffer_size, 4096); in main() 141 double_buffer = align_malloc(buffer_size, 4096); in main() 142 half_buffer = align_malloc(buffer_size, 4096); in main() 144 elts = align_malloc(count * sizeof *elts, 4096); in main()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_test_blend.c | 472 src = align_malloc(stride, stride); in test_one() 473 src1 = align_malloc(stride, stride); in test_one() 474 dst = align_malloc(stride, stride); in test_one() 475 con = align_malloc(stride, stride); in test_one() 476 res = align_malloc(stride, stride); in test_one() 477 ref = align_malloc(stride, stride); in test_one()
|
D | lp_test_arit.c | 428 in = align_malloc(length * 4, length * 4); in test_unary() 429 out = align_malloc(length * 4, length * 4); in test_unary()
|
D | lp_context.c | 201 llvmpipe = align_malloc(sizeof(struct llvmpipe_context), 16); in llvmpipe_create_context()
|
D | lp_test_format.c | 371 cache_ptr = align_malloc(sizeof(struct lp_build_format_cache), 16); in test_all()
|
D | lp_texture.c | 169 lpr->tex_data = align_malloc(total_size, mip_align); in llvmpipe_texture_layout() 283 lpr->data = align_malloc(lpr->size_required, 64); in llvmpipe_resource_create_all()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_gs.c | 646 align_malloc(vector_size, vector_size); in draw_geometry_shader_run() 727 draw->gs.tgsi.machine->Primitives[i] = align_malloc( in draw_gs_init() 729 draw->gs.tgsi.machine->PrimitiveOffsets[i] = align_malloc( in draw_gs_init() 873 gs->gs_input = align_malloc(sizeof(struct draw_gs_inputs), 16); in draw_create_geometry_shader() 877 gs->llvm_emitted_primitives = align_malloc(vector_size * gs->num_vertex_streams, vector_size); in draw_create_geometry_shader() 878 gs->llvm_emitted_vertices = align_malloc(vector_size * gs->num_vertex_streams, vector_size); in draw_create_geometry_shader()
|
D | draw_tess.c | 454 tcs->tcs_input = align_malloc(sizeof(struct draw_tcs_inputs), 16); in draw_create_tess_ctrl_shader() 457 tcs->tcs_output = align_malloc(sizeof(struct draw_tcs_outputs), 16); in draw_create_tess_ctrl_shader() 582 tes->tes_input = align_malloc(sizeof(struct draw_tes_inputs), 16); in draw_create_tess_eval_shader()
|
D | draw_pipe_vbuf.c | 432 vbuf->indices = (ushort *) align_malloc(vbuf->max_indices * in draw_vbuf_stage()
|
/third_party/mesa3d/src/gallium/auxiliary/tessellator/ |
D | p_tessellator.cpp | 136 mem = align_malloc(sizeof(pipe_ts), 256); in p_tess_init()
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
D | i915_resource_buffer.c | 119 buf->data = align_malloc(template->width0, 64); in i915_buffer_create()
|
/third_party/mesa3d/src/gallium/winsys/sw/hgl/ |
D | hgl_sw_winsys.cpp | 139 = align_malloc(haikuDisplayTarget->size, alignment); in hgl_winsys_displaytarget_create()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_resource_buffer.c | 285 sbuf->swbuf = align_malloc(sbuf->b.width0, 16); in svga_buffer_transfer_map() 546 sbuf->swbuf = align_malloc(sbuf->b.width0, 64); in svga_buffer_create()
|
/third_party/mesa3d/src/mesa/math/ |
D | m_vector.c | 113 v->storage = align_malloc( count * 4 * sizeof(GLfloat), alignment ); in _mesa_vector4f_alloc()
|
D | m_debug_xform.c | 185 mat->m = align_malloc( 16 * sizeof(GLfloat), 16 ); in test_transform_function()
|
D | m_debug_norm.c | 211 mat->m = align_malloc( 16 * sizeof(GLfloat), 16 ); in test_norm_function()
|
/third_party/mesa3d/src/gallium/winsys/sw/gdi/ |
D | gdi_sw_winsys.c | 148 gdt->data = align_malloc(gdt->size, alignment); in gdi_sw_displaytarget_create()
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
D | r300_screen_buffer.c | 185 rbuf->malloced_buffer = align_malloc(templ->width0, 64); in r300_buffer_create()
|
/third_party/mesa3d/src/gallium/winsys/sw/dri/ |
D | dri_sw_winsys.c | 153 dri_sw_dt->data = align_malloc(size, alignment); in dri_sw_displaytarget_create()
|
/third_party/mesa3d/src/gallium/winsys/sw/xlib/ |
D | xlib_sw_winsys.c | 434 xlib_dt->data = align_malloc(size, alignment); in xlib_displaytarget_create()
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_texture.c | 102 spr->data = align_malloc(buffer_size, 64); in softpipe_resource_layout()
|
D | sp_prim_vbuf.c | 97 cvbr->vertex_buffer = align_malloc(size, 16); in sp_vbuf_allocate_vertices()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/ |
D | nouveau_buffer.c | 44 buf->data = align_malloc(buf->base.width0, NOUVEAU_MIN_BUFFER_MAP_ALIGN); in nouveau_buffer_malloc() 167 tx->map = align_malloc(size, NOUVEAU_MIN_BUFFER_MAP_ALIGN); in nouveau_transfer_staging()
|
/third_party/mesa3d/src/gallium/winsys/virgl/vtest/ |
D | virgl_vtest_winsys.c | 264 res->ptr = align_malloc(size, 64); in virgl_vtest_winsys_resource_create()
|