/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 | 139 buffer[i] = align_malloc(buffer_size, 4096); in main() 141 byte_buffer = align_malloc(buffer_size, 4096); in main() 142 float_buffer = align_malloc(buffer_size, 4096); in main() 143 double_buffer = align_malloc(buffer_size, 4096); in main() 144 half_buffer = align_malloc(buffer_size, 4096); in main() 146 elts = align_malloc(count * sizeof *elts, 4096); in main()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_test_blend.c | 469 src = align_malloc(stride, stride); in test_one() 470 src1 = align_malloc(stride, stride); in test_one() 471 dst = align_malloc(stride, stride); in test_one() 472 con = align_malloc(stride, stride); in test_one() 473 res = align_malloc(stride, stride); in test_one() 474 ref = align_malloc(stride, stride); in test_one()
|
D | lp_test_arit.c | 432 in = align_malloc(length * 4, length * 4); in test_unary() 433 out = align_malloc(length * 4, length * 4); in test_unary()
|
D | lp_context.c | 185 llvmpipe = align_malloc(sizeof(struct llvmpipe_context), 16); in llvmpipe_create_context()
|
D | lp_test_format.c | 365 cache_ptr = align_malloc(sizeof(struct lp_build_format_cache), 16); in test_all()
|
D | lp_texture.c | 170 lpr->tex_data = align_malloc(total_size, mip_align); in llvmpipe_texture_layout() 284 lpr->data = align_malloc(lpr->size_required, 64); in llvmpipe_resource_create_all()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_gs.c | 645 align_malloc(vector_size, vector_size); in draw_geometry_shader_run() 726 draw->gs.tgsi.machine->Primitives[i] = align_malloc( in draw_gs_init() 728 draw->gs.tgsi.machine->PrimitiveOffsets[i] = align_malloc( in draw_gs_init() 870 gs->gs_input = align_malloc(sizeof(struct draw_gs_inputs), 16); in draw_create_geometry_shader() 874 gs->llvm_emitted_primitives = align_malloc(vector_size * gs->num_vertex_streams, vector_size); in draw_create_geometry_shader() 875 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() 585 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/drivers/svga/ |
D | svga_resource_buffer.c | 261 sbuf->swbuf = align_malloc(sbuf->b.width0, 16); in svga_buffer_transfer_map() 520 sbuf->swbuf = align_malloc(sbuf->b.width0, 64); in svga_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/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/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/drivers/r300/ |
D | r300_screen_buffer.c | 185 rbuf->malloced_buffer = align_malloc(templ->width0, 64); in r300_buffer_create()
|
/third_party/mesa3d/src/mesa/tnl/ |
D | t_vb_vertex.c | 253 store->clipmask = align_malloc(sizeof(GLubyte)*size, 32 ); in init_vertex_stage()
|
D | t_vb_program.c | 487 store->clipmask = align_malloc(sizeof(GLubyte)*size, 32 ); in init_vp()
|
/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/mesa/drivers/dri/i915/ |
D | intel_buffer_objects.c | 145 align_malloc(size, ctx->Const.MinMapBufferAlignment); in intel_bufferobj_data() 353 align_malloc(length + extra, alignment); in intel_bufferobj_map_range()
|
/third_party/mesa3d/src/mesa/swrast/ |
D | s_texture.c | 104 swImg->Buffer = align_malloc(bytesPerSlice * slices, 512); in _swrast_alloc_texture_image_buffer()
|
/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()
|