if (!r300)
return NULL;
- r300screen->ctx = (struct pipe_context*)r300;
-
r300->winsys = radeon_winsys;
r300->context.winsys = (struct pipe_winsys*)radeon_winsys;
r300_init_transfer_functions(r300);
- /* r300_init_surface_functions(r300); */
-
r300_init_state_functions(r300);
r300->invariant_state.dirty = TRUE;
struct radeon_winsys* radeon_winsys;
- /* XXX This hack will be removed once texture transfers become part of
- * pipe_context. */
- struct pipe_context* ctx;
-
/* Chipset capabilities */
struct r300_capabilities* caps;