nvws->grobj_free(&nv30->rankine);
- free(nv30);
+ FREE(nv30);
}
static boolean
static void
nv30_draw_destroy(struct draw_stage *draw)
{
- free(draw);
+ FREE(draw);
}
struct draw_stage *
fp->on_hw = FALSE;
out_err:
tgsi_parse_free(&parse);
- free(fpc);
+ FREE(fpc);
}
void
struct nv30_fragment_program *fp)
{
if (fp->insn_len)
- free(fp->insn);
+ FREE(fp->insn);
}
mt->buffer = ws->buffer_create(ws, 256, PIPE_BUFFER_USAGE_PIXEL,
mt->total_size);
if (!mt->buffer) {
- free(mt);
+ FREE(mt);
return NULL;
}
pipe_buffer_reference(ws, &nv30mt->buffer, NULL);
for (l = 0; l <= mt->last_level; l++) {
if (nv30mt->level[l].image_offset)
- free(nv30mt->level[l].image_offset);
+ FREE(nv30mt->level[l].image_offset);
}
- free(nv30mt);
+ FREE(nv30mt);
}
}
if (q->object)
nv30->nvws->res_free(&q->object);
- free(q);
+ FREE(q);
}
static void
struct nv30_vertex_program *vp = hwcso;
nv30_vertprog_destroy(nv30, vp);
- free(vp);
+ FREE(vp);
}
static void *
struct nv30_fragment_program *fp = hwcso;
nv30_fragprog_destroy(nv30, fp);
- free(fp);
+ FREE(fp);
}
static void
vpc->high_temp = -1;
if (!nv30_vertprog_prepare(vpc)) {
- free(vpc);
+ FREE(vpc);
return;
}
vp->translated = TRUE;
out_err:
tgsi_parse_free(&parse);
- free(vpc);
+ FREE(vpc);
}
void
nv30_vertprog_destroy(struct nv30_context *nv30, struct nv30_vertex_program *vp)
{
if (vp->nr_consts)
- free(vp->consts);
+ FREE(vp->consts);
if (vp->nr_insns)
- free(vp->insns);
+ FREE(vp->insns);
}