Home
last modified time | relevance | path

Searched refs:align_malloc (Results 1 – 23 of 23) sorted by relevance

/external/mesa3d/src/gallium/tests/unit/
Dtranslate_test.c137 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()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_test_blend.c489 src = align_malloc(stride, stride); in test_one()
490 dst = align_malloc(stride, stride); in test_one()
491 con = align_malloc(stride, stride); in test_one()
492 res = align_malloc(stride, stride); in test_one()
493 ref = align_malloc(stride, stride); in test_one()
561 src = align_malloc(4*stride, stride); in test_one()
562 dst = align_malloc(4*stride, stride); in test_one()
563 con = align_malloc(4*stride, stride); in test_one()
564 res = align_malloc(4*stride, stride); in test_one()
565 ref = align_malloc(4*stride, stride); in test_one()
Dlp_test_arit.c303 in = align_malloc(length * 4, length * 4); in test_unary()
304 out = align_malloc(length * 4, length * 4); in test_unary()
Dlp_context.c119 llvmpipe = align_malloc(sizeof(struct llvmpipe_context), 16); in llvmpipe_create_context()
Dlp_texture.c284 lpr->data = align_malloc(bytes, 16); in llvmpipe_resource_create()
982 lpr->tiled[level].data = align_malloc(buffer_size, alignment); in alloc_image_data()
1003 lpr->linear[level].data = align_malloc(buffer_size, alignment); in alloc_image_data()
Dlp_setup_vbuf.c82 setup->vertex_buffer = align_malloc(size, 16); in lp_setup_allocate_vertices()
/external/mesa3d/src/gallium/auxiliary/util/
Du_memory.h63 #define align_malloc(_size, _alignment) os_malloc_aligned(_size, _alignment) macro
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_buffer.c181 sbuf->swbuf = align_malloc(sbuf->b.b.width0, 16); in svga_buffer_get_transfer()
359 sbuf->swbuf = align_malloc(template->width0, 64); in svga_buffer_create()
/external/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_buffer_malloc.c144 … buf->data = align_malloc(size, desc->alignment < sizeof(void*) ? sizeof(void*) : desc->alignment); in pb_malloc_buffer_create()
Dpb_bufmgr_ondemand.c255 … buf->data = align_malloc(size, desc->alignment < sizeof(void*) ? sizeof(void*) : desc->alignment); in pb_ondemand_manager_create_buffer()
Dpb_buffer_fenced.c524 fenced_buf->data = align_malloc(fenced_buf->size, fenced_buf->desc.alignment); in fenced_buffer_create_cpu_storage_locked()
/external/mesa3d/src/gallium/drivers/i915/
Di915_resource_buffer.c149 buf->data = align_malloc(template->width0, 16); in i915_buffer_create()
/external/mesa3d/src/gallium/winsys/sw/dri/
Ddri_sw_winsys.c105 dri_sw_dt->data = align_malloc(size, alignment); in dri_sw_displaytarget_create()
/external/mesa3d/src/gallium/winsys/sw/gdi/
Dgdi_sw_winsys.c147 gdt->data = align_malloc(gdt->size, alignment); in gdi_sw_displaytarget_create()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vs_ppc.c193 vs->base.immediates = align_malloc(TGSI_EXEC_NUM_IMMEDIATES * 4 * in draw_create_vs_ppc()
Ddraw_vs.c75 align_malloc(size, alignment); in draw_vs_set_constants()
Ddraw_pipe_vbuf.c444 vbuf->indices = (ushort *) align_malloc( vbuf->max_indices * in draw_vbuf_stage()
Ddraw_gs.c52 draw->gs.tgsi.machine->Primitives = align_malloc( in draw_gs_init()
/external/mesa3d/src/gallium/winsys/sw/fbdev/
Dfbdev_sw_winsys.c182 fbdt->data = align_malloc(size, alignment); in fbdev_displaytarget_create()
/external/mesa3d/src/gallium/winsys/sw/xlib/
Dxlib_sw_winsys.c412 xlib_dt->data = align_malloc(size, alignment); in xlib_displaytarget_create()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_texture.c86 spr->data = align_malloc(buffer_size, 16); in softpipe_resource_layout()
Dsp_prim_vbuf.c97 cvbr->vertex_buffer = align_malloc(size, 16); in sp_vbuf_allocate_vertices()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_exec.c685 inputs = align_malloc(sizeof(struct tgsi_exec_vector) * in tgsi_exec_machine_bind_shader()
692 outputs = align_malloc(sizeof(struct tgsi_exec_vector) * in tgsi_exec_machine_bind_shader()
827 mach = align_malloc( sizeof *mach, 16 ); in tgsi_exec_machine_create()
837 mach->Inputs = align_malloc(sizeof(struct tgsi_exec_vector) * PIPE_MAX_ATTRIBS, 16); in tgsi_exec_machine_create()
838 mach->Outputs = align_malloc(sizeof(struct tgsi_exec_vector) * PIPE_MAX_ATTRIBS, 16); in tgsi_exec_machine_create()