summaryrefslogtreecommitdiff
path: root/src/glitzint.h
diff options
context:
space:
mode:
authorDavid Reveman <davidr@novell.com>2004-05-09 20:54:51 +0000
committerDavid Reveman <davidr@novell.com>2004-05-09 20:54:51 +0000
commitbc0caac12d0bdc52bae20c22c54ad29e80d4622f (patch)
treed88dbb0a43bea600fca5148a02f485423bb16f79 /src/glitzint.h
parent3adff2a5662157c9e7cdb5543fec8e417a3d8bf4 (diff)
Added library cleanup functions
Diffstat (limited to 'src/glitzint.h')
-rw-r--r--src/glitzint.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/glitzint.h b/src/glitzint.h
index 0502f0f..62f6f6c 100644
--- a/src/glitzint.h
+++ b/src/glitzint.h
@@ -185,10 +185,11 @@ typedef enum {
(GLITZ_FRAGMENT_PROGRAM_TYPES * GLITZ_PROGRAMMATIC_SURFACE_NUM)
typedef struct _glitz_programs_t {
- unsigned long vertex_convolution[GLITZ_VERTEX_PROGRAM_TYPES];
- unsigned long fragment_simple[GLITZ_FRAGMENT_PROGRAM_TYPES];
- unsigned long fragment_convolution[GLITZ_FRAGMENT_PROGRAM_TYPES * 3];
- unsigned long fragment_programmatic[GLITZ_FRAGMENT_PROGRAMMATIC_PROGRAM_TYPES];
+ glitz_gl_uint_t vertex_convolution[GLITZ_VERTEX_PROGRAM_TYPES];
+ glitz_gl_uint_t fragment_simple[GLITZ_FRAGMENT_PROGRAM_TYPES];
+ glitz_gl_uint_t fragment_convolution[GLITZ_FRAGMENT_PROGRAM_TYPES * 3];
+ glitz_gl_uint_t
+ fragment_programmatic[GLITZ_FRAGMENT_PROGRAMMATIC_PROGRAM_TYPES];
} glitz_programs_t;
typedef enum {
@@ -598,6 +599,10 @@ glitz_program_disable (glitz_program_type_t type,
glitz_surface_t *dst);
extern void __internal_linkage
+glitz_programs_fini (glitz_gl_proc_address_list_t *gl,
+ glitz_programs_t *programs);
+
+extern void __internal_linkage
glitz_programmatic_surface_setup (glitz_surface_t *abstract_surface,
int width,
int height);