/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
D | sp_prim_vbuf.c | 67 void *vertex_buffer; member 96 align_free(cvbr->vertex_buffer); in sp_vbuf_allocate_vertices() 97 cvbr->vertex_buffer = align_malloc(size, 16); in sp_vbuf_allocate_vertices() 104 return cvbr->vertex_buffer != NULL; in sp_vbuf_allocate_vertices() 119 return cvbr->vertex_buffer; in sp_vbuf_map_vertices() 148 static INLINE cptrf4 get_vert( const void *vertex_buffer, in get_vert() argument 152 return (cptrf4)((char *)vertex_buffer + index * stride); in get_vert() 165 const void *vertex_buffer = cvbr->vertex_buffer; in sp_vbuf_draw_elements() local 174 get_vert(vertex_buffer, indices[i-0], stride) ); in sp_vbuf_draw_elements() 181 get_vert(vertex_buffer, indices[i-1], stride), in sp_vbuf_draw_elements() [all …]
|
D | sp_draw_arrays.c | 80 const void *buf = sp->vertex_buffer[i].user_buffer; in softpipe_draw_vbo() 82 buf = softpipe_resource(sp->vertex_buffer[i].buffer)->data; in softpipe_draw_vbo()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
D | lp_setup_vbuf.c | 81 align_free(setup->vertex_buffer); in lp_setup_allocate_vertices() 82 setup->vertex_buffer = align_malloc(size, 16); in lp_setup_allocate_vertices() 89 return setup->vertex_buffer != NULL; in lp_setup_allocate_vertices() 102 return setup->vertex_buffer; in lp_setup_map_vertices() 124 static INLINE const_float4_ptr get_vert( const void *vertex_buffer, in get_vert() argument 128 return (const_float4_ptr)((char *)vertex_buffer + index * stride); in get_vert() 139 const void *vertex_buffer = setup->vertex_buffer; in lp_setup_draw_elements() local 152 get_vert(vertex_buffer, indices[i-0], stride) ); in lp_setup_draw_elements() 159 get_vert(vertex_buffer, indices[i-1], stride), in lp_setup_draw_elements() 160 get_vert(vertex_buffer, indices[i-0], stride) ); in lp_setup_draw_elements() [all …]
|
D | lp_draw_arrays.c | 70 const void *buf = lp->vertex_buffer[i].user_buffer; in llvmpipe_draw_vbo() 72 buf = llvmpipe_resource_data(lp->vertex_buffer[i].buffer); in llvmpipe_draw_vbo()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_setup_vbuf.c | 81 align_free(setup->vertex_buffer); in lp_setup_allocate_vertices() 82 setup->vertex_buffer = align_malloc(size, 16); in lp_setup_allocate_vertices() 89 return setup->vertex_buffer != NULL; in lp_setup_allocate_vertices() 102 return setup->vertex_buffer; in lp_setup_map_vertices() 124 static INLINE const_float4_ptr get_vert( const void *vertex_buffer, in get_vert() argument 128 return (const_float4_ptr)((char *)vertex_buffer + index * stride); in get_vert() 139 const void *vertex_buffer = setup->vertex_buffer; in lp_setup_draw_elements() local 152 get_vert(vertex_buffer, indices[i-0], stride) ); in lp_setup_draw_elements() 159 get_vert(vertex_buffer, indices[i-1], stride), in lp_setup_draw_elements() 160 get_vert(vertex_buffer, indices[i-0], stride) ); in lp_setup_draw_elements() [all …]
|
D | lp_draw_arrays.c | 70 const void *buf = lp->vertex_buffer[i].user_buffer; in llvmpipe_draw_vbo() 72 buf = llvmpipe_resource_data(lp->vertex_buffer[i].buffer); in llvmpipe_draw_vbo()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_prim_vbuf.c | 67 void *vertex_buffer; member 96 align_free(cvbr->vertex_buffer); in sp_vbuf_allocate_vertices() 97 cvbr->vertex_buffer = align_malloc(size, 16); in sp_vbuf_allocate_vertices() 104 return cvbr->vertex_buffer != NULL; in sp_vbuf_allocate_vertices() 119 return cvbr->vertex_buffer; in sp_vbuf_map_vertices() 148 static INLINE cptrf4 get_vert( const void *vertex_buffer, in get_vert() argument 152 return (cptrf4)((char *)vertex_buffer + index * stride); in get_vert() 165 const void *vertex_buffer = cvbr->vertex_buffer; in sp_vbuf_draw_elements() local 174 get_vert(vertex_buffer, indices[i-0], stride) ); in sp_vbuf_draw_elements() 181 get_vert(vertex_buffer, indices[i-1], stride), in sp_vbuf_draw_elements() [all …]
|
D | sp_draw_arrays.c | 80 const void *buf = sp->vertex_buffer[i].user_buffer; in softpipe_draw_vbo() 82 buf = softpipe_resource(sp->vertex_buffer[i].buffer)->data; in softpipe_draw_vbo()
|
/external/mesa3d/src/mesa/x86/ |
D | gen_matypes.c | 113 OFFSET( "VB_SIZE ", struct vertex_buffer, Size ); in main() 114 OFFSET( "VB_COUNT ", struct vertex_buffer, Count ); in main() 116 OFFSET( "VB_ELTS ", struct vertex_buffer, Elts ); in main() 117 OFFSET( "VB_OBJ_PTR ", struct vertex_buffer, AttribPtr[_TNL_ATTRIB_POS] ); in main() 118 OFFSET( "VB_EYE_PTR ", struct vertex_buffer, EyePtr ); in main() 119 OFFSET( "VB_CLIP_PTR ", struct vertex_buffer, ClipPtr ); in main() 120 OFFSET( "VB_PROJ_CLIP_PTR ", struct vertex_buffer, NdcPtr ); in main() 121 OFFSET( "VB_CLIP_OR_MASK ", struct vertex_buffer, ClipOrMask ); in main() 122 OFFSET( "VB_CLIP_MASK ", struct vertex_buffer, ClipMask ); in main() 123 OFFSET( "VB_NORMAL_PTR ", struct vertex_buffer, AttribPtr[_TNL_ATTRIB_NORMAL] ); in main() [all …]
|
/external/chromium_org/third_party/mesa/src/src/mesa/x86/ |
D | gen_matypes.c | 113 OFFSET( "VB_SIZE ", struct vertex_buffer, Size ); in main() 114 OFFSET( "VB_COUNT ", struct vertex_buffer, Count ); in main() 116 OFFSET( "VB_ELTS ", struct vertex_buffer, Elts ); in main() 117 OFFSET( "VB_OBJ_PTR ", struct vertex_buffer, AttribPtr[_TNL_ATTRIB_POS] ); in main() 118 OFFSET( "VB_EYE_PTR ", struct vertex_buffer, EyePtr ); in main() 119 OFFSET( "VB_CLIP_PTR ", struct vertex_buffer, ClipPtr ); in main() 120 OFFSET( "VB_PROJ_CLIP_PTR ", struct vertex_buffer, NdcPtr ); in main() 121 OFFSET( "VB_CLIP_OR_MASK ", struct vertex_buffer, ClipOrMask ); in main() 122 OFFSET( "VB_CLIP_MASK ", struct vertex_buffer, ClipMask ); in main() 123 OFFSET( "VB_NORMAL_PTR ", struct vertex_buffer, AttribPtr[_TNL_ATTRIB_NORMAL] ); in main() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
D | draw_pt_fetch.c | 163 draw->pt.vertex_buffer[i].buffer_offset), in draw_pt_fetch_run() 164 draw->pt.vertex_buffer[i].stride, in draw_pt_fetch_run() 190 draw->pt.vertex_buffer[i].buffer_offset), in draw_pt_fetch_run_linear() 191 draw->pt.vertex_buffer[i].stride, in draw_pt_fetch_run_linear()
|
D | draw_pt.c | 278 ptr += draw->pt.vertex_buffer[buf].buffer_offset; in draw_print_arrays() 279 ptr += draw->pt.vertex_buffer[buf].stride * ii; in draw_print_arrays() 488 draw->pt.vertex_buffer[i].stride, in draw_vbo() 489 draw->pt.vertex_buffer[i].buffer_offset, in draw_vbo() 497 index_limit = util_draw_max_index(draw->pt.vertex_buffer, in draw_vbo()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt_fetch.c | 163 draw->pt.vertex_buffer[i].buffer_offset), in draw_pt_fetch_run() 164 draw->pt.vertex_buffer[i].stride, in draw_pt_fetch_run() 190 draw->pt.vertex_buffer[i].buffer_offset), in draw_pt_fetch_run_linear() 191 draw->pt.vertex_buffer[i].stride, in draw_pt_fetch_run_linear()
|
D | draw_pt.c | 278 ptr += draw->pt.vertex_buffer[buf].buffer_offset; in draw_print_arrays() 279 ptr += draw->pt.vertex_buffer[buf].stride * ii; in draw_print_arrays() 488 draw->pt.vertex_buffer[i].stride, in draw_vbo() 489 draw->pt.vertex_buffer[i].buffer_offset, in draw_vbo() 497 index_limit = util_draw_max_index(draw->pt.vertex_buffer, in draw_vbo()
|
/external/mesa3d/src/mesa/tnl/ |
D | t_vb_texmat.c | 60 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in run_texmat_stage() 88 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in alloc_texmat_data()
|
D | t_vb_render.c | 120 struct vertex_buffer *VB = &tnl->vb; \ 156 struct vertex_buffer *VB = &tnl->vb; in clip_elt_triangles() 210 struct vertex_buffer *VB = &tnl->vb; \ 241 struct vertex_buffer *VB = &tnl->vb; in _tnl_RenderClippedPolygon() 266 struct vertex_buffer *VB = &tnl->vb; in run_render()
|
D | t_vb_points.c | 54 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in run_point_stage() 82 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in alloc_point_data()
|
D | t_vb_texgen.c | 255 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in texgen_reflection_map_nv() 277 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in texgen_normal_map_nv() 305 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in texgen_sphere_map() 339 struct vertex_buffer *VB = &tnl->vb; in texgen() 486 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in run_texgen_stage() 561 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in alloc_texgen_data()
|
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
D | t_vb_texmat.c | 60 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in run_texmat_stage() 88 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in alloc_texmat_data()
|
D | t_vb_render.c | 120 struct vertex_buffer *VB = &tnl->vb; \ 156 struct vertex_buffer *VB = &tnl->vb; in clip_elt_triangles() 210 struct vertex_buffer *VB = &tnl->vb; \ 241 struct vertex_buffer *VB = &tnl->vb; in _tnl_RenderClippedPolygon() 266 struct vertex_buffer *VB = &tnl->vb; in run_render()
|
D | t_vb_points.c | 54 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in run_point_stage() 82 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in alloc_point_data()
|
D | t_vb_texgen.c | 255 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in texgen_reflection_map_nv() 277 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in texgen_normal_map_nv() 305 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in texgen_sphere_map() 339 struct vertex_buffer *VB = &tnl->vb; in texgen() 486 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in run_texgen_stage() 561 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in alloc_texgen_data()
|
/external/chromium_org/gpu/command_buffer/tests/ |
D | gl_readback_unittests.cc | 217 GLuint vertex_buffer; in TEST_F() local 218 glGenBuffers(1, &vertex_buffer); in TEST_F() 219 glBindBuffer(GL_ARRAY_BUFFER, vertex_buffer); in TEST_F() 318 glDeleteBuffers(1, &vertex_buffer); in TEST_F()
|
/external/mesa3d/src/gallium/ |
D | README.portability | 75 static inline struct vertex_buffer *vertex_buffer(struct buffer *buf) 77 return (struct vertex_buffer *) buf;
|
/external/chromium_org/third_party/mesa/src/src/gallium/ |
D | README.portability | 75 static inline struct vertex_buffer *vertex_buffer(struct buffer *buf) 77 return (struct vertex_buffer *) buf;
|