Go to the source code of this file.
Defines | |
#define | GLWIN_SUCCESS 0 |
#define | GLWIN_ERROR -1 |
#define | GLWIN_NOT_IMPLEMENTED -2 |
#define | GLWIN_EV_POLL_NONBLOCK 0 |
#define | GLWIN_EV_POLL_BLOCK 1 |
#define | GLWIN_EV_NONE 0 |
#define | GLWIN_EV_KBD 1 /**< all non-special chars */ |
#define | GLWIN_EV_KBD_UP 2 |
#define | GLWIN_EV_KBD_DOWN 3 |
#define | GLWIN_EV_KBD_LEFT 4 |
#define | GLWIN_EV_KBD_RIGHT 5 |
#define | GLWIN_EV_KBD_PAGE_UP 6 |
#define | GLWIN_EV_KBD_PAGE_DOWN 7 |
#define | GLWIN_EV_KBD_HOME 8 |
#define | GLWIN_EV_KBD_END 9 |
#define | GLWIN_EV_KBD_INSERT 10 |
#define | GLWIN_EV_KBD_DELETE 11 |
#define | GLWIN_EV_KBD_F1 12 |
#define | GLWIN_EV_KBD_F2 13 |
#define | GLWIN_EV_KBD_F3 14 |
#define | GLWIN_EV_KBD_F4 15 |
#define | GLWIN_EV_KBD_F5 16 |
#define | GLWIN_EV_KBD_F6 17 |
#define | GLWIN_EV_KBD_F7 18 |
#define | GLWIN_EV_KBD_F8 19 |
#define | GLWIN_EV_KBD_F9 20 |
#define | GLWIN_EV_KBD_F10 21 |
#define | GLWIN_EV_KBD_F11 22 |
#define | GLWIN_EV_KBD_F12 23 |
#define | GLWIN_EV_KBD_ESC 24 |
#define | GLWIN_EV_MOUSE_MOVE 31 |
#define | GLWIN_EV_MOUSE_LEFT 32 |
#define | GLWIN_EV_MOUSE_MIDDLE 34 |
#define | GLWIN_EV_MOUSE_RIGHT 35 |
#define | GLWIN_EV_MOUSE_WHEELUP 36 |
#define | GLWIN_EV_MOUSE_WHEELDOWN 37 |
#define | GLWIN_EV_WINDOW_CLOSE 128 /**< window manager close event */ |
#define | GLWIN_STEREO_OFF 0 |
#define | GLWIN_STEREO_OVERUNDER 1 |
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) |
|
|
Definition at line 29 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 40 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 32 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 38 of file glwin.h. Referenced by glwin_handle_events. |
|
|
|
Definition at line 42 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 51 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 52 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 53 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 43 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 44 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 45 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 46 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 47 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 48 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 49 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 50 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 37 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 39 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 33 of file glwin.h. Referenced by glwin_handle_events. |
|
|
|
Definition at line 35 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 34 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 31 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 59 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 60 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 57 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 61 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 63 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 62 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 27 of file glwin.h. Referenced by glwin_alloc_init, and glwin_handle_events. |
|
Definition at line 25 of file glwin.h. Referenced by glwin_create. |
|
Definition at line 24 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 65 of file glwin.h. Referenced by glwin_handle_events. |
|
Definition at line 22 of file glwin.h. Referenced by glwin_query_vsync. |
|
|
|
Definition at line 68 of file glwin.h. Referenced by glwin_draw_image_rgb3u, glwin_draw_image_tex_rgb3u, glwin_spheremap_draw_hmd_warp, and glwin_spheremap_draw_tex. |
|
Definition at line 20 of file glwin.h. Referenced by glwin_compile_shaders, glwin_destroy_shaders, glwin_fbo_target_bind, glwin_fbo_target_destroy, glwin_fbo_target_draw_fbo, glwin_fbo_target_draw_normal, glwin_fbo_target_resize, glwin_fbo_target_unbind, glwin_query_vsync, and glwin_spheremap_draw_hmd_warp. |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 3014 of file glwin.c. Referenced by glwin_spheremap_draw_tex. |
|
Definition at line 2088 of file glwin.c. Referenced by glwin_spheremap_draw_hmd_warp. |
|
Definition at line 2163 of file glwin.c. Referenced by glwin_spheremap_create_hmd_warp. |
|
Definition at line 2114 of file glwin.c. Referenced by glwin_fbo_target_create, and glwin_spheremap_destroy_hmd_warp. |
|
|
|
|
|
Definition at line 2130 of file glwin.c. Referenced by glwin_fbo_target_create, and glwin_spheremap_update_hmd_warp. |
|
Definition at line 2101 of file glwin.c. Referenced by glwin_fbo_target_draw_fbo, and glwin_spheremap_draw_hmd_warp. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 3201 of file glwin.c. Referenced by glwin_draw_image_rgb3u, glwin_draw_image_tex_rgb3u, and glwin_spheremap_draw_tex. |
|
Definition at line 1075 of file glwin.c. Referenced by glwin_create. |
|
Definition at line 2014 of file glwin.c. Referenced by glwin_init_exts. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 3132 of file glwin.c. Referenced by glwin_spheremap_draw_hmd_warp. |
|
Definition at line 2450 of file glwin.c. Referenced by glwin_spheremap_create_hmd_warp. |
|
|
|
Definition at line 1061 of file glwin.c. Referenced by glwin_create, glwin_draw_image, glwin_draw_image_rgb3u, and glwin_draw_image_tex_rgb3u. |