summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/state_tracker
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2010-05-14 12:07:38 +0100
committerKeith Whitwell <[email protected]>2010-05-14 12:19:57 +0100
commit7375d7a5c9d5c32fd6bdde0cc8cab8fe41415964 (patch)
treeca9f7aea3be8c302ea80f05676c7e763ce653dd0 /src/gallium/include/state_tracker
parent39087f636afcee058fc9af2c58cb1e2474c9b258 (diff)
graw: move towards glut-like interface, add tri.c
Diffstat (limited to 'src/gallium/include/state_tracker')
-rw-r--r--src/gallium/include/state_tracker/graw.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/include/state_tracker/graw.h b/src/gallium/include/state_tracker/graw.h
index 385e4d7718e..87e7d97543a 100644
--- a/src/gallium/include/state_tracker/graw.h
+++ b/src/gallium/include/state_tracker/graw.h
@@ -17,6 +17,7 @@
#include "pipe/p_format.h"
struct pipe_screen;
+struct pipe_context;
PUBLIC struct pipe_screen *graw_init( void );
@@ -32,5 +33,13 @@ PUBLIC void *graw_create_window( int x,
enum pipe_format format );
PUBLIC void graw_destroy_window( void *handle );
+PUBLIC void graw_set_display_func( void (*func)( void ) );
+PUBLIC void graw_main_loop( void );
+
+PUBLIC void *graw_parse_vertex_shader( struct pipe_context *pipe,
+ const char *text );
+
+PUBLIC void *graw_parse_fragment_shader( struct pipe_context *pipe,
+ const char *text );
#endif