summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/nv40/nv40_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/nv40/nv40_context.h')
-rw-r--r--src/mesa/pipe/nv40/nv40_context.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/mesa/pipe/nv40/nv40_context.h b/src/mesa/pipe/nv40/nv40_context.h
index 65a197ae2f..3a1d3f076c 100644
--- a/src/mesa/pipe/nv40/nv40_context.h
+++ b/src/mesa/pipe/nv40/nv40_context.h
@@ -41,7 +41,7 @@ struct nv40_context {
uint32_t dirty;
struct nv40_sampler_state *tex_sampler[PIPE_MAX_SAMPLERS];
- struct pipe_mipmap_tree *tex_miptree[PIPE_MAX_SAMPLERS];
+ struct pipe_texture *tex_miptree[PIPE_MAX_SAMPLERS];
uint32_t tex_dirty;
struct {
@@ -66,17 +66,14 @@ struct nv40_context {
};
-extern void nv40_init_region_functions(struct nv40_context *nv40);
-extern void nv40_init_surface_functions(struct nv40_context *nv40);
extern void nv40_init_state_functions(struct nv40_context *nv40);
+extern void nv40_init_surface_functions(struct nv40_context *nv40);
+extern void nv40_init_miptree_functions(struct nv40_context *nv40);
+extern void nv40_init_query_functions(struct nv40_context *nv40);
/* nv40_draw.c */
extern struct draw_stage *nv40_draw_render_stage(struct nv40_context *nv40);
-/* nv40_miptree.c */
-extern boolean nv40_miptree_layout(struct pipe_context *,
- struct pipe_mipmap_tree *);
-
/* nv40_vertprog.c */
extern void nv40_vertprog_translate(struct nv40_context *,
struct nv40_vertex_program *);
@@ -107,9 +104,4 @@ extern void nv40_vbo_arrays_update(struct nv40_context *nv40);
extern void nv40_clear(struct pipe_context *pipe, struct pipe_surface *ps,
unsigned clearValue);
-/* nv40_query.c */
-extern void nv40_query_begin(struct pipe_context *, struct pipe_query_object *);
-extern void nv40_query_end(struct pipe_context *, struct pipe_query_object *);
-extern void nv40_query_wait(struct pipe_context *, struct pipe_query_object *);
-
#endif