Lines Matching refs:fpv
258 delete_fp_variant(struct st_context *st, struct st_fp_variant *fpv) in delete_fp_variant() argument
260 if (fpv->driver_shader) in delete_fp_variant()
261 cso_delete_fragment_shader(st->cso_context, fpv->driver_shader); in delete_fp_variant()
262 free(fpv); in delete_fp_variant()
272 struct st_fp_variant *fpv; in st_release_fp_variants() local
274 for (fpv = stfp->variants; fpv; ) { in st_release_fp_variants()
275 struct st_fp_variant *next = fpv->next; in st_release_fp_variants()
276 delete_fp_variant(st, fpv); in st_release_fp_variants()
277 fpv = next; in st_release_fp_variants()
1237 struct st_fp_variant *fpv; in st_get_fp_variant() local
1240 for (fpv = stfp->variants; fpv; fpv = fpv->next) { in st_get_fp_variant()
1241 if (memcmp(&fpv->key, key, sizeof(*key)) == 0) { in st_get_fp_variant()
1246 if (!fpv) { in st_get_fp_variant()
1248 fpv = st_create_fp_variant(st, stfp, key); in st_get_fp_variant()
1249 if (fpv) { in st_get_fp_variant()
1258 stfp->variants = fpv; in st_get_fp_variant()
1261 fpv->next = stfp->variants->next; in st_get_fp_variant()
1262 stfp->variants->next = fpv; in st_get_fp_variant()
1266 fpv->next = stfp->variants; in st_get_fp_variant()
1267 stfp->variants = fpv; in st_get_fp_variant()
1272 return fpv; in st_get_fp_variant()
1755 struct st_fp_variant *fpv, **prevPtr = &stfp->variants; in destroy_program_variants() local
1757 for (fpv = stfp->variants; fpv; ) { in destroy_program_variants()
1758 struct st_fp_variant *next = fpv->next; in destroy_program_variants()
1759 if (fpv->key.st == st) { in destroy_program_variants()
1763 delete_fp_variant(st, fpv); in destroy_program_variants()
1766 prevPtr = &fpv->next; in destroy_program_variants()
1768 fpv = next; in destroy_program_variants()