Home
last modified time | relevance | path

Searched refs:vertex_buffer (Results 1 – 25 of 135) sorted by relevance

123456

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/
Dsp_prim_vbuf.c67 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 …]
Dsp_draw_arrays.c80 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/
Dlp_setup_vbuf.c81 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 …]
Dlp_draw_arrays.c70 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/
Dlp_setup_vbuf.c81 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 …]
Dlp_draw_arrays.c70 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/
Dsp_prim_vbuf.c67 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 …]
Dsp_draw_arrays.c80 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/
Dgen_matypes.c113 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/
Dgen_matypes.c113 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/
Ddraw_pt_fetch.c163 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()
Ddraw_pt.c278 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/
Ddraw_pt_fetch.c163 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()
Ddraw_pt.c278 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/
Dt_vb_texmat.c60 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()
Dt_vb_render.c120 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()
Dt_vb_points.c54 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()
Dt_vb_texgen.c255 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/
Dt_vb_texmat.c60 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()
Dt_vb_render.c120 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()
Dt_vb_points.c54 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()
Dt_vb_texgen.c255 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/
Dgl_readback_unittests.cc217 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/
DREADME.portability75 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/
DREADME.portability75 static inline struct vertex_buffer *vertex_buffer(struct buffer *buf)
77 return (struct vertex_buffer *) buf;

123456