Remove obsolete clear_color, tex sampler state functions
authorBrian <brian.paul@tungstengraphics.com>
Tue, 11 Dec 2007 15:46:13 +0000 (08:46 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Tue, 11 Dec 2007 16:00:01 +0000 (09:00 -0700)
src/mesa/pipe/cell/ppu/cell_context.c
src/mesa/pipe/cell/ppu/cell_state_sampler.c
src/mesa/pipe/cell/ppu/cell_surface.c
src/mesa/pipe/cell/ppu/cell_surface.h

index 5534d82ccfcf018fbe265d4892e3f32d72ce8178..966f355bb3ba8dca750998581cdb0817e2a345df 100644 (file)
@@ -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;
index 495567b16c28a8a49cdf978e8c1f59e6fbf59d69..1e7d4f08b8233d416eb094dfd33b472ac16c797d 100644 (file)
@@ -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;
-}
-
-
-
-
index 66e4b5108b7e2050e5beab829e12284e3c623332..59cd43e630bf8c6074e3cdfc23db186c8449a55c 100644 (file)
@@ -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 */
-}
index 8b42ba02d579ab07f18d299a576e27359fceef06..e222507121f315366aa5cc5c5e0f585717099116 100644 (file)
@@ -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 */