Home
last modified time | relevance | path

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

12345

/third_party/mesa3d/src/mesa/vbo/
Dvbo_context.c74 struct vbo_context *vbo = vbo_context(ctx); in init_legacy_currval() local
83 struct gl_array_attributes *attrib = &vbo->current[attr]; in init_legacy_currval()
94 struct vbo_context *vbo = vbo_context(ctx); in init_generic_currval() local
99 struct gl_array_attributes *attrib = &vbo->current[attr]; in init_generic_currval()
109 struct vbo_context *vbo = vbo_context(ctx); in init_mat_currval() local
117 struct gl_array_attributes *attrib = &vbo->current[attr]; in init_mat_currval()
145 struct vbo_context *vbo = vbo_context(ctx); in vbo_exec_update_eval_maps() local
147 vbo->exec.eval.recalculate_maps = GL_TRUE; in vbo_exec_update_eval_maps()
154 struct vbo_context *vbo = &ctx->vbo_context; in _vbo_CreateContext() local
156 memset(vbo, 0, sizeof(*vbo)); in _vbo_CreateContext()
[all …]
Dvbo_save.c42 struct vbo_context *vbo = vbo_context(ctx); in vbo_save_init() local
43 struct vbo_save_context *save = &vbo->save; in vbo_save_init()
58 struct vbo_context *vbo = vbo_context(ctx); in vbo_save_destroy() local
59 struct vbo_save_context *save = &vbo->save; in vbo_save_destroy()
Dvbo_exec_api.c167 struct vbo_context *vbo = vbo_context(ctx); in vbo_exec_copy_to_current() local
177 GLfloat *current = (GLfloat *)vbo->current[i].Ptr; in vbo_exec_copy_to_current()
225 if (exec->vtx.attr[i].type != vbo->current[i].Format.Type || in vbo_exec_copy_to_current()
226 (exec->vtx.attr[i].size >> dmul_shift) != vbo->current[i].Format.Size) { in vbo_exec_copy_to_current()
227 vbo_set_vertex_format(&vbo->current[i].Format, in vbo_exec_copy_to_current()
253 struct vbo_context *vbo = vbo_context(ctx); in vbo_exec_wrap_upgrade_vertex() local
390 fi_type *current = (fi_type *)vbo->current[j].Ptr; in vbo_exec_wrap_upgrade_vertex()
817 struct vbo_context *vbo = vbo_context(ctx); in _mesa_Begin() local
818 struct vbo_exec_context *exec = &vbo->exec; in _mesa_Begin()
Dvbo_exec_draw.c88 struct vbo_context *vbo = vbo_context(ctx); in vbo_exec_bind_arrays() local
89 struct gl_vertex_array_object *vao = vbo->VAO; in vbo_exec_bind_arrays()
90 struct vbo_exec_context *exec = &vbo->exec; in vbo_exec_bind_arrays()
Dvbo_save_draw.c49 struct vbo_context *vbo = vbo_context(ctx); in copy_vao() local
56 struct gl_array_attributes *currval = &vbo->current[current_index]; in copy_vao()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_prim_vbuf.c74 struct i915_winsys_buffer *vbo; member
109 if (i915->vbo != i915_render->vbo || in i915_vbuf_update_vbo_state()
111 i915->vbo = i915_render->vbo; in i915_vbuf_update_vbo_state()
172 if (i915_render->vbo) { in i915_vbuf_render_new_buf()
173 iws->buffer_unmap(iws, i915_render->vbo); in i915_vbuf_render_new_buf()
174 iws->buffer_destroy(iws, i915_render->vbo); in i915_vbuf_render_new_buf()
180 i915->vbo = NULL; in i915_vbuf_render_new_buf()
181 i915_render->vbo = NULL; in i915_vbuf_render_new_buf()
191 i915_render->vbo = in i915_vbuf_render_new_buf()
193 i915_render->vbo_ptr = iws->buffer_map(iws, i915_render->vbo, true); in i915_vbuf_render_new_buf()
[all …]
Di915_state_emit.c113 if (i915->immediate_dirty & (1 << I915_IMMEDIATE_S0) && i915->vbo) in validate_immediate()
114 i915->validation_buffers[i915->num_validation_buffers++] = i915->vbo; in validate_immediate()
160 if (i915->vbo) in emit_immediate()
161 OUT_RELOC(i915->vbo, I915_USAGE_VERTEX, in emit_immediate()
/third_party/mesa3d/src/mesa/
Dmeson.build383 'vbo/vbo.h',
384 'vbo/vbo_attrib.h',
385 'vbo/vbo_attrib_tmp.h',
386 'vbo/vbo_context.c',
387 'vbo/vbo_exec.c',
388 'vbo/vbo_exec.h',
389 'vbo/vbo_exec_api.c',
390 'vbo/vbo_exec_draw.c',
391 'vbo/vbo_exec_eval.c',
392 'vbo/vbo_minmax_index.c',
[all …]
/third_party/mesa3d/src/mesa/main/
Dvarray.c206 struct gl_buffer_object *vbo, in _mesa_bind_vertex_buffer() argument
215 !offset_is_int32 && vbo) { in _mesa_bind_vertex_buffer()
228 if (binding->BufferObj != vbo || in _mesa_bind_vertex_buffer()
234 binding->BufferObj = vbo; in _mesa_bind_vertex_buffer()
236 _mesa_reference_buffer_object(ctx, &binding->BufferObj, vbo); in _mesa_bind_vertex_buffer()
242 if (!vbo) { in _mesa_bind_vertex_buffer()
246 vbo->UsageHistory |= USAGE_ARRAY_BUFFER; in _mesa_bind_vertex_buffer()
958 struct gl_buffer_object** vbo, in _lookup_vao_and_vbo_dsa() argument
966 *vbo = _mesa_lookup_bufferobj(ctx, buffer); in _lookup_vao_and_vbo_dsa()
967 if (!_mesa_handle_bind_buffer_gen(ctx, buffer, vbo, caller, false)) in _lookup_vao_and_vbo_dsa()
[all …]
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dgstglupload.c40 static guint vbo, vbo_indices, vao; variable
118 gl->BindBuffer (GL_ARRAY_BUFFER, vbo); in _bind_buffer()
177 if (!vbo) { in init()
183 gl->GenBuffers (1, &vbo); in init()
184 gl->BindBuffer (GL_ARRAY_BUFFER, vbo); in init()
209 if (vbo) in deinit()
210 gl->DeleteBuffers (1, &vbo); in deinit()
211 vbo = 0; in deinit()
Dgstglcontext.c47 static GLuint vbo, vbo_indices, vao; variable
146 gl->BindBuffer (GL_ARRAY_BUFFER, vbo); in _bind_buffer()
178 if (!vbo) { in init_blit()
184 gl->GenBuffers (1, &vbo); in init_blit()
185 gl->BindBuffer (GL_ARRAY_BUFFER, vbo); in init_blit()
214 if (vbo) in deinit_blit()
215 gl->DeleteBuffers (1, &vbo); in deinit_blit()
216 vbo = 0; in deinit_blit()
/third_party/mesa3d/src/gallium/drivers/crocus/ci/
Dcrocus-g41-flakes.txt22 spec@arb_vertex_buffer_object@vbo-subdata-many drawarrays
23 spec@arb_vertex_buffer_object@vbo-subdata-many drawelements
24 spec@arb_vertex_buffer_object@vbo-subdata-many drawrangeelements
/third_party/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_validate.c874 struct drm_gem_cma_object *vbo = in validate_gl_shader_rec() local
885 if (vbo->base.size < offset || in validate_gl_shader_rec()
886 vbo->base.size - offset < attr_size) { in validate_gl_shader_rec()
888 offset, attr_size, vbo->base.size); in validate_gl_shader_rec()
893 max_index = ((vbo->base.size - offset - attr_size) / in validate_gl_shader_rec()
903 *(uint32_t *)(pkt_v + o) = vbo->paddr + offset; in validate_gl_shader_rec()
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgltestsrc.c112 guint vbo; member
133 gl->BindBuffer (GL_ARRAY_BUFFER, src->vbo); in _bind_buffer()
177 if (!src->vbo) { in _src_shader_init()
183 gl->GenBuffers (1, &src->vbo); in _src_shader_init()
184 gl->BindBuffer (GL_ARRAY_BUFFER, src->vbo); in _src_shader_init()
248 if (src->vbo) in _src_shader_deinit()
249 gl->DeleteBuffers (1, &src->vbo); in _src_shader_deinit()
250 src->vbo = 0; in _src_shader_deinit()
Dgstgloverlay.c172 if (overlay->vbo) { in gst_gl_overlay_gl_stop()
173 gl->DeleteBuffers (1, &overlay->vbo); in gst_gl_overlay_gl_stop()
174 overlay->vbo = 0; in gst_gl_overlay_gl_stop()
405 _bind_buffer (GstGLOverlay * overlay, GLuint vbo) in _bind_buffer() argument
411 gl->BindBuffer (GL_ARRAY_BUFFER, vbo); in _bind_buffer()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_render.c954 if (!r300->vbo || size + r300->draw_vbo_offset > r300->vbo->size) { in r300_render_allocate_vertices()
955 pb_reference(&r300->vbo, NULL); in r300_render_allocate_vertices()
956 r300->vbo = NULL; in r300_render_allocate_vertices()
959 r300->vbo = rws->buffer_create(rws, in r300_render_allocate_vertices()
964 if (!r300->vbo) { in r300_render_allocate_vertices()
968 r300render->vbo_ptr = rws->buffer_map(rws, r300->vbo, &r300->cs, in r300_render_allocate_vertices()
1060 unsigned max_index = (r300->vbo->size - r300->draw_vbo_offset) / in r300_render_draw_elements()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DRobustBufferAccessBehaviorTest.cpp386 GLBuffer vbo; in TEST_P() local
387 glBindBuffer(GL_ARRAY_BUFFER, vbo); in TEST_P()
523 GLBuffer vbo; in TEST_P() local
524 glBindBuffer(GL_ARRAY_BUFFER, vbo); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DRobustBufferAccessBehaviorTest.cpp383 GLBuffer vbo; in TEST_P() local
384 glBindBuffer(GL_ARRAY_BUFFER, vbo); in TEST_P()
520 GLBuffer vbo; in TEST_P() local
521 glBindBuffer(GL_ARRAY_BUFFER, vbo); in TEST_P()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cGlSpirvTests.cpp308 GLuint vbo; in iterate() local
309 gl.genBuffers(1, &vbo); in iterate()
311 gl.bindBuffer(GL_ARRAY_BUFFER, vbo); in iterate()
400 if (vbo) in iterate()
402 gl.deleteBuffers(1, &vbo); in iterate()
550 GLuint vbo; in iterate() local
551 gl.genBuffers(1, &vbo); in iterate()
553 gl.bindBuffer(GL_ARRAY_BUFFER, vbo); in iterate()
611 if (vbo) in iterate()
613 gl.deleteBuffers(1, &vbo); in iterate()
[all …]
/third_party/mesa3d/src/mesa/state_tracker/
Dst_pbo.c213 struct pipe_vertex_buffer vbo = {0}; in st_pbo_draw() local
223 vbo.stride = 2 * sizeof(float); in st_pbo_draw()
226 &vbo.buffer_offset, &vbo.buffer.resource, (void **) &verts); in st_pbo_draw()
250 cso_set_vertex_buffers(cso, 0, 1, 0, false, &vbo); in st_pbo_draw()
253 pipe_resource_reference(&vbo.buffer.resource, NULL); in st_pbo_draw()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationOrderAttachmentAccessTests.cpp1235 std::vector<tcu::Vec2> vbo(3*primitiveNum); in createVertexBuffer() local
1238 vbo[i*6 + 0] = {-1, -1}; in createVertexBuffer()
1239 vbo[i*6 + 1] = { 1, -1}; in createVertexBuffer()
1240 vbo[i*6 + 2] = {-1, 1}; in createVertexBuffer()
1241 vbo[i*6 + 3] = { 1, 1}; in createVertexBuffer()
1242 vbo[i*6 + 4] = {-1, 1}; in createVertexBuffer()
1243 vbo[i*6 + 5] = { 1, -1}; in createVertexBuffer()
1246 const size_t dataSize = vbo.size() * sizeof(tcu::Vec2); in createVertexBuffer()
1266 deMemcpy(m_vertexBufferMemory->getHostPtr(), vbo.data(), dataSize); in createVertexBuffer()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcTextureFilterAnisotropicTests.cpp664 GLuint vbo; in drawTexture() local
665 gl.genBuffers(1, &vbo); in drawTexture()
667 gl.bindBuffer(GL_ARRAY_BUFFER, vbo); in drawTexture()
736 if (vbo) in drawTexture()
738 gl.deleteBuffers(1, &vbo); in drawTexture()
/third_party/mesa3d/docs/relnotes/
D8.0.3.rst124 - vbo: fix node_attrsz[] usage in vbo_bind_vertex_list()
235 - vbo: Remove pedantic warning about 'end' beind out of bounds.
236 - vbo: Ignore invalid element ranges which are outside VBO bounds.
237 - vbo: Rework checking of 'end' against \_MaxElement.
238 - vbo: Eliminate short-circuiting in invalid-start case.
D6.5.3.rst42 - New vertex buffer object (vbo) infrastructure
70 - Old array_cache module replaced by new vbo module. All geometry
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cTextureGatherTests.cpp350 GLuint tex, fbo, rbo, program, vao, vbo; member in glcts::__anon286a7dce0111::GatherBase
919 glGenBuffers(1, &vbo); in Run()
920 glBindBuffer(GL_ARRAY_BUFFER, vbo); in Run()
1000 glDeleteBuffers(1, &vbo); in Cleanup()
1610 GLuint program, rbo, fbo, vao, vbo; member in glcts::__anon286a7dce0111::TriangleDraw
1669 glGenBuffers(1, &vbo); in Run()
1670 glBindBuffer(GL_ARRAY_BUFFER, vbo); in Run()
1708 glDeleteBuffers(1, &vbo); in Cleanup()

12345