|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
#include <kos.h>#include <KGL/gl.h>#include <KGL/glext.h>#include <KGL/glu.h>#include <KGL/glut.h>Macros | |
| #define | ENABLE_RADIAL_BLUR 2 |
| #define | DISABLE_RADIAL_BLUR 3 |
| #define | INCREASE_RADIAL_BLUR 4 |
| #define | DECREASE_RADIAL_BLUR 5 |
Functions | |
| GLuint | glTextureLoadPVR (char *fname, unsigned char isMipMapped, unsigned char glMipMap) |
| GLubyte | InitRenderTexture (GLsizei width, GLsizei height) |
| void | RenderBlurEffect (int times, float inc, long unsigned int width, long unsigned int height, GLuint texID) |
| void | DrawGL (GLuint texID) |
| int | InputCallback (void) |
| static int | check_start (void) |
| int | main (int argc, char **argv) |
Variables | |
| static GLfloat | xrot |
| static GLfloat | yrot |
| static GLfloat | xspeed |
| static GLfloat | yspeed |
| static GLfloat | z = -5.0f |
| static GLuint | RENDER_TEXTURE_ID |
| static long unsigned int | RENDER_TEXTURE_W |
| static long unsigned int | RENDER_TEXTURE_H |
| static GLuint | fbo [1] |
| #define DECREASE_RADIAL_BLUR 5 |
Referenced by InputCallback(), and main().
| #define DISABLE_RADIAL_BLUR 3 |
Referenced by InputCallback(), and main().
| #define ENABLE_RADIAL_BLUR 2 |
Referenced by InputCallback(), and main().
| #define INCREASE_RADIAL_BLUR 4 |
Referenced by InputCallback(), and main().
|
static |
References cont_state_t::buttons, CONT_START, maple_dev_status(), maple_enum_type(), and MAPLE_FUNC_CONTROLLER.
Referenced by main().
|
extern |
Referenced by main().
| GLubyte InitRenderTexture | ( | GLsizei | width, |
| GLsizei | height ) |
References fbo, RENDER_TEXTURE_H, RENDER_TEXTURE_ID, and RENDER_TEXTURE_W.
Referenced by main().
| int InputCallback | ( | void | ) |
References cont_state_t::buttons, CONT_A, CONT_B, CONT_DPAD_DOWN, CONT_DPAD_LEFT, CONT_DPAD_RIGHT, CONT_DPAD_UP, CONT_START, CONT_X, CONT_Y, DECREASE_RADIAL_BLUR, DISABLE_RADIAL_BLUR, ENABLE_RADIAL_BLUR, INCREASE_RADIAL_BLUR, cont_state_t::ltrig, maple_dev_status(), maple_enum_type(), MAPLE_FUNC_CONTROLLER, printf, cont_state_t::rtrig, xspeed, yspeed, and z.
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv ) |
References check_start(), DECREASE_RADIAL_BLUR, DISABLE_RADIAL_BLUR, DrawGL(), ENABLE_RADIAL_BLUR, fbo, glTextureLoadPVR(), vid_mode_t::height, INCREASE_RADIAL_BLUR, InitRenderTexture(), InputCallback(), printf, RENDER_TEXTURE_H, RENDER_TEXTURE_ID, RENDER_TEXTURE_W, RenderBlurEffect(), vid_mode, and vid_mode_t::width.
| void RenderBlurEffect | ( | int | times, |
| float | inc, | ||
| long unsigned int | width, | ||
| long unsigned int | height, | ||
| GLuint | texID ) |
References H, vid_mode_t::height, vid_mode, W, and vid_mode_t::width.
Referenced by main().
|
static |
Referenced by InitRenderTexture(), and main().
|
static |
Referenced by InitRenderTexture(), and main().
|
static |
Referenced by InitRenderTexture(), and main().
|
static |
Referenced by InitRenderTexture(), and main().
|
static |
Referenced by DrawGL().
|
static |
Referenced by DrawGL(), and InputCallback().
|
static |
Referenced by DrawGL().
|
static |
Referenced by DrawGL(), and InputCallback().
|
static |
Referenced by DrawGL(), and InputCallback().