/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_draw_private.h | 67 svga_translate_prim(unsigned mode, unsigned vcount, unsigned *prim_count) in svga_translate_prim() argument 71 *prim_count = vcount; in svga_translate_prim() 75 *prim_count = vcount / 2; in svga_translate_prim() 79 *prim_count = vcount - 1; in svga_translate_prim() 83 *prim_count = vcount / 3; in svga_translate_prim() 87 *prim_count = vcount - 2; in svga_translate_prim() 91 *prim_count = vcount - 2; in svga_translate_prim() 95 *prim_count = vcount / 4; in svga_translate_prim() 99 *prim_count = vcount - 3; in svga_translate_prim() 103 *prim_count = vcount / 6; in svga_translate_prim() [all …]
|
D | svga_draw.c | 80 for (i = 0; i < hwtnl->cmd.prim_count; i++) in svga_hwtnl_destroy() 122 assert(hwtnl->cmd.prim_count == 0); in svga_hwtnl_vertex_decls() 170 if (!hwtnl->cmd.prim_count) { in svga_hwtnl_is_buffer_referred() 180 for (i = 0; i < hwtnl->cmd.prim_count; ++i) { in svga_hwtnl_is_buffer_referred() 231 for (i = 0; i < hwtnl->cmd.prim_count; i++) { in draw_vgpu9() 275 hwtnl->cmd.prim_count); in draw_vgpu9() 280 &prim, hwtnl->cmd.prim_count); in draw_vgpu9() 297 if (hwtnl->cmd.prim_count == 1) { in draw_vgpu9() 312 hwtnl->cmd.prim, hwtnl->cmd.prim_count * sizeof hwtnl->cmd.prim[0]); in draw_vgpu9() 314 for (i = 0; i < hwtnl->cmd.prim_count; i++) { in draw_vgpu9() [all …]
|
/external/mesa3d/src/mesa/vbo/ |
D | vbo_save_api.c | 107 const struct _mesa_prim *prim = &node->prims[node->prim_count - 1]; in copy_vertices() 324 save->prim_count = 0; in reset_counters() 335 GLuint *prim_count) in merge_prims() argument 340 for (i = 1; i < *prim_count; i++) { in merge_prims() 361 *prim_count = prev_prim - prim_list + 1; in merge_prims() 374 struct _mesa_prim *prim = &node->prims[node->prim_count - 1]; in convert_line_loop_to_strip() 443 node->prim_count = save->prim_count; in compile_vertex_list() 485 save->prim_store->used += node->prim_count; in compile_vertex_list() 491 if (node->prims[node->prim_count - 1].mode == GL_LINE_LOOP) { in compile_vertex_list() 495 merge_prims(node->prims, &node->prim_count); in compile_vertex_list() [all …]
|
D | vbo_exec_draw.c | 50 exec->vtx.prim_count, in vbo_exec_debug_verts() 53 for (i = 0 ; i < exec->vtx.prim_count ; i++) { in vbo_exec_debug_verts() 78 struct _mesa_prim *last_prim = &exec->vtx.prim[exec->vtx.prim_count - 1]; in vbo_copy_vertices() 409 if (exec->vtx.prim_count && in vbo_exec_vtx_flush() 428 printf("%s %d %d\n", __func__, exec->vtx.prim_count, in vbo_exec_vtx_flush() 433 exec->vtx.prim_count, in vbo_exec_vtx_flush() 458 exec->vtx.prim_count = 0; in vbo_exec_vtx_flush()
|
D | vbo_save.h | 84 GLuint prim_count; member 157 GLuint prim_count, prim_max; member 188 GLuint prim_count,
|
D | vbo_save_draw.c | 117 if (node->prim_count) { in playback_copy_to_current() 118 const struct _mesa_prim *prim = &node->prims[node->prim_count - 1]; in playback_copy_to_current() 250 list->prim_count, in loopback_vertex_list() 286 if (node->prim_count > 0) { in vbo_save_playback_vertex_list() 332 node->prim_count, in vbo_save_playback_vertex_list()
|
D | vbo_exec_api.c | 67 if (exec->vtx.prim_count == 0) { in vbo_exec_wrap_buffers() 73 struct _mesa_prim *last_prim = &exec->vtx.prim[exec->vtx.prim_count - 1]; in vbo_exec_wrap_buffers() 104 exec->vtx.prim_count = 0; in vbo_exec_wrap_buffers() 110 assert(exec->vtx.prim_count == 0); in vbo_exec_wrap_buffers() 118 exec->vtx.prim_count++; in vbo_exec_wrap_buffers() 792 i = exec->vtx.prim_count++; in vbo_exec_Begin() 826 struct _mesa_prim *cur = &exec->vtx.prim[exec->vtx.prim_count - 1]; in try_vbo_merge() 828 assert(exec->vtx.prim_count >= 1); in try_vbo_merge() 832 if (exec->vtx.prim_count >= 2) { in try_vbo_merge() 833 struct _mesa_prim *prev = &exec->vtx.prim[exec->vtx.prim_count - 2]; in try_vbo_merge() [all …]
|
D | vbo_save_loopback.c | 175 GLuint prim_count, in vbo_loopback_vertex_list() argument 194 for (i = 0; i < prim_count; i++) { in vbo_loopback_vertex_list()
|
D | vbo_exec.h | 93 GLuint prim_count; member
|
/external/mesa3d/src/intel/compiler/ |
D | gen6_gs_visitor.cpp | 96 this->prim_count = src_reg(this, glsl_type::uint_type); in emit_prolog() 97 emit(MOV(dst_reg(this->prim_count), brw_imm_ud(0u))); in emit_prolog() 187 emit(ADD(dst_reg(this->prim_count), this->prim_count, brw_imm_ud(1u))); in gs_emit_vertex() 243 emit(ADD(dst_reg(this->prim_count), this->prim_count, brw_imm_ud(1u))); in gs_end_primitive() 364 this->prim_count, in emit_thread_end() 367 dst_reg(this->temp), this->prim_count, this->svbi); in emit_thread_end() 370 dst_reg(this->temp), this->prim_count, brw_imm_ud(0u)); in emit_thread_end()
|
D | gen6_gs_visitor.h | 77 src_reg prim_count; variable
|
/external/mesa3d/src/mesa/main/ |
D | api_validate.c | 852 size_t prim_count = vbo_count_tessellated_primitives(mode, count, numInstances); in validate_draw_arrays() local 853 if (xfb_obj->GlesRemainingPrims < prim_count) { in validate_draw_arrays() 858 xfb_obj->GlesRemainingPrims -= prim_count; in validate_draw_arrays()
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_exec.c | 2078 unsigned *prim_count = &mach->Temps[TEMP_PRIMITIVE_I].xyzw[TEMP_PRIMITIVE_C].u[0]; in emit_primitive() local 2085 ++(*prim_count); in emit_primitive() 2086 debug_assert((*prim_count * mach->NumOutputs) < mach->MaxGeometryShaderOutputs); in emit_primitive() 2087 mach->Primitives[*prim_count] = 0; in emit_primitive()
|