Lines Matching refs:fastpath
70 struct tnl_clipspace_fastpath *fp = vtx->fastpath; in search_fastpath_emit()
85 struct tnl_clipspace_fastpath *fastpath = CALLOC_STRUCT(tnl_clipspace_fastpath); in _tnl_register_fastpath() local
88 if (fastpath == NULL) { in _tnl_register_fastpath()
93 fastpath->vertex_size = vtx->vertex_size; in _tnl_register_fastpath()
94 fastpath->attr_count = vtx->attr_count; in _tnl_register_fastpath()
95 fastpath->match_strides = match_strides; in _tnl_register_fastpath()
96 fastpath->func = vtx->emit; in _tnl_register_fastpath()
97 fastpath->attr = malloc(vtx->attr_count * sizeof(fastpath->attr[0])); in _tnl_register_fastpath()
99 if (fastpath->attr == NULL) { in _tnl_register_fastpath()
100 free(fastpath); in _tnl_register_fastpath()
106 fastpath->attr[i].format = vtx->attr[i].format; in _tnl_register_fastpath()
107 fastpath->attr[i].stride = vtx->attr[i].inputstride; in _tnl_register_fastpath()
108 fastpath->attr[i].size = vtx->attr[i].inputsize; in _tnl_register_fastpath()
109 fastpath->attr[i].offset = vtx->attr[i].vertoffset; in _tnl_register_fastpath()
112 fastpath->next = vtx->fastpath; in _tnl_register_fastpath()
113 vtx->fastpath = fastpath; in _tnl_register_fastpath()
564 for (fp = vtx->fastpath ; fp ; fp = tmp) { in _tnl_free_vertices()
578 vtx->fastpath = NULL; in _tnl_free_vertices()