Home
last modified time | relevance | path

Searched refs:prim_count (Results 1 – 20 of 20) sorted by relevance

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_draw.c78 for (i = 0; i < hwtnl->cmd.prim_count; i++) in svga_hwtnl_destroy()
105 assert(hwtnl->cmd.prim_count == 0); in svga_hwtnl_reset_vdecl()
121 assert(hwtnl->cmd.prim_count == 0); in svga_hwtnl_vdecl()
145 if (!hwtnl->cmd.prim_count) { in svga_hwtnl_is_buffer_referred()
155 for (i = 0; i < hwtnl->cmd.prim_count; ++i) { in svga_hwtnl_is_buffer_referred()
172 if (hwtnl->cmd.prim_count) { in svga_hwtnl_flush()
194 for (i = 0; i < hwtnl->cmd.prim_count; i++) { in svga_hwtnl_flush()
223 hwtnl->cmd.prim_count); in svga_hwtnl_flush()
229 hwtnl->cmd.prim_count); in svga_hwtnl_flush()
243 if (hwtnl->cmd.prim_count == 1) { in svga_hwtnl_flush()
[all …]
Dsvga_draw_private.h109 unsigned prim_count; member
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
Dsvga_draw.c78 for (i = 0; i < hwtnl->cmd.prim_count; i++) in svga_hwtnl_destroy()
105 assert(hwtnl->cmd.prim_count == 0); in svga_hwtnl_reset_vdecl()
121 assert(hwtnl->cmd.prim_count == 0); in svga_hwtnl_vdecl()
145 if (!hwtnl->cmd.prim_count) { in svga_hwtnl_is_buffer_referred()
155 for (i = 0; i < hwtnl->cmd.prim_count; ++i) { in svga_hwtnl_is_buffer_referred()
172 if (hwtnl->cmd.prim_count) { in svga_hwtnl_flush()
194 for (i = 0; i < hwtnl->cmd.prim_count; i++) { in svga_hwtnl_flush()
223 hwtnl->cmd.prim_count); in svga_hwtnl_flush()
229 hwtnl->cmd.prim_count); in svga_hwtnl_flush()
243 if (hwtnl->cmd.prim_count == 1) { in svga_hwtnl_flush()
[all …]
Dsvga_draw_private.h109 unsigned prim_count; member
/external/mesa3d/src/mesa/vbo/
Dvbo_exec_draw.c53 exec->vtx.prim_count, in vbo_exec_debug_verts()
56 for (i = 0 ; i < exec->vtx.prim_count ; i++) { in vbo_exec_debug_verts()
77 GLuint nr = exec->vtx.prim[exec->vtx.prim_count-1].count; in vbo_copy_vertices()
82 exec->vtx.prim[exec->vtx.prim_count-1].start * in vbo_copy_vertices()
130 exec->vtx.prim[exec->vtx.prim_count-1].count--; in vbo_copy_vertices()
384 if (exec->vtx.prim_count && in vbo_exec_vtx_flush()
405 printf("%s %d %d\n", __FUNCTION__, exec->vtx.prim_count, in vbo_exec_vtx_flush()
410 exec->vtx.prim_count, in vbo_exec_vtx_flush()
440 exec->vtx.prim_count = 0; in vbo_exec_vtx_flush()
Dvbo_save.h83 GLuint prim_count; member
143 GLuint prim_count, prim_max; member
175 GLuint prim_count,
Dvbo_save_draw.c119 if (node->prim_count) { in _playback_copy_to_current()
120 const struct _mesa_prim *prim = &node->prim[node->prim_count - 1]; in _playback_copy_to_current()
243 list->prim_count, in vbo_save_loopback_vertex_list()
278 if (node->prim_count > 0) { in vbo_save_playback_vertex_list()
325 node->prim_count, in vbo_save_playback_vertex_list()
Dvbo_save_api.c109 const struct _mesa_prim *prim = &node->prim[node->prim_count - 1]; in _save_copy_vertices()
302 save->prim_count = 0; in _save_reset_counters()
338 node->prim_count = save->prim_count; in _save_compile_vertex_list()
380 save->prim_store->used += node->prim_count; in _save_compile_vertex_list()
397 node->attrsz, node->prim, node->prim_count, in _save_compile_vertex_list()
445 GLint i = save->prim_count - 1; in _save_wrap_buffers()
476 save->prim_count = 1; in _save_wrap_buffers()
799 if (save->vert_count || save->prim_count) { in dlist_fallback()
800 if (save->prim_count > 0) { in dlist_fallback()
802 GLint i = save->prim_count - 1; in dlist_fallback()
[all …]
Dvbo_save_loopback.c163 GLuint prim_count, in vbo_loopback_vertex_list() argument
182 for (i = 0 ; i < prim_count ; i++) { in vbo_loopback_vertex_list()
Dvbo_exec_api.c69 if (exec->vtx.prim_count == 0) { in vbo_exec_wrap_buffers()
75 GLuint last_begin = exec->vtx.prim[exec->vtx.prim_count-1].begin; in vbo_exec_wrap_buffers()
79 GLint i = exec->vtx.prim_count - 1; in vbo_exec_wrap_buffers()
85 last_count = exec->vtx.prim[exec->vtx.prim_count-1].count; in vbo_exec_wrap_buffers()
92 exec->vtx.prim_count = 0; in vbo_exec_wrap_buffers()
98 assert(exec->vtx.prim_count == 0); in vbo_exec_wrap_buffers()
104 exec->vtx.prim_count++; in vbo_exec_wrap_buffers()
837 i = exec->vtx.prim_count++; in vbo_exec_Begin()
867 if (exec->vtx.prim_count > 0) { in vbo_exec_End()
870 int i = exec->vtx.prim_count - 1; in vbo_exec_End()
[all …]
Dvbo_exec.h93 GLuint prim_count; member
/external/chromium_org/third_party/mesa/src/src/mesa/vbo/
Dvbo_exec_draw.c53 exec->vtx.prim_count, in vbo_exec_debug_verts()
56 for (i = 0 ; i < exec->vtx.prim_count ; i++) { in vbo_exec_debug_verts()
77 GLuint nr = exec->vtx.prim[exec->vtx.prim_count-1].count; in vbo_copy_vertices()
82 exec->vtx.prim[exec->vtx.prim_count-1].start * in vbo_copy_vertices()
130 exec->vtx.prim[exec->vtx.prim_count-1].count--; in vbo_copy_vertices()
384 if (exec->vtx.prim_count && in vbo_exec_vtx_flush()
405 printf("%s %d %d\n", __FUNCTION__, exec->vtx.prim_count, in vbo_exec_vtx_flush()
410 exec->vtx.prim_count, in vbo_exec_vtx_flush()
440 exec->vtx.prim_count = 0; in vbo_exec_vtx_flush()
Dvbo_save.h83 GLuint prim_count; member
143 GLuint prim_count, prim_max; member
175 GLuint prim_count,
Dvbo_save_draw.c119 if (node->prim_count) { in _playback_copy_to_current()
120 const struct _mesa_prim *prim = &node->prim[node->prim_count - 1]; in _playback_copy_to_current()
243 list->prim_count, in vbo_save_loopback_vertex_list()
278 if (node->prim_count > 0) { in vbo_save_playback_vertex_list()
325 node->prim_count, in vbo_save_playback_vertex_list()
Dvbo_save_api.c109 const struct _mesa_prim *prim = &node->prim[node->prim_count - 1]; in _save_copy_vertices()
302 save->prim_count = 0; in _save_reset_counters()
338 node->prim_count = save->prim_count; in _save_compile_vertex_list()
380 save->prim_store->used += node->prim_count; in _save_compile_vertex_list()
397 node->attrsz, node->prim, node->prim_count, in _save_compile_vertex_list()
445 GLint i = save->prim_count - 1; in _save_wrap_buffers()
476 save->prim_count = 1; in _save_wrap_buffers()
799 if (save->vert_count || save->prim_count) { in dlist_fallback()
800 if (save->prim_count > 0) { in dlist_fallback()
802 GLint i = save->prim_count - 1; in dlist_fallback()
[all …]
Dvbo_save_loopback.c163 GLuint prim_count, in vbo_loopback_vertex_list() argument
182 for (i = 0 ; i < prim_count ; i++) { in vbo_loopback_vertex_list()
Dvbo_exec_api.c69 if (exec->vtx.prim_count == 0) { in vbo_exec_wrap_buffers()
75 GLuint last_begin = exec->vtx.prim[exec->vtx.prim_count-1].begin; in vbo_exec_wrap_buffers()
79 GLint i = exec->vtx.prim_count - 1; in vbo_exec_wrap_buffers()
85 last_count = exec->vtx.prim[exec->vtx.prim_count-1].count; in vbo_exec_wrap_buffers()
92 exec->vtx.prim_count = 0; in vbo_exec_wrap_buffers()
98 assert(exec->vtx.prim_count == 0); in vbo_exec_wrap_buffers()
104 exec->vtx.prim_count++; in vbo_exec_wrap_buffers()
837 i = exec->vtx.prim_count++; in vbo_exec_Begin()
867 if (exec->vtx.prim_count > 0) { in vbo_exec_End()
870 int i = exec->vtx.prim_count - 1; in vbo_exec_End()
[all …]
Dvbo_exec.h93 GLuint prim_count; member
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/
Dtgsi_exec.c1687 unsigned *prim_count = &mach->Temps[TEMP_PRIMITIVE_I].xyzw[TEMP_PRIMITIVE_C].u[0]; in emit_primitive() local
1694 ++(*prim_count); in emit_primitive()
1695 debug_assert((*prim_count * mach->NumOutputs) < mach->MaxGeometryShaderOutputs); in emit_primitive()
1696 mach->Primitives[*prim_count] = 0; in emit_primitive()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_exec.c1687 unsigned *prim_count = &mach->Temps[TEMP_PRIMITIVE_I].xyzw[TEMP_PRIMITIVE_C].u[0]; in emit_primitive() local
1694 ++(*prim_count); in emit_primitive()
1695 debug_assert((*prim_count * mach->NumOutputs) < mach->MaxGeometryShaderOutputs); in emit_primitive()
1696 mach->Primitives[*prim_count] = 0; in emit_primitive()