static void st_context_copy(struct st_context_iface *stctxi, struct st_context_iface *stsrci, unsigned mask) { struct st_context *st = (struct st_context *) stctxi; struct st_context *src = (struct st_context *) stsrci; _mesa_copy_context(src->ctx, st->ctx, mask); }
void st_copy_context_state(struct st_context *dst, struct st_context *src, uint mask) { _mesa_copy_context(dst->ctx, src->ctx, mask); }