summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv40/nv40_context.h
blob: cebf21d00c073f35a004062454f0d3ea7b2ff218 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef __NV40_CONTEXT_H__
#define __NV40_CONTEXT_H__

#include "nvfx_context.h"

extern void nv40_init_state_functions(struct nvfx_context *nvfx);

/* nv40_vertprog.c */
extern void nv40_vertprog_destroy(struct nvfx_context *,
				  struct nvfx_vertex_program *);

/* nv40_fragtex.c */
extern void nv40_fragtex_bind(struct nvfx_context *);

/* nv40_state.c and friends */
extern struct nvfx_state_entry nv40_state_vertprog;
extern struct nvfx_state_entry nv40_state_fragtex;

/* nvfx_context.c */
struct pipe_context *
nv40_create(struct pipe_screen *pscreen, void *priv);

#endif