summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/cell/ppu/cell_texture.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-02-20 14:21:45 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-02-20 14:21:45 -0700
commit9171e63f414866aef155b17d3c85c9a236a872d6 (patch)
treed564345585b7d797ccb221e900bd2edea1a75f72 /src/gallium/drivers/cell/ppu/cell_texture.h
parent4eae65c8e052976a130564560699e60e1a3a9cc3 (diff)
cell: put most simple state-setter functions in new cell_pipe_state.c file
Also, re-org of texture/surface functions.
Diffstat (limited to 'src/gallium/drivers/cell/ppu/cell_texture.h')
-rw-r--r--src/gallium/drivers/cell/ppu/cell_texture.h20
1 files changed, 4 insertions, 16 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_texture.h b/src/gallium/drivers/cell/ppu/cell_texture.h
index 07e81582f4..824fb3e20f 100644
--- a/src/gallium/drivers/cell/ppu/cell_texture.h
+++ b/src/gallium/drivers/cell/ppu/cell_texture.h
@@ -29,7 +29,7 @@
#define CELL_TEXTURE_H
-struct pipe_context;
+struct cell_context;
struct pipe_texture;
@@ -60,24 +60,12 @@ cell_texture(struct pipe_texture *pt)
-extern struct pipe_texture *
-cell_texture_create(struct pipe_context *pipe,
- const struct pipe_texture *templat);
-
-extern void
-cell_texture_release(struct pipe_context *pipe, struct pipe_texture **pt);
-
extern void
-cell_texture_update(struct pipe_context *pipe, struct pipe_texture *texture);
-
-extern struct pipe_surface *
-cell_get_tex_surface(struct pipe_context *pipe,
- struct pipe_texture *pt,
- unsigned face, unsigned level, unsigned zslice);
+cell_update_texture_mapping(struct cell_context *cell);
extern void
-cell_update_texture_mapping(struct cell_context *cell);
+cell_init_texture_functions(struct cell_context *cell);
-#endif /* CELL_TEXTURE */
+#endif /* CELL_TEXTURE_H */