summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_state.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-12-07 10:21:56 -0700
committerBen Skeggs <skeggsb@gmail.com>2007-12-09 12:05:26 +1100
commit0d74d51790d81f6a19145ddb2f95d83c607c89dd (patch)
tree8b88c31d43491843f04b5f8d6f849507dcdb886a /src/mesa/pipe/softpipe/sp_state.h
parent99823680a51ccc46a76d0abe6a24e7e4465a4cc6 (diff)
Move struct softpipe_texture definition into sp_texture.h
Also, added softpipe_texture() cast wrapper.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_state.h')
-rw-r--r--src/mesa/pipe/softpipe/sp_state.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/mesa/pipe/softpipe/sp_state.h b/src/mesa/pipe/softpipe/sp_state.h
index daf9955ca5..ea9d2e62be 100644
--- a/src/mesa/pipe/softpipe/sp_state.h
+++ b/src/mesa/pipe/softpipe/sp_state.h
@@ -52,35 +52,6 @@ struct sp_fragment_shader_state {
#endif
};
-struct softpipe_texture
-{
- struct pipe_texture base;
-
- /* Derived from the above:
- */
- unsigned pitch;
- unsigned depth_pitch; /* per-image on i945? */
- unsigned total_height;
-
- unsigned nr_images[PIPE_MAX_TEXTURE_LEVELS];
-
- /* Explicitly store the offset of each image for each cube face or
- * depth value. Pretty much have to accept that hardware formats
- * are going to be so diverse that there is no unified way to
- * compute the offsets of depth/cube images within a mipmap level,
- * so have to store them as a lookup table:
- */
- unsigned *image_offset[PIPE_MAX_TEXTURE_LEVELS]; /**< array [depth] of offsets */
-
- /* Includes image offset tables:
- */
- unsigned long level_offset[PIPE_MAX_TEXTURE_LEVELS];
-
- /* The data is held here:
- */
- struct pipe_buffer_handle *buffer;
-};
-
void *
softpipe_create_alpha_test_state(struct pipe_context *,
const struct pipe_alpha_test_state *);