s/pipe_texture_object/pipe_mipmap_tree/, drop st_texobj.c

This commit is contained in:
Brian
2007-08-07 10:56:41 -06:00
parent c61927a0cb
commit cec49ee954
6 changed files with 7 additions and 6 deletions

View 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 * );

View 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
/**

View 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;

View 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 * );

View 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);

View 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 \