s/pipe_texture_object/pipe_mipmap_tree/, drop st_texobj.c
This commit is contained in:
@@ -117,7 +117,7 @@ struct pipe_context {
|
|||||||
|
|
||||||
void (*set_texture_state)( struct pipe_context *,
|
void (*set_texture_state)( struct pipe_context *,
|
||||||
GLuint unit,
|
GLuint unit,
|
||||||
struct pipe_texture_object * );
|
struct pipe_mipmap_tree * );
|
||||||
|
|
||||||
void (*set_viewport_state)( struct pipe_context *,
|
void (*set_viewport_state)( struct pipe_context *,
|
||||||
const struct pipe_viewport_state * );
|
const struct pipe_viewport_state * );
|
||||||
|
@@ -264,6 +264,7 @@ struct pipe_surface
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
#if 0
|
||||||
/**
|
/**
|
||||||
* Texture object.
|
* Texture object.
|
||||||
* Mipmap levels, cube faces, 3D slices can be accessed as surfaces.
|
* 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,
|
void (*release_surface)(struct pipe_texture_object *pto,
|
||||||
struct pipe_surface *ps);
|
struct pipe_surface *ps);
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -86,7 +86,7 @@ struct softpipe_context {
|
|||||||
struct pipe_sampler_state sampler[PIPE_MAX_SAMPLERS];
|
struct pipe_sampler_state sampler[PIPE_MAX_SAMPLERS];
|
||||||
struct pipe_setup_state setup;
|
struct pipe_setup_state setup;
|
||||||
struct pipe_stencil_state stencil;
|
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;
|
struct pipe_viewport_state viewport;
|
||||||
GLuint dirty;
|
GLuint dirty;
|
||||||
|
|
||||||
|
@@ -77,7 +77,7 @@ void softpipe_set_stencil_state( struct pipe_context *,
|
|||||||
|
|
||||||
void softpipe_set_texture_state( struct pipe_context *,
|
void softpipe_set_texture_state( struct pipe_context *,
|
||||||
GLuint unit,
|
GLuint unit,
|
||||||
struct pipe_texture_object * );
|
struct pipe_mipmap_tree * );
|
||||||
|
|
||||||
void softpipe_set_viewport_state( struct pipe_context *,
|
void softpipe_set_viewport_state( struct pipe_context *,
|
||||||
const struct pipe_viewport_state * );
|
const struct pipe_viewport_state * );
|
||||||
|
@@ -53,7 +53,7 @@ softpipe_set_sampler_state(struct pipe_context *pipe,
|
|||||||
void
|
void
|
||||||
softpipe_set_texture_state(struct pipe_context *pipe,
|
softpipe_set_texture_state(struct pipe_context *pipe,
|
||||||
GLuint unit,
|
GLuint unit,
|
||||||
struct pipe_texture_object *texture)
|
struct pipe_mipmap_tree *texture)
|
||||||
{
|
{
|
||||||
struct softpipe_context *softpipe = softpipe_context(pipe);
|
struct softpipe_context *softpipe = softpipe_context(pipe);
|
||||||
|
|
||||||
|
@@ -200,8 +200,7 @@ STATETRACKER_SOURCES = \
|
|||||||
state_tracker/st_cb_bufferobjects.c \
|
state_tracker/st_cb_bufferobjects.c \
|
||||||
state_tracker/st_draw.c \
|
state_tracker/st_draw.c \
|
||||||
state_tracker/st_context.c \
|
state_tracker/st_context.c \
|
||||||
state_tracker/st_mipmap_tree.c \
|
state_tracker/st_mipmap_tree.c
|
||||||
state_tracker/st_texobj.c
|
|
||||||
|
|
||||||
SHADER_SOURCES = \
|
SHADER_SOURCES = \
|
||||||
shader/arbprogparse.c \
|
shader/arbprogparse.c \
|
||||||
|
Reference in New Issue
Block a user