| Tachyon (current)
    Current Main Branch
    | 
Go to the source code of this file.
| Functions | |
| void * | glwin_create (const char *wintitle, int width, int height) | 
| void | glwin_destroy (void *voidhandle) | 
| void | glwin_swap_buffers (void *voidhandle) | 
| int | glwin_handle_events (void *voidhandle, int evblockmode) | 
| int | glwin_get_wininfo (void *voidhandle, int *instereo, int *havestencil) | 
| int | glwin_get_winsize (void *voidhandle, int *xsize, int *ysize) | 
| int | glwin_get_winpos (void *voidhandle, int *xpos, int *ypos) | 
| int | glwin_get_mousepointer (void *voidhandle, int *x, int *y) | 
| int | glwin_get_lastevent (void *voidhandle, int *evdev, int *evval, char *evkey) | 
| int | glwin_get_spaceball (void *voidhandle, int *rx, int *ry, int *rz, int *tx, int *ty, int *tz, int *buttons) | 
| int | glwin_spaceball_available (void *voidhandle) | 
| int | glwin_resize (void *voidhandle, int width, int height) | 
| int | glwin_reposition (void *voidhandle, int xpos, int ypos) | 
| int | glwin_fullscreen (void *voidhandle, int fson, int xinescreen) | 
| int | glwin_query_extension (const char *extname) | 
| int | glwin_query_vsync (void *voidhandle, int *onoff) | 
| void | glwin_draw_image (void *voidhandle, int ixs, int iys, unsigned char *img) | 
| void | glwin_draw_image_rgb3u (void *voidhandle, int stereomode, int ixs, int iys, const unsigned char *rgb3u) | 
| void | glwin_draw_image_tex_rgb3u (void *voidhandle, int stereomode, int ixs, int iys, const unsigned char *rgb3u) | 
| void | glwin_draw_sphere_tex (float rad, int res, float txlatstart, float txlatend) | 
| void | glwin_spheremap_upload_tex_rgb3u (void *voidhandle, int ixs, int iys, const unsigned char *rgb3u) | 
| void | glwin_spheremap_draw_prepare (void *voidhandle) | 
| void | glwin_spheremap_draw_tex (void *voidhandle, int stereomode, int ixs, int iys, const float *hmdquat, float fov, float rad, int res) | 
| int | glwin_fbo_target_bind (void *voidhandle, void *voidtarget) | 
| int | glwin_fbo_target_unbind (void *voidhandle, void *voidtarget) | 
| int | glwin_fbo_target_destroy (void *voidhandle, void *voidtarget) | 
| int | glwin_fbo_target_resize (void *voidhandle, void *voidtarget, int width, int height) | 
| void * | glwin_fbo_target_create (void *voidhandle, int width, int height) | 
| int | glwin_fbo_target_draw_normal (void *voidhandle, void *voidtarget) | 
| int | glwin_fbo_target_draw_fbo (void *voidhandle, void *voidtarget, int width, int height) | 
| void * | glwin_spheremap_create_hmd_warp (void *vwin, int wsx, int wsy, int wrot, int warpdivs, int ixs, int iys, const float *user_coeffs) | 
| void | glwin_spheremap_destroy_hmd_warp (void *vwin, void *voidwarp) | 
| void | glwin_spheremap_update_hmd_warp (void *vwin, void *voidwarp, int wsx, int wsy, int warpdivs, int ixs, int iys, const float *user_coeffs, int forceupdate) | 
| int | glwin_spheremap_draw_hmd_warp (void *vwin, void *voidwarp, int drawimage, int drawlines, int chromcorr, int wsx, int wsy, int ixs, int iys, const float *hmdquat, float fov, float rad, int hmd_spres) | 
| #define GLWIN_EV_KBD 1 | 
| #define GLWIN_EV_POLL_NONBLOCK 0 | 
Definition at line 28 of file glwin.h.
Referenced by tachyon_display_draw().
| #define GLWIN_NOT_IMPLEMENTED -2 | 
Definition at line 26 of file glwin.h.
Referenced by glwin_query_vsync().
| void* glwin_create | ( | const char * | wintitle, | 
| int | width, | ||
| int | height | ||
| ) | 
Definition at line 3315 of file glwin.c.
Referenced by main(), and tachyon_display_create().
| void glwin_destroy | ( | void * | voidhandle | ) | 
Definition at line 3319 of file glwin.c.
Referenced by main(), and tachyon_display_delete().
| void glwin_draw_image | ( | void * | voidhandle, | 
| int | ixs, | ||
| int | iys, | ||
| unsigned char * | img | ||
| ) | 
Definition at line 3359 of file glwin.c.
Referenced by main(), and tachyon_display_draw().
| void glwin_draw_image_rgb3u | ( | void * | voidhandle, | 
| int | stereomode, | ||
| int | ixs, | ||
| int | iys, | ||
| const unsigned char * | rgb3u | ||
| ) | 
| void glwin_draw_image_tex_rgb3u | ( | void * | voidhandle, | 
| int | stereomode, | ||
| int | ixs, | ||
| int | iys, | ||
| const unsigned char * | rgb3u | ||
| ) | 
| void glwin_draw_sphere_tex | ( | float | rad, | 
| int | res, | ||
| float | txlatstart, | ||
| float | txlatend | ||
| ) | 
| int glwin_fbo_target_bind | ( | void * | voidhandle, | 
| void * | voidtarget | ||
| ) | 
| void* glwin_fbo_target_create | ( | void * | voidhandle, | 
| int | width, | ||
| int | height | ||
| ) | 
| int glwin_fbo_target_destroy | ( | void * | voidhandle, | 
| void * | voidtarget | ||
| ) | 
| int glwin_fbo_target_draw_fbo | ( | void * | voidhandle, | 
| void * | voidtarget, | ||
| int | width, | ||
| int | height | ||
| ) | 
| int glwin_fbo_target_draw_normal | ( | void * | voidhandle, | 
| void * | voidtarget | ||
| ) | 
| int glwin_fbo_target_resize | ( | void * | voidhandle, | 
| void * | voidtarget, | ||
| int | width, | ||
| int | height | ||
| ) | 
| int glwin_fbo_target_unbind | ( | void * | voidhandle, | 
| void * | voidtarget | ||
| ) | 
| int glwin_fullscreen | ( | void * | voidhandle, | 
| int | fson, | ||
| int | xinescreen | ||
| ) | 
Definition at line 3400 of file glwin.c.
Referenced by tachyon_display_draw().
| int glwin_get_lastevent | ( | void * | voidhandle, | 
| int * | evdev, | ||
| int * | evval, | ||
| char * | evkey | ||
| ) | 
Definition at line 3347 of file glwin.c.
Referenced by tachyon_display_draw().
| int glwin_get_mousepointer | ( | void * | voidhandle, | 
| int * | x, | ||
| int * | y | ||
| ) | 
| int glwin_get_spaceball | ( | void * | voidhandle, | 
| int * | rx, | ||
| int * | ry, | ||
| int * | rz, | ||
| int * | tx, | ||
| int * | ty, | ||
| int * | tz, | ||
| int * | buttons | ||
| ) | 
Definition at line 3408 of file glwin.c.
Referenced by tachyon_spaceball_update().
| int glwin_get_wininfo | ( | void * | voidhandle, | 
| int * | instereo, | ||
| int * | havestencil | ||
| ) | 
Definition at line 3331 of file glwin.c.
Referenced by main(), and tachyon_display_draw().
| int glwin_get_winpos | ( | void * | voidhandle, | 
| int * | xpos, | ||
| int * | ypos | ||
| ) | 
| int glwin_get_winsize | ( | void * | voidhandle, | 
| int * | xsize, | ||
| int * | ysize | ||
| ) | 
Definition at line 3335 of file glwin.c.
Referenced by main(), and tachyon_display_draw().
| int glwin_handle_events | ( | void * | voidhandle, | 
| int | evblockmode | ||
| ) | 
Definition at line 3327 of file glwin.c.
Referenced by tachyon_display_draw().
| int glwin_query_vsync | ( | void * | voidhandle, | 
| int * | onoff | ||
| ) | 
Definition at line 3355 of file glwin.c.
References GLWIN_NOT_IMPLEMENTED.
| int glwin_reposition | ( | void * | voidhandle, | 
| int | xpos, | ||
| int | ypos | ||
| ) | 
| int glwin_resize | ( | void * | voidhandle, | 
| int | width, | ||
| int | height | ||
| ) | 
Definition at line 3392 of file glwin.c.
Referenced by tachyon_display_draw().
| void* glwin_spheremap_create_hmd_warp | ( | void * | vwin, | 
| int | wsx, | ||
| int | wsy, | ||
| int | wrot, | ||
| int | warpdivs, | ||
| int | ixs, | ||
| int | iys, | ||
| const float * | user_coeffs | ||
| ) | 
| void glwin_spheremap_destroy_hmd_warp | ( | void * | vwin, | 
| void * | voidwarp | ||
| ) | 
| int glwin_spheremap_draw_hmd_warp | ( | void * | vwin, | 
| void * | voidwarp, | ||
| int | drawimage, | ||
| int | drawlines, | ||
| int | chromcorr, | ||
| int | wsx, | ||
| int | wsy, | ||
| int | ixs, | ||
| int | iys, | ||
| const float * | hmdquat, | ||
| float | fov, | ||
| float | rad, | ||
| int | hmd_spres | ||
| ) | 
| void glwin_spheremap_draw_tex | ( | void * | voidhandle, | 
| int | stereomode, | ||
| int | ixs, | ||
| int | iys, | ||
| const float * | hmdquat, | ||
| float | fov, | ||
| float | rad, | ||
| int | res | ||
| ) | 
| void glwin_spheremap_update_hmd_warp | ( | void * | vwin, | 
| void * | voidwarp, | ||
| int | wsx, | ||
| int | wsy, | ||
| int | warpdivs, | ||
| int | ixs, | ||
| int | iys, | ||
| const float * | user_coeffs, | ||
| int | forceupdate | ||
| ) | 
| void glwin_spheremap_upload_tex_rgb3u | ( | void * | voidhandle, | 
| int | ixs, | ||
| int | iys, | ||
| const unsigned char * | rgb3u | ||
| ) | 
 1.8.14
 1.8.14