4 /* This is an API for exercising gallium functionality in a
5 * platform-neutral fashion. Whatever platform integration is
6 * necessary to implement this interface is orchestrated by the
7 * individual target building this entity.
9 * For instance, the graw-xlib target includes code to implent these
10 * interfaces on top of the X window system.
12 * Programs using this interface may additionally benefit from some of
13 * the utilities currently in the libgallium.a library, especially
14 * those for parsing text representations of TGSI shaders.
17 #include "pipe/p_format.h"
21 struct pipe_screen
*graw_init( void );
23 /* Returns a handle to be used with flush_frontbuffer()/present().
25 * Query format support with screen::is_format_supported and usage
28 void *graw_create_window( int x
,
32 enum pipe_format format
);
34 void graw_destroy_window( void *handle
);