diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-12-11 08:46:13 -0700 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-12-11 09:00:01 -0700 |
commit | 6465c78049c07e4f97dd3e6494aca395ff357b0e (patch) | |
tree | e02389af30c600927f028b7f2893259f655fce52 | |
parent | f9562ff85dd3ace60550110598687c3e728b0e6e (diff) | |
download | external_mesa3d-6465c78049c07e4f97dd3e6494aca395ff357b0e.zip external_mesa3d-6465c78049c07e4f97dd3e6494aca395ff357b0e.tar.gz external_mesa3d-6465c78049c07e4f97dd3e6494aca395ff357b0e.tar.bz2 |
Remove obsolete clear_color, tex sampler state functions
-rw-r--r-- | src/mesa/pipe/cell/ppu/cell_context.c | 5 | ||||
-rw-r--r-- | src/mesa/pipe/cell/ppu/cell_state_sampler.c | 22 | ||||
-rw-r--r-- | src/mesa/pipe/cell/ppu/cell_surface.c | 10 | ||||
-rw-r--r-- | src/mesa/pipe/cell/ppu/cell_surface.h | 4 |
4 files changed, 0 insertions, 41 deletions
diff --git a/src/mesa/pipe/cell/ppu/cell_context.c b/src/mesa/pipe/cell/ppu/cell_context.c index 5534d82..966f355 100644 --- a/src/mesa/pipe/cell/ppu/cell_context.c +++ b/src/mesa/pipe/cell/ppu/cell_context.c @@ -208,17 +208,12 @@ cell_create_context(struct pipe_winsys *winsys, struct cell_winsys *cws) 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; diff --git a/src/mesa/pipe/cell/ppu/cell_state_sampler.c b/src/mesa/pipe/cell/ppu/cell_state_sampler.c index 495567b..1e7d4f0 100644 --- a/src/mesa/pipe/cell/ppu/cell_state_sampler.c +++ b/src/mesa/pipe/cell/ppu/cell_state_sampler.c @@ -66,25 +66,3 @@ cell_delete_sampler_state(struct pipe_context *pipe, { 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; -} - - - - diff --git a/src/mesa/pipe/cell/ppu/cell_surface.c b/src/mesa/pipe/cell/ppu/cell_surface.c index 66e4b51..59cd43e 100644 --- a/src/mesa/pipe/cell/ppu/cell_surface.c +++ b/src/mesa/pipe/cell/ppu/cell_surface.c @@ -107,13 +107,3 @@ cell_clear_surface(struct pipe_context *pipe, struct pipe_surface *ps, } #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 */ -} diff --git a/src/mesa/pipe/cell/ppu/cell_surface.h b/src/mesa/pipe/cell/ppu/cell_surface.h index 8b42ba0..e222507 100644 --- a/src/mesa/pipe/cell/ppu/cell_surface.h +++ b/src/mesa/pipe/cell/ppu/cell_surface.h @@ -41,9 +41,5 @@ cell_clear_surface(struct pipe_context *pipe, struct pipe_surface *ps, unsigned clearValue); -extern void -cell_set_clear_color_state(struct pipe_context *pipe, - const struct pipe_clear_color_state *clear); - #endif /* CELL_SURFACE */ |