ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

zgl.h File Reference

#include "common/util.h"
#include "common/textconsole.h"
#include "common/array.h"
#include "common/list.h"
#include "graphics/tinygl/gl.h"
#include "graphics/tinygl/zbuffer.h"
#include "graphics/tinygl/zmath.h"
#include "graphics/tinygl/zblit.h"
#include "graphics/tinygl/zdirtyrect.h"
#include "graphics/tinygl/opinfo.h"
Include dependency graph for zgl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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)

Define Documentation

#define ADD_OP (   a,
  b,
  c 
)    OP_ ## a ,

Definition at line 457 of file zgl.h.

#define ADD_OP (   a,
  b,
  c 
)    void glop ## a (GLContext *, GLParam *);

Definition at line 457 of file zgl.h.

#define CLIP_EPSILON   (1E-5)

Definition at line 463 of file zgl.h.

#define dprintf

Definition at line 448 of file zgl.h.

#define MAX_DISPLAY_LISTS   1024

Definition at line 73 of file zgl.h.

#define MAX_MODELVIEW_STACK_DEPTH   35

Definition at line 64 of file zgl.h.

#define MAX_NAME_STACK_DEPTH   64

Definition at line 67 of file zgl.h.

#define MAX_PROJECTION_STACK_DEPTH   8

Definition at line 65 of file zgl.h.

#define MAX_SPECULAR_BUFFERS   8

Definition at line 58 of file zgl.h.

#define MAX_TEXTURE_LEVELS   11

Definition at line 68 of file zgl.h.

#define MAX_TEXTURE_STACK_DEPTH   8

Definition at line 66 of file zgl.h.

#define OP_BUFFER_MAX_SIZE   512

Definition at line 74 of file zgl.h.

#define POLYGON_MAX_VERTEX   16

Definition at line 55 of file zgl.h.

#define SPECULAR_BUFFER_RESOLUTION   1024

Definition at line 62 of file zgl.h.

#define SPECULAR_BUFFER_SIZE   1024

Definition at line 60 of file zgl.h.

#define T_MAX_LIGHTS   32

Definition at line 69 of file zgl.h.

#define TEXTURE_HASH_TABLE_SIZE   256

Definition at line 182 of file zgl.h.

#define TGL_OFFSET_FILL   0x1

Definition at line 76 of file zgl.h.

#define TGL_OFFSET_LINE   0x2

Definition at line 77 of file zgl.h.

#define TGL_OFFSET_POINT   0x4

Definition at line 78 of file zgl.h.

#define VERTEX_HASH_SIZE   1031

Definition at line 71 of file zgl.h.



Generated on Sat Feb 16 2019 05:03:13 for ResidualVM by doxygen 1.7.1
curved edge   curved edge