Classes |
struct | TinyGL::GLSpecBuf |
struct | TinyGL::GLLight |
struct | TinyGL::GLMaterial |
struct | TinyGL::GLViewport |
union | TinyGL::GLParam |
struct | TinyGL::GLParamBuffer |
struct | TinyGL::GLList |
struct | TinyGL::GLVertex |
struct | TinyGL::GLImage |
struct | TinyGL::GLTexture |
struct | TinyGL::GLSharedState |
class | TinyGL::LinearAllocator |
| A linear allocator implementation. More...
|
struct | TinyGL::GLContext |
Namespaces |
namespace | TinyGL |
Defines |
#define | ADD_OP(a, b, c) OP_ ## a , |
#define | POLYGON_MAX_VERTEX 16 |
#define | MAX_SPECULAR_BUFFERS 8 |
#define | SPECULAR_BUFFER_SIZE 1024 |
#define | SPECULAR_BUFFER_RESOLUTION 1024 |
#define | MAX_MODELVIEW_STACK_DEPTH 35 |
#define | MAX_PROJECTION_STACK_DEPTH 8 |
#define | MAX_TEXTURE_STACK_DEPTH 8 |
#define | MAX_NAME_STACK_DEPTH 64 |
#define | MAX_TEXTURE_LEVELS 11 |
#define | T_MAX_LIGHTS 32 |
#define | VERTEX_HASH_SIZE 1031 |
#define | MAX_DISPLAY_LISTS 1024 |
#define | OP_BUFFER_MAX_SIZE 512 |
#define | TGL_OFFSET_FILL 0x1 |
#define | TGL_OFFSET_LINE 0x2 |
#define | TGL_OFFSET_POINT 0x4 |
#define | TEXTURE_HASH_TABLE_SIZE 256 |
#define | dprintf |
#define | ADD_OP(a, b, c) void glop ## a (GLContext *, GLParam *); |
#define | CLIP_EPSILON (1E-5) |
Typedefs |
typedef void(* | TinyGL::gl_draw_triangle_func )(GLContext *c, GLVertex *p0, GLVertex *p1, GLVertex *p2) |
Enumerations |
enum | |
Functions |
void | TinyGL::gl_add_op (GLParam *p) |
void | TinyGL::gl_transform_to_viewport (GLContext *c, GLVertex *v) |
void | TinyGL::gl_draw_triangle (GLContext *c, GLVertex *p0, GLVertex *p1, GLVertex *p2) |
void | TinyGL::gl_draw_line (GLContext *c, GLVertex *p1, GLVertex *p2) |
void | TinyGL::gl_draw_point (GLContext *c, GLVertex *p0) |
void | TinyGL::gl_draw_triangle_point (GLContext *c, GLVertex *p0, GLVertex *p1, GLVertex *p2) |
void | TinyGL::gl_draw_triangle_line (GLContext *c, GLVertex *p0, GLVertex *p1, GLVertex *p2) |
void | TinyGL::gl_draw_triangle_fill (GLContext *c, GLVertex *p0, GLVertex *p1, GLVertex *p2) |
void | TinyGL::gl_draw_triangle_select (GLContext *c, GLVertex *p0, GLVertex *p1, GLVertex *p2) |
void | TinyGL::gl_print_matrix (const float *m) |
void | TinyGL::gl_add_select (GLContext *c, unsigned int zmin, unsigned int zmax) |
void | TinyGL::gl_enable_disable_light (GLContext *c, int light, int v) |
void | TinyGL::gl_shade_vertex (GLContext *c, GLVertex *v) |
void | TinyGL::glInitTextures (GLContext *c) |
void | TinyGL::glEndTextures (GLContext *c) |
GLTexture * | TinyGL::alloc_texture (GLContext *c, int h) |
void | TinyGL::free_texture (GLContext *c, int h) |
void | TinyGL::free_texture (GLContext *c, GLTexture *t) |
void | TinyGL::gl_resizeImage (unsigned char *dest, int xsize_dest, int ysize_dest, unsigned char *src, int xsize_src, int ysize_src) |
void | TinyGL::gl_resizeImageNoInterpolate (unsigned char *dest, int xsize_dest, int ysize_dest, unsigned char *src, int xsize_src, int ysize_src) |
void | TinyGL::tglIssueDrawCall (Graphics::DrawCall *drawCall) |
void | TinyGL::tglDisposeResources (TinyGL::GLContext *c) |
void | TinyGL::tglDisposeDrawCallLists (TinyGL::GLContext *c) |
GLContext * | TinyGL::gl_get_context () |
GLSpecBuf * | TinyGL::specbuf_get_buffer (GLContext *c, const int shininess_i, const float shininess) |
void | TinyGL::specbuf_cleanup (GLContext *c) |
void | TinyGL::glInit (void *zbuffer1, int textureSize) |
void | TinyGL::glClose () |
static int | TinyGL::gl_clipcode (float x, float y, float z, float w1) |