Lines Matching refs:fpv
116 delete_fp_variant(struct st_context *st, struct st_fp_variant *fpv) in delete_fp_variant() argument
118 if (fpv->driver_shader) in delete_fp_variant()
119 cso_delete_fragment_shader(st->cso_context, fpv->driver_shader); in delete_fp_variant()
120 free(fpv); in delete_fp_variant()
130 struct st_fp_variant *fpv; in st_release_fp_variants() local
132 for (fpv = stfp->variants; fpv; ) { in st_release_fp_variants()
133 struct st_fp_variant *next = fpv->next; in st_release_fp_variants()
134 delete_fp_variant(st, fpv); in st_release_fp_variants()
135 fpv = next; in st_release_fp_variants()
1161 struct st_fp_variant *fpv; in st_get_fp_variant() local
1164 for (fpv = stfp->variants; fpv; fpv = fpv->next) { in st_get_fp_variant()
1165 if (memcmp(&fpv->key, key, sizeof(*key)) == 0) { in st_get_fp_variant()
1170 if (!fpv) { in st_get_fp_variant()
1172 fpv = st_create_fp_variant(st, stfp, key); in st_get_fp_variant()
1173 if (fpv) { in st_get_fp_variant()
1175 fpv->next = stfp->variants; in st_get_fp_variant()
1176 stfp->variants = fpv; in st_get_fp_variant()
1180 return fpv; in st_get_fp_variant()
1737 struct st_fp_variant *fpv, **prevPtr = &stfp->variants; in destroy_program_variants() local
1739 for (fpv = stfp->variants; fpv; ) { in destroy_program_variants()
1740 struct st_fp_variant *next = fpv->next; in destroy_program_variants()
1741 if (fpv->key.st == st) { in destroy_program_variants()
1745 delete_fp_variant(st, fpv); in destroy_program_variants()
1748 prevPtr = &fpv->next; in destroy_program_variants()
1750 fpv = next; in destroy_program_variants()