/external/mesa3d/src/mesa/vbo/ |
D | vbo_context.c | 76 struct vbo_context *vbo = vbo_context(ctx); in init_legacy_currval() local 83 struct gl_vertex_array *cl = &vbo->currval[VERT_ATTRIB_FF(i)]; in init_legacy_currval() 95 struct vbo_context *vbo = vbo_context(ctx); in init_generic_currval() local 99 struct gl_vertex_array *cl = &vbo->currval[VBO_ATTRIB_GENERIC0 + i]; in init_generic_currval() 109 struct vbo_context *vbo = vbo_context(ctx); in init_mat_currval() local 117 &vbo->currval[VBO_ATTRIB_MAT_FRONT_AMBIENT + i]; in init_mat_currval() 152 struct vbo_context *vbo = vbo_context(ctx); in vbo_draw_indirect_prims() local 175 vbo->draw_prims(ctx, prim, draw_count, in vbo_draw_indirect_prims() 187 struct vbo_context *vbo = CALLOC_STRUCT(vbo_context); in _vbo_CreateContext() local 189 ctx->vbo_context = vbo; in _vbo_CreateContext() [all …]
|
D | vbo_save_draw.c | 50 struct vbo_context *vbo = vbo_context(ctx); in playback_copy_to_current() local 80 fi_type *current = (fi_type *)vbo->currval[i].Ptr; in playback_copy_to_current() 89 if (node->attrtype[i] != vbo->currval[i].Type || in playback_copy_to_current() 93 vbo->currval[i].Size = node->attrsz[i]; in playback_copy_to_current() 94 vbo->currval[i]._ElementSize = vbo->currval[i].Size * sizeof(GLfloat); in playback_copy_to_current() 95 vbo->currval[i].Type = node->attrtype[i]; in playback_copy_to_current() 96 vbo->currval[i].Integer = in playback_copy_to_current() 136 struct vbo_context *vbo = vbo_context(ctx); in bind_vertex_list() local 137 struct vbo_save_context *save = &vbo->save; in bind_vertex_list() 163 save->inputs[attr] = &vbo->currval[VBO_ATTRIB_POS + attr]; in bind_vertex_list() [all …]
|
D | vbo_save.c | 41 struct vbo_context *vbo = vbo_context(ctx); in vbo_save_init() local 42 struct vbo_save_context *save = &vbo->save; in vbo_save_init() 52 memcpy(arrays, &vbo->currval[VBO_ATTRIB_POS], in vbo_save_init() 59 vbo->currval[VBO_ATTRIB_POS+i].BufferObj); in vbo_save_init() 63 &vbo->currval[VBO_ATTRIB_GENERIC0], in vbo_save_init() 71 vbo->currval[VBO_ATTRIB_GENERIC0+i].BufferObj); in vbo_save_init() 81 struct vbo_context *vbo = vbo_context(ctx); in vbo_save_destroy() local 82 struct vbo_save_context *save = &vbo->save; in vbo_save_destroy()
|
D | vbo_context.h | 98 struct vbo_context *vbo = vbo_context(ctx); in vbo_exec_invalidate_state() local 99 struct vbo_exec_context *exec = &vbo->exec; in vbo_exec_invalidate_state() 141 vbo_draw_method(struct vbo_context *vbo, gl_draw_method method) in vbo_draw_method() argument 143 struct gl_context *ctx = vbo->exec.ctx; in vbo_draw_method() 148 ctx->Array._DrawArrays = vbo->exec.array.inputs; in vbo_draw_method() 151 ctx->Array._DrawArrays = vbo->exec.vtx.inputs; in vbo_draw_method() 154 ctx->Array._DrawArrays = vbo->save.inputs; in vbo_draw_method()
|
D | vbo_exec_array.c | 297 struct vbo_context *vbo = vbo_context(ctx); in recalculate_input_bindings() local 298 struct vbo_exec_context *exec = &vbo->exec; in recalculate_input_bindings() 316 inputs[i] = &vbo->currval[VBO_ATTRIB_POS + i]; in recalculate_input_bindings() 323 &vbo->currval[VBO_ATTRIB_MAT_FRONT_AMBIENT + i]; in recalculate_input_bindings() 332 &vbo->currval[VBO_ATTRIB_GENERIC0 + i]; in recalculate_input_bindings() 359 inputs[0] = &vbo->currval[VBO_ATTRIB_GENERIC0]; in recalculate_input_bindings() 367 inputs[i] = &vbo->currval[VBO_ATTRIB_POS + i]; in recalculate_input_bindings() 378 &vbo->currval[VBO_ATTRIB_GENERIC0 + i]; in recalculate_input_bindings() 393 inputs[i] = &vbo->currval[VBO_ATTRIB_POS + i]; in recalculate_input_bindings() 403 &vbo->currval[VBO_ATTRIB_GENERIC0 + i]; in recalculate_input_bindings() [all …]
|
D | vbo_split_copy.c | 431 struct gl_buffer_object *vbo = copy->array[i]->BufferObj; in replay_init() local 444 if (_mesa_is_bufferobj(vbo) && in replay_init() 445 !_mesa_bufferobj_mapped(vbo, MAP_INTERNAL)) in replay_init() 446 ctx->Driver.MapBufferRange(ctx, 0, vbo->Size, GL_MAP_READ_BIT, vbo, in replay_init() 450 ADD_POINTERS(vbo->Mappings[MAP_INTERNAL].Pointer, in replay_init() 562 struct gl_buffer_object *vbo = copy->varying[i].array->BufferObj; in replay_finish() local 563 if (_mesa_is_bufferobj(vbo) && _mesa_bufferobj_mapped(vbo, MAP_INTERNAL)) in replay_finish() 564 ctx->Driver.UnmapBuffer(ctx, vbo, MAP_INTERNAL); in replay_finish()
|
D | vbo_exec_api.c | 168 struct vbo_context *vbo = vbo_context(ctx); in vbo_exec_copy_to_current() local 177 GLfloat *current = (GLfloat *)vbo->currval[i].Ptr; in vbo_exec_copy_to_current() 198 if (exec->vtx.attrtype[i] != vbo->currval[i].Type || in vbo_exec_copy_to_current() 208 vbo->currval[i].Size = exec->vtx.attrsz[i] / dmul; in vbo_exec_copy_to_current() 209 vbo->currval[i]._ElementSize = in vbo_exec_copy_to_current() 210 vbo->currval[i].Size * sizeof(GLfloat) * dmul; in vbo_exec_copy_to_current() 211 vbo->currval[i].Type = exec->vtx.attrtype[i]; in vbo_exec_copy_to_current() 212 vbo->currval[i].Integer = in vbo_exec_copy_to_current() 214 vbo->currval[i].Doubles = in vbo_exec_copy_to_current() 245 struct vbo_context *vbo = vbo_context(ctx); in vbo_exec_copy_from_current() local [all …]
|
D | vbo_exec_draw.c | 174 struct vbo_context *vbo = vbo_context(ctx); in vbo_exec_bind_arrays() local 175 struct vbo_exec_context *exec = &vbo->exec; in vbo_exec_bind_arrays() 184 exec->vtx.inputs[attr] = &vbo->currval[VBO_ATTRIB_POS+attr]; in vbo_exec_bind_arrays() 193 &vbo->currval[VBO_ATTRIB_MAT_FRONT_AMBIENT+attr]; in vbo_exec_bind_arrays() 195 map = vbo->map_vp_none; in vbo_exec_bind_arrays() 201 &vbo->currval[VBO_ATTRIB_GENERIC0+attr]; in vbo_exec_bind_arrays() 203 map = vbo->map_vp_arb; in vbo_exec_bind_arrays()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_prim_vbuf.c | 78 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/src/mesa/ |
D | Makefile.sources | 393 vbo/vbo_attrib.h \ 394 vbo/vbo_attrib_tmp.h \ 395 vbo/vbo_context.c \ 396 vbo/vbo_context.h \ 397 vbo/vbo_exec_api.c \ 398 vbo/vbo_exec_array.c \ 399 vbo/vbo_exec.c \ 400 vbo/vbo_exec_draw.c \ 401 vbo/vbo_exec_eval.c \ 402 vbo/vbo_exec.h \ [all …]
|
D | meson.build | 327 'vbo/vbo_attrib.h', 328 'vbo/vbo_attrib_tmp.h', 329 'vbo/vbo_context.c', 330 'vbo/vbo_context.h', 331 'vbo/vbo_exec_api.c', 332 'vbo/vbo_exec_array.c', 333 'vbo/vbo_exec.c', 334 'vbo/vbo_exec_draw.c', 335 'vbo/vbo_exec_eval.c', 336 'vbo/vbo_exec.h', [all …]
|
/external/mesa3d/doxygen/ |
D | vbo.doxy | 8 PROJECT_NAME = "Mesa vbo" 12 INPUT = ../src/mesa/vbo/ 27 HTML_OUTPUT = vbo 49 GENERATE_TAGFILE = vbo.tag
|
D | doxy.bat | 2 doxygen vbo.doxy 15 doxygen vbo.doxy
|
D | tnl_dd.doxy | 47 vbo.tag=../vbo
|
D | swrast_setup.doxy | 48 vbo.tag=../vbo
|
D | math.doxy | 48 vbo.tag=../vbo
|
D | nir.doxy | 49 vbo.tag=../vbo
|
D | gbm.doxy | 47 vbo.tag=../vbo
|
D | glapi.doxy | 48 vbo.tag=../vbo
|
D | swrast.doxy | 47 vbo.tag=../vbo
|
D | tnl.doxy | 48 vbo.tag=../vbo
|
D | main.doxy | 43 vbo.tag=../vbo \
|
D | i965.doxy | 49 vbo.tag=../vbo
|
/external/virglrenderer/tests/ |
D | test_virgl_cmd.c | 259 struct virgl_resource vbo; in START_TEST() local 315 ret = testvirgl_create_backed_simple_buffer(&vbo, 2, sizeof(vertices), PIPE_BIND_VERTEX_BUFFER); in START_TEST() 317 virgl_renderer_ctx_attach_resource(ctx.ctx_id, vbo.handle); in START_TEST() 326 virgl_encoder_inline_write(&ctx, &vbo, 0, 0, (struct pipe_box *)&box, &vertices, box.w, 0); in START_TEST() 330 vbuf.buffer = &vbo.base; in START_TEST() 473 testvirgl_destroy_backed_res(&vbo); in START_TEST() 485 struct virgl_resource vbo; in START_TEST() local 548 ret = testvirgl_create_backed_simple_buffer(&vbo, 2, sizeof(vertices), PIPE_BIND_VERTEX_BUFFER); in START_TEST() 550 virgl_renderer_ctx_attach_resource(ctx.ctx_id, vbo.handle); in START_TEST() 559 virgl_encoder_inline_write(&ctx, &vbo, 0, 0, (struct pipe_box *)&box, &vertices, box.w, 0); in START_TEST() [all …]
|
/external/libkmsxx/kmscube/ |
D | cube-gles2.cpp | 196 GLuint vbo; in GlScene() local 198 glGenBuffers(1, &vbo); in GlScene() 199 glBindBuffer(GL_ARRAY_BUFFER, vbo); in GlScene()
|