Lines Matching refs:fastpath
69 struct tnl_clipspace_fastpath *fp = vtx->fastpath; in search_fastpath_emit()
84 struct tnl_clipspace_fastpath *fastpath = CALLOC_STRUCT(tnl_clipspace_fastpath); in _tnl_register_fastpath() local
87 if (fastpath == NULL) { in _tnl_register_fastpath()
92 fastpath->vertex_size = vtx->vertex_size; in _tnl_register_fastpath()
93 fastpath->attr_count = vtx->attr_count; in _tnl_register_fastpath()
94 fastpath->match_strides = match_strides; in _tnl_register_fastpath()
95 fastpath->func = vtx->emit; in _tnl_register_fastpath()
96 fastpath->attr = malloc(vtx->attr_count * sizeof(fastpath->attr[0])); in _tnl_register_fastpath()
98 if (fastpath->attr == NULL) { in _tnl_register_fastpath()
99 free(fastpath); in _tnl_register_fastpath()
105 fastpath->attr[i].format = vtx->attr[i].format; in _tnl_register_fastpath()
106 fastpath->attr[i].stride = vtx->attr[i].inputstride; in _tnl_register_fastpath()
107 fastpath->attr[i].size = vtx->attr[i].inputsize; in _tnl_register_fastpath()
108 fastpath->attr[i].offset = vtx->attr[i].vertoffset; in _tnl_register_fastpath()
111 fastpath->next = vtx->fastpath; in _tnl_register_fastpath()
112 vtx->fastpath = fastpath; in _tnl_register_fastpath()
563 for (fp = vtx->fastpath ; fp ; fp = tmp) { in _tnl_free_vertices()
577 vtx->fastpath = NULL; in _tnl_free_vertices()