/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/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/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/autotest/client/deps/glbench/src/ |
D | varyingsandddxytest.cc | 103 GLuint VaryingsShaderProgram(int varyings_count, GLuint vertex_buffer) { in VaryingsShaderProgram() argument 129 glBindBuffer(GL_ARRAY_BUFFER, vertex_buffer); in VaryingsShaderProgram() 151 GLuint DdxDdyShaderProgram(bool ddx, GLuint vertex_buffer) { in DdxDdyShaderProgram() argument 157 glBindBuffer(GL_ARRAY_BUFFER, vertex_buffer); in DdxDdyShaderProgram() 172 GLuint vertex_buffer = SetupVBO(GL_ARRAY_BUFFER, in Run() local 183 GLuint program = VaryingsShaderProgram(1, vertex_buffer); in Run() 188 program = VaryingsShaderProgram(2, vertex_buffer); in Run() 193 program = VaryingsShaderProgram(4, vertex_buffer); in Run() 198 program = VaryingsShaderProgram(8, vertex_buffer); in Run() 204 program = DdxDdyShaderProgram(true, vertex_buffer); in Run() [all …]
|
D | yuvtest.cc | 39 GLuint YuvToRgbShaderProgram(GLuint vertex_buffer, int width, int height); 45 GLuint YuvToRgbTest::YuvToRgbShaderProgram(GLuint vertex_buffer, in YuvToRgbShaderProgram() argument 119 glBindBuffer(GL_ARRAY_BUFFER, vertex_buffer); in YuvToRgbShaderProgram() 216 GLuint vertex_buffer = 0; in Run() local 223 vertex_buffer = SetupVBO(GL_ARRAY_BUFFER, sizeof(vertices), vertices); in Run() 240 program = YuvToRgbShaderProgram(vertex_buffer, in Run() 253 glDeleteBuffers(1, &vertex_buffer); in Run()
|
D | windowmanagercompositingtest.cc | 130 GLuint BasicTextureShaderProgram(GLuint vertex_buffer, GLuint texture_buffer) { in BasicTextureShaderProgram() argument 140 glBindBuffer(GL_ARRAY_BUFFER, vertex_buffer); in BasicTextureShaderProgram() 177 GLuint DoubleTextureBlendShaderProgram(GLuint vertex_buffer, in DoubleTextureBlendShaderProgram() argument 190 glBindBuffer(GL_ARRAY_BUFFER, vertex_buffer); in DoubleTextureBlendShaderProgram() 238 GLuint TripleTextureBlendShaderProgram(GLuint vertex_buffer, in TripleTextureBlendShaderProgram() argument 256 glBindBuffer(GL_ARRAY_BUFFER, vertex_buffer); in TripleTextureBlendShaderProgram()
|
D | attributefetchtest.cc | 101 GLuint vertex_buffer = SetupVBO(GL_ARRAY_BUFFER, in Run() local 117 vertex_buffers[i] = vertex_buffer; in Run() 141 glDeleteBuffers(1, &vertex_buffer); in Run()
|
D | trianglesetuptest.cc | 51 GLuint vertex_buffer = SetupVBO(GL_ARRAY_BUFFER, in Run() local 100 glDeleteBuffers(1, &vertex_buffer); in Run()
|
/external/webrtc/webrtc/test/win/ |
D | d3d_renderer.cc | 111 IDirect3DVertexBuffer9* vertex_buffer; in Init() local 117 &vertex_buffer, in Init() 122 vertex_buffer_ = vertex_buffer; in Init() 123 vertex_buffer->Release(); in Init()
|
/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()
|
D | draw_pt_fetch_shade_emit.c | 118 if (draw->pt.vertex_buffer[i].stride == 0) in fse_prepare() 163 draw->pt.vertex_buffer[i].buffer_offset), in fse_prepare() 164 draw->pt.vertex_buffer[i].stride, in fse_prepare()
|
/external/mesa3d/src/mesa/tnl/ |
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_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_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()
|
D | t_draw.c | 176 struct vertex_buffer *VB = &tnl->vb; in _tnl_import_array() 272 struct vertex_buffer *VB = &tnl->vb; in bind_inputs() 341 struct vertex_buffer *VB = &tnl->vb; in bind_indices() 393 struct vertex_buffer *VB = &tnl->vb; in bind_prims()
|
D | t_vb_light.c | 46 struct vertex_buffer *VB, 223 struct vertex_buffer *VB, struct light_stage_data *store) in prepare_materials() 330 struct vertex_buffer *VB = &tnl->vb; in run_lighting()
|
/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/mesa3d/src/mesa/tnl_dd/ |
D | t_dd_unfilled.h | 39 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in TAG() 103 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in TAG()
|
D | t_dd_tritmp.h | 116 struct vertex_buffer *VB = &TNL_CONTEXT( ctx )->vb; in TAG() 342 struct vertex_buffer *VB = &TNL_CONTEXT( ctx )->vb; in TAG() 583 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in TAG() 603 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in TAG() 634 struct vertex_buffer *VB = &TNL_CONTEXT( ctx )->vb; in TAG()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_vbuf.c | 91 struct pipe_vertex_buffer vertex_buffer[PIPE_MAX_ATTRIBS]; member 247 pipe_resource_reference(&mgr->vertex_buffer[i].buffer, NULL); in u_vbuf_destroy() 279 struct pipe_vertex_buffer *vb = &mgr->vertex_buffer[i]; in u_vbuf_translate_buffers() 449 if (!mgr->vertex_buffer[vb_index].stride) { in u_vbuf_translate_begin() 724 struct pipe_vertex_buffer *orig_vb = &mgr->vertex_buffer[i]; in u_vbuf_set_vertex_buffers() 761 pipe_resource_reference(&mgr->vertex_buffer[i].buffer, NULL); in u_vbuf_set_vertex_buffers() 805 struct pipe_vertex_buffer *vb = &mgr->vertex_buffer[index]; in u_vbuf_upload_buffers() 863 ptr = mgr->vertex_buffer[i].user_buffer; in u_vbuf_upload_buffers() 1154 mgr->vertex_buffer, in u_vbuf_save_vertex_buffers()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_render.c | 176 choose_render(struct intel_context *intel, struct vertex_buffer *VB) in choose_render() 229 struct vertex_buffer *VB = &tnl->vb; in intel_run_render()
|