Home
last modified time | relevance | path

Searched refs:vbo (Results 1 – 25 of 46) sorted by relevance

12

/external/mesa3d/src/mesa/vbo/
Dvbo_context.c49 struct vbo_context *vbo = vbo_context(ctx); in init_legacy_currval() local
50 struct gl_client_array *arrays = &vbo->currval[VBO_ATTRIB_POS]; in init_legacy_currval()
79 struct vbo_context *vbo = vbo_context(ctx); in init_generic_currval() local
80 struct gl_client_array *arrays = &vbo->currval[VBO_ATTRIB_GENERIC0]; in init_generic_currval()
106 struct vbo_context *vbo = vbo_context(ctx); in init_mat_currval() local
108 &vbo->currval[VBO_ATTRIB_MAT_FRONT_AMBIENT]; in init_mat_currval()
153 struct vbo_context *vbo = CALLOC_STRUCT(vbo_context); in _vbo_CreateContext() local
155 ctx->swtnl_im = (void *)vbo; in _vbo_CreateContext()
175 for (i = 0; i < Elements(vbo->map_vp_none); i++) in _vbo_CreateContext()
176 vbo->map_vp_none[i] = i; in _vbo_CreateContext()
[all …]
Dvbo_save_draw.c53 struct vbo_context *vbo = vbo_context(ctx); in _playback_copy_to_current() local
82 GLfloat *current = (GLfloat *)vbo->currval[i].Ptr; in _playback_copy_to_current()
90 if (node->attrtype[i] != vbo->currval[i].Type || in _playback_copy_to_current()
94 vbo->currval[i].Size = node->attrsz[i]; in _playback_copy_to_current()
95 vbo->currval[i]._ElementSize = vbo->currval[i].Size * sizeof(GLfloat); in _playback_copy_to_current()
96 vbo->currval[i].Type = node->attrtype[i]; in _playback_copy_to_current()
97 vbo->currval[i].Integer = in _playback_copy_to_current()
137 struct vbo_context *vbo = vbo_context(ctx); in vbo_bind_vertex_list() local
138 struct vbo_save_context *save = &vbo->save; in vbo_bind_vertex_list()
156 save->inputs[attr] = &vbo->currval[VBO_ATTRIB_POS+attr]; in vbo_bind_vertex_list()
[all …]
Dvbo_save.c57 struct vbo_context *vbo = vbo_context(ctx); in vbo_save_init() local
58 struct vbo_save_context *save = &vbo->save; in vbo_save_init()
69 memcpy(arrays, &vbo->currval[VBO_ATTRIB_POS], in vbo_save_init()
76 vbo->currval[VBO_ATTRIB_POS+i].BufferObj); in vbo_save_init()
80 &vbo->currval[VBO_ATTRIB_GENERIC0], in vbo_save_init()
88 vbo->currval[VBO_ATTRIB_GENERIC0+i].BufferObj); in vbo_save_init()
98 struct vbo_context *vbo = vbo_context(ctx); in vbo_save_destroy() local
99 struct vbo_save_context *save = &vbo->save; in vbo_save_destroy()
Dvbo_context.h130 vbo_draw_method(struct vbo_context *vbo, enum draw_method method) in vbo_draw_method() argument
132 if (vbo->last_draw_method != method) { in vbo_draw_method()
133 struct gl_context *ctx = vbo->exec.ctx; in vbo_draw_method()
137 ctx->Array._DrawArrays = vbo->exec.array.inputs; in vbo_draw_method()
140 ctx->Array._DrawArrays = vbo->exec.vtx.inputs; in vbo_draw_method()
143 ctx->Array._DrawArrays = vbo->save.inputs; in vbo_draw_method()
150 vbo->last_draw_method = method; in vbo_draw_method()
Dvbo_exec_array.c70 struct vbo_context *vbo = vbo_context(ctx); in vbo_check_buffers_are_unmapped() local
71 struct vbo_exec_context *exec = &vbo->exec; in vbo_check_buffers_are_unmapped()
352 struct vbo_context *vbo = vbo_context(ctx); in print_draw_arrays() local
353 struct vbo_exec_context *exec = &vbo->exec; in print_draw_arrays()
405 struct vbo_context *vbo = vbo_context(ctx); in recalculate_input_bindings() local
406 struct vbo_exec_context *exec = &vbo->exec; in recalculate_input_bindings()
423 inputs[i] = &vbo->currval[VBO_ATTRIB_POS+i]; in recalculate_input_bindings()
430 &vbo->currval[VBO_ATTRIB_MAT_FRONT_AMBIENT+i]; in recalculate_input_bindings()
438 inputs[VERT_ATTRIB_GENERIC(i)] = &vbo->currval[VBO_ATTRIB_GENERIC0+i]; in recalculate_input_bindings()
455 inputs[i] = &vbo->currval[VBO_ATTRIB_POS+i]; in recalculate_input_bindings()
[all …]
Dvbo_split_copy.c441 struct gl_buffer_object *vbo = copy->array[i]->BufferObj; in replay_init() local
454 if (_mesa_is_bufferobj(vbo) && !_mesa_bufferobj_mapped(vbo)) in replay_init()
455 ctx->Driver.MapBufferRange(ctx, 0, vbo->Size, GL_MAP_READ_BIT, vbo); in replay_init()
457 copy->varying[j].src_ptr = ADD_POINTERS(vbo->Pointer, in replay_init()
574 struct gl_buffer_object *vbo = copy->varying[i].array->BufferObj; in replay_finish() local
575 if (_mesa_is_bufferobj(vbo) && _mesa_bufferobj_mapped(vbo)) in replay_finish()
576 ctx->Driver.UnmapBuffer(ctx, vbo); in replay_finish()
Dvbo_exec_draw.c163 struct vbo_context *vbo = vbo_context(ctx); in vbo_exec_bind_arrays() local
164 struct vbo_exec_context *exec = &vbo->exec; in vbo_exec_bind_arrays()
177 exec->vtx.inputs[attr] = &vbo->currval[VBO_ATTRIB_POS+attr]; in vbo_exec_bind_arrays()
182 &vbo->currval[VBO_ATTRIB_MAT_FRONT_AMBIENT+attr]; in vbo_exec_bind_arrays()
184 map = vbo->map_vp_none; in vbo_exec_bind_arrays()
193 exec->vtx.inputs[attr] = &vbo->currval[VBO_ATTRIB_POS+attr]; in vbo_exec_bind_arrays()
198 &vbo->currval[VBO_ATTRIB_GENERIC0+attr]; in vbo_exec_bind_arrays()
200 map = vbo->map_vp_arb; in vbo_exec_bind_arrays()
Dvbo_exec_api.c154 struct vbo_context *vbo = vbo_context(ctx); in vbo_exec_copy_to_current() local
162 GLfloat *current = (GLfloat *)vbo->currval[i].Ptr; in vbo_exec_copy_to_current()
170 if (exec->vtx.attrtype[i] != vbo->currval[i].Type || in vbo_exec_copy_to_current()
179 vbo->currval[i].Size = exec->vtx.attrsz[i]; in vbo_exec_copy_to_current()
180 vbo->currval[i]._ElementSize = vbo->currval[i].Size * sizeof(GLfloat); in vbo_exec_copy_to_current()
181 vbo->currval[i].Type = exec->vtx.attrtype[i]; in vbo_exec_copy_to_current()
182 vbo->currval[i].Integer = in vbo_exec_copy_to_current()
214 struct vbo_context *vbo = vbo_context(ctx); in vbo_exec_copy_from_current() local
218 const GLfloat *current = (GLfloat *) vbo->currval[i].Ptr; in vbo_exec_copy_from_current()
242 struct vbo_context *vbo = vbo_context(ctx); in vbo_exec_wrap_upgrade_vertex() local
[all …]
/external/mesa3d/src/gallium/drivers/i915/
Di915_prim_vbuf.c78 struct i915_winsys_buffer *vbo; member
120 if (i915->vbo != i915_render->vbo || in i915_vbuf_update_vbo_state()
122 i915->vbo = i915_render->vbo; in i915_vbuf_update_vbo_state()
183 if (i915_render->vbo) { in i915_vbuf_render_new_buf()
184 iws->buffer_unmap(iws, i915_render->vbo); in i915_vbuf_render_new_buf()
185 iws->buffer_destroy(iws, i915_render->vbo); in i915_vbuf_render_new_buf()
191 i915->vbo = NULL; in i915_vbuf_render_new_buf()
192 i915_render->vbo = NULL; in i915_vbuf_render_new_buf()
210 i915_render->vbo = iws->buffer_create(iws, i915_render->vbo_size, in i915_vbuf_render_new_buf()
212 i915_render->vbo_ptr = iws->buffer_map(iws, i915_render->vbo, TRUE); in i915_vbuf_render_new_buf()
[all …]
/external/mesa3d/doxygen/
Dvbo.doxy8 PROJECT_NAME = "Mesa vbo"
12 INPUT = ../src/mesa/vbo/
27 HTML_OUTPUT = vbo
50 GENERATE_TAGFILE = vbo.tag
Ddoxy.bat2 doxygen vbo.doxy
13 doxygen vbo.doxy
Dmath.doxy48 vbo.tag=../vbo
Dswrast_setup.doxy48 vbo.tag=../vbo
Dshader.doxy48 vbo.tag=vbo
Dglapi.doxy48 vbo.tag=vbo
Dgbm.doxy47 vbo.tag=vbo
Dtnl.doxy49 vbo.tag=vbo
Dswrast.doxy47 vbo.tag=vbo
Dtnl_dd.doxy48 vbo.tag=vbo
Dmain.doxy43 vbo.tag=../vbo \
/external/mesa3d/src/mesa/
Dsources.mak183 $(SRCDIR)vbo/vbo_context.c \
184 $(SRCDIR)vbo/vbo_exec.c \
185 $(SRCDIR)vbo/vbo_exec_api.c \
186 $(SRCDIR)vbo/vbo_exec_array.c \
187 $(SRCDIR)vbo/vbo_exec_draw.c \
188 $(SRCDIR)vbo/vbo_exec_eval.c \
189 $(SRCDIR)vbo/vbo_noop.c \
190 $(SRCDIR)vbo/vbo_primitive_restart.c \
191 $(SRCDIR)vbo/vbo_rebase.c \
192 $(SRCDIR)vbo/vbo_split.c \
[all …]
DSConscript213 'vbo/vbo_context.c',
214 'vbo/vbo_exec.c',
215 'vbo/vbo_exec_api.c',
216 'vbo/vbo_exec_array.c',
217 'vbo/vbo_exec_draw.c',
218 'vbo/vbo_exec_eval.c',
219 'vbo/vbo_noop.c',
220 'vbo/vbo_primitive_restart.c',
221 'vbo/vbo_rebase.c',
222 'vbo/vbo_split.c',
[all …]
/external/mesa3d/src/mesa/drivers/osmesa/
Ddescrip.mms9 define vbo [--.vbo]
/external/mesa3d/src/mesa/swrast_setup/
Ddescrip.mms9 define vbo [-.vbo]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_swtnl_t.c157 nouveau_bo_ref(NULL, &swtnl->vbo); in swtnl_alloc_vertices()
158 swtnl->buf = nouveau_get_scratch(ctx, SWTNL_VBO_SIZE, &swtnl->vbo, in swtnl_alloc_vertices()
175 nouveau_bo_ref(swtnl->vbo, &a->bo); in swtnl_bind_vertices()
349 nouveau_bo_ref(NULL, &to_render_state(ctx)->swtnl.vbo); in TAG()

12