summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-12-11 08:46:13 -0700
committerBrian <[email protected]>2007-12-11 09:00:01 -0700
commit6465c78049c07e4f97dd3e6494aca395ff357b0e (patch)
treee02389af30c600927f028b7f2893259f655fce52
parentf9562ff85dd3ace60550110598687c3e728b0e6e (diff)
Remove obsolete clear_color, tex sampler state functions
-rw-r--r--src/mesa/pipe/cell/ppu/cell_context.c5
-rw-r--r--src/mesa/pipe/cell/ppu/cell_state_sampler.c22
-rw-r--r--src/mesa/pipe/cell/ppu/cell_surface.c10
-rw-r--r--src/mesa/pipe/cell/ppu/cell_surface.h4
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 5534d82ccfc..966f355bb3b 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 495567b16c2..1e7d4f08b82 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 66e4b5108b7..59cd43e630b 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 8b42ba02d57..e222507121f 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 */