/external/mesa3d/src/mesa/vbo/ |
D | vbo_context.c | 49 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 …]
|
D | vbo_save_draw.c | 53 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 …]
|
D | vbo_save.c | 57 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()
|
D | vbo_context.h | 130 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()
|
D | vbo_exec_array.c | 70 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 …]
|
D | vbo_exec_draw.c | 163 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()
|
D | vbo_split_copy.c | 441 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()
|
/external/chromium_org/third_party/mesa/src/src/mesa/vbo/ |
D | vbo_context.c | 49 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 …]
|
D | vbo_save_draw.c | 53 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 …]
|
D | vbo_save.c | 57 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()
|
D | vbo_context.h | 130 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()
|
D | vbo_exec_array.c | 70 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 …]
|
D | vbo_exec_draw.c | 163 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()
|
D | vbo_split_copy.c | 441 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()
|
/external/chromium_org/third_party/mesa/src/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/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/doxygen/ |
D | vbo.doxy | 8 PROJECT_NAME = "Mesa vbo" 12 INPUT = ../src/mesa/vbo/ 27 HTML_OUTPUT = vbo 50 GENERATE_TAGFILE = vbo.tag
|
/external/chromium_org/third_party/mesa/src/doxygen/ |
D | vbo.doxy | 8 PROJECT_NAME = "Mesa vbo" 12 INPUT = ../src/mesa/vbo/ 27 HTML_OUTPUT = vbo 50 GENERATE_TAGFILE = vbo.tag
|
D | doxy.bat | 2 doxygen vbo.doxy 13 doxygen vbo.doxy
|
/external/chromium_org/gpu/command_buffer/tests/ |
D | gl_test_utils.cc | 93 GLuint vbo = 0; in SetupUnitQuad() local 94 glGenBuffers(1, &vbo); in SetupUnitQuad() 95 glBindBuffer(GL_ARRAY_BUFFER, vbo); in SetupUnitQuad() 108 return vbo; in SetupUnitQuad() 113 GLuint vbo = 0; in SetupColorsForUnitQuad() local 114 glGenBuffers(1, &vbo); in SetupColorsForUnitQuad() 115 glBindBuffer(GL_ARRAY_BUFFER, vbo); in SetupColorsForUnitQuad() 126 return vbo; in SetupColorsForUnitQuad()
|
D | gl_pointcoord_unittest.cc | 39 GLuint vbo = 0; in SetupQuad() local 40 glGenBuffers(1, &vbo); in SetupQuad() 41 glBindBuffer(GL_ARRAY_BUFFER, vbo); in SetupQuad() 52 return vbo; in SetupQuad()
|
/external/chromium_org/third_party/mesa/src/src/mesa/ |
D | sources.mak | 183 $(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 …]
|
D | SConscript | 213 '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/ |
D | sources.mak | 183 $(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 …]
|
D | SConscript | 213 '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 …]
|