s/pipe_texture_object/pipe_mipmap_tree/, drop st_texobj.c
authorBrian <brian@i915.localnet.net>
Tue, 7 Aug 2007 16:56:41 +0000 (10:56 -0600)
committerBrian <brian@i915.localnet.net>
Tue, 7 Aug 2007 16:56:41 +0000 (10:56 -0600)
src/mesa/pipe/p_context.h
src/mesa/pipe/p_state.h
src/mesa/pipe/softpipe/sp_context.h
src/mesa/pipe/softpipe/sp_state.h
src/mesa/pipe/softpipe/sp_state_sampler.c
src/mesa/sources

index db9429f..08b9b18 100644 (file)
@@ -117,7 +117,7 @@ struct pipe_context {
 
    void (*set_texture_state)( struct pipe_context *,
                               GLuint unit,
-                              struct pipe_texture_object * );
+                              struct pipe_mipmap_tree * );
 
    void (*set_viewport_state)( struct pipe_context *,
                                const struct pipe_viewport_state * );
index be4b0eb..f75d8f1 100644 (file)
@@ -264,6 +264,7 @@ struct pipe_surface
 };
 
 
+#if 0
 /**
  * Texture object.
  * Mipmap levels, cube faces, 3D slices can be accessed as surfaces.
@@ -290,6 +291,7 @@ struct pipe_texture_object
    void (*release_surface)(struct pipe_texture_object *pto,
                            struct pipe_surface *ps);
 };
+#endif
 
 
 /**
index 43fa8ac..a99c083 100644 (file)
@@ -86,7 +86,7 @@ struct softpipe_context {
    struct pipe_sampler_state sampler[PIPE_MAX_SAMPLERS];
    struct pipe_setup_state setup;
    struct pipe_stencil_state stencil;
-   struct pipe_texture_object *texture[PIPE_MAX_SAMPLERS];
+   struct pipe_mipmap_tree *texture[PIPE_MAX_SAMPLERS];
    struct pipe_viewport_state viewport;
    GLuint dirty;
 
index 71c1a2d..3c572cd 100644 (file)
@@ -77,7 +77,7 @@ void softpipe_set_stencil_state( struct pipe_context *,
 
 void softpipe_set_texture_state( struct pipe_context *,
                                  GLuint unit,
-                                 struct pipe_texture_object * );
+                                 struct pipe_mipmap_tree * );
 
 void softpipe_set_viewport_state( struct pipe_context *,
                                   const struct pipe_viewport_state * );
index 9ef71f7..34cf210 100644 (file)
@@ -53,7 +53,7 @@ softpipe_set_sampler_state(struct pipe_context *pipe,
 void
 softpipe_set_texture_state(struct pipe_context *pipe,
                            GLuint unit,
-                           struct pipe_texture_object *texture)
+                           struct pipe_mipmap_tree *texture)
 {
    struct softpipe_context *softpipe = softpipe_context(pipe);
 
index 0a69da9..b648b6b 100644 (file)
@@ -200,8 +200,7 @@ STATETRACKER_SOURCES = \
        state_tracker/st_cb_bufferobjects.c \
        state_tracker/st_draw.c \
        state_tracker/st_context.c \
-       state_tracker/st_mipmap_tree.c \
-       state_tracker/st_texobj.c
+       state_tracker/st_mipmap_tree.c
 
 SHADER_SOURCES = \
        shader/arbprogparse.c \