cell->pipe.set_blend_color = cell_set_blend_color;
cell->pipe.set_clip_state = cell_set_clip_state;
- cell->pipe.set_clear_color_state = cell_set_clear_color_state;
cell->pipe.set_constant_buffer = cell_set_constant_buffer;
-#if 0
- cell->pipe.set_feedback_state = cell_set_feedback_state;
-#endif
cell->pipe.set_framebuffer_state = cell_set_framebuffer_state;
cell->pipe.set_polygon_stipple = cell_set_polygon_stipple;
cell->pipe.set_scissor_state = cell_set_scissor_state;
- cell->pipe.set_texture_state = cell_set_texture_state;
cell->pipe.set_viewport_state = cell_set_viewport_state;
cell->pipe.set_vertex_buffer = cell_set_vertex_buffer;
{
FREE( sampler );
}
-
-
-void
-cell_set_sampler_texture(struct pipe_context *pipe,
- unsigned sampler,
- struct pipe_texture *texture)
-{
- struct cell_context *cell = cell_context(pipe);
-
- assert(unit < PIPE_MAX_SAMPLERS);
-
-#if 0
- cell->texture[sampler] = cell_texture(texture); /* ptr, not struct */
- cell_tile_cache_set_texture(cell->tex_cache[sampler], texture);
-#endif
-
- cell->dirty |= CELL_NEW_TEXTURE;
-}
-
-
-
-
}
#endif
}
-
-
-void
-cell_set_clear_color_state(struct pipe_context *pipe,
- const struct pipe_clear_color_state *clear)
-{
- struct cell_context *cell = cell_context(pipe);
-
- cell->clear_color = *clear; /* struct copy */
-}
unsigned clearValue);
-extern void
-cell_set_clear_color_state(struct pipe_context *pipe,
- const struct pipe_clear_color_state *clear);
-
#endif /* CELL_SURFACE */