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

TinyGL Namespace Reference

Classes

struct  Buffer
struct  ZBufferPoint
struct  FrameBuffer
struct  DirtyRectangle
struct  GLSpecBuf
struct  GLLight
struct  GLMaterial
struct  GLViewport
union  GLParam
struct  GLParamBuffer
struct  GLList
struct  GLVertex
struct  GLImage
struct  GLTexture
struct  GLSharedState
class  LinearAllocator
 A linear allocator implementation. More...
struct  GLContext
class  Vector3
class  Vector4
class  Matrix4

Typedefs

typedef void(* gl_draw_triangle_func )(GLContext *c, GLVertex *p0, GLVertex *p1, GLVertex *p2)

Enumerations

enum  

Functions

void glopArrayElement (GLContext *c, GLParam *param)
void glopDrawArrays (GLContext *c, GLParam *p)
void glopEnableClientState (GLContext *c, GLParam *p)
void glopDisableClientState (GLContext *c, GLParam *p)
void glopVertexPointer (GLContext *c, GLParam *p)
void glopColorPointer (GLContext *c, GLParam *p)
void glopNormalPointer (GLContext *c, GLParam *p)
void glopTexCoordPointer (GLContext *c, GLParam *p)
void glopClearColor (GLContext *c, GLParam *p)
void glopClearDepth (GLContext *c, GLParam *p)
void glopClear (GLContext *c, GLParam *p)
void gl_transform_to_viewport (GLContext *c, GLVertex *v)
static void gl_add_select1 (GLContext *c, int z1, int z2, int z3)
void gl_draw_point (GLContext *c, GLVertex *p0)
static void interpolate_color (GLContext *c, GLVertex *q, GLVertex *p0, GLVertex *p1, float t)
static void interpolate (GLContext *c, GLVertex *q, GLVertex *p0, GLVertex *p1, float t)
static int ClipLine1 (float denom, float num, float *tmin, float *tmax)
void gl_draw_line (GLContext *c, GLVertex *p1, GLVertex *p2)
 clip_func (clip_xmin,-, X, Y, Z) clip_func(clip_xmax
Z clip_func (clip_ymin,-, Y, X, Z) clip_func(clip_ymax
Z Z clip_func (clip_zmin,-, Z, X, Y) clip_func(clip_zmax
static void updateTmp (GLContext *c, GLVertex *q, GLVertex *p0, GLVertex *p1, float t)
static void gl_draw_triangle_clip (GLContext *c, GLVertex *p0, GLVertex *p1, GLVertex *p2, int clip_bit)
void gl_draw_triangle (GLContext *c, GLVertex *p0, GLVertex *p1, GLVertex *p2)
void gl_draw_triangle_select (GLContext *c, GLVertex *p0, GLVertex *p1, GLVertex *p2)
void gl_draw_triangle_fill (GLContext *c, GLVertex *p0, GLVertex *p1, GLVertex *p2)
void gl_draw_triangle_line (GLContext *c, GLVertex *p0, GLVertex *p1, GLVertex *p2)
void gl_draw_triangle_point (GLContext *c, GLVertex *p0, GLVertex *p1, GLVertex *p2)
void tglPresentBuffer ()
static int interpolate (int v00, int v01, int v10, int xf, int yf)
void gl_resizeImage (unsigned char *dest, int xsize_dest, int ysize_dest, unsigned char *src, int xsize_src, int ysize_src)
void gl_resizeImageNoInterpolate (unsigned char *dest, int xsize_dest, int ysize_dest, unsigned char *src, int xsize_src, int ysize_src)
void initSharedState (GLContext *c)
void endSharedState (GLContext *c)
void glInit (void *zbuffer1, int textureSize)
void glClose ()
void glopMaterial (GLContext *c, GLParam *p)
void glopColorMaterial (GLContext *c, GLParam *p)
void glopLight (GLContext *c, GLParam *p)
void glopLightModel (GLContext *c, GLParam *p)
static float clampf (float a, float min, float max)
void gl_enable_disable_light (GLContext *c, int light, int v)
void gl_shade_vertex (GLContext *c, GLVertex *v)
GLContextgl_get_context ()
static GLListfind_list (GLContext *c, unsigned int list)
static void delete_list (GLContext *c, int list)
static GLListalloc_list (GLContext *c, int list)
void gl_print_op (FILE *f, GLParam *p)
void gl_compile_op (GLContext *c, GLParam *p)
void gl_add_op (GLParam *p)
void glopEndList (GLContext *, GLParam *)
void glopNextBuffer (GLContext *, GLParam *)
void glopCallList (GLContext *c, GLParam *p)
void glNewList (unsigned int list, int mode)
void glEndList ()
int glIsList (unsigned int list)
unsigned int glGenLists (int range)
void gl_print_matrix (const float *m)
static void gl_matrix_update (GLContext *c)
void glopMatrixMode (GLContext *c, GLParam *p)
void glopLoadMatrix (GLContext *c, GLParam *p)
void glopLoadIdentity (GLContext *c, GLParam *)
void glopMultMatrix (GLContext *c, GLParam *p)
void glopPushMatrix (GLContext *c, GLParam *)
void glopPopMatrix (GLContext *c, GLParam *)
void glopRotate (GLContext *c, GLParam *p)
void glopScale (GLContext *c, GLParam *p)
void glopTranslate (GLContext *c, GLParam *p)
void glopFrustum (GLContext *c, GLParam *p)
void glopOrtho (GLContext *context, GLParam *p)
void gl_free (void *p)
void * gl_malloc (int size)
void * gl_zalloc (int size)
void glopViewport (GLContext *c, GLParam *p)
void glopEnableDisable (GLContext *c, GLParam *p)
void glopBlendFunc (GLContext *c, GLParam *p)
void glopAlphaFunc (GLContext *c, GLParam *p)
void glopDepthFunc (GLContext *c, GLParam *p)
void glopShadeModel (GLContext *c, GLParam *p)
void glopCullFace (GLContext *c, GLParam *p)
void glopFrontFace (GLContext *c, GLParam *p)
void glopPolygonMode (GLContext *c, GLParam *p)
void glopHint (GLContext *, GLParam *)
void glopPolygonOffset (GLContext *c, GLParam *p)
void glopColorMask (GLContext *c, TinyGL::GLParam *p)
void glopDepthMask (GLContext *c, TinyGL::GLParam *p)
int glRenderMode (int mode)
void glSelectBuffer (int size, unsigned int *buf)
void glopInitNames (GLContext *c, GLParam *)
void glopPushName (GLContext *c, GLParam *p)
void glopPopName (GLContext *c, GLParam *)
void glopLoadName (GLContext *c, GLParam *p)
void gl_add_select (GLContext *c, unsigned int zmin, unsigned int zmax)
static void calc_buf (GLSpecBuf *buf, const float shininess)
GLSpecBufspecbuf_get_buffer (GLContext *c, const int shininess_i, const float shininess)
void specbuf_cleanup (GLContext *c)
static GLTexturefind_texture (GLContext *c, unsigned int h)
void free_texture (GLContext *c, int h)
void free_texture (GLContext *c, GLTexture *t)
GLTexturealloc_texture (GLContext *c, int h)
void glInitTextures (GLContext *c)
void glopBindTexture (GLContext *c, GLParam *p)
void glopTexImage2D (GLContext *c, GLParam *p)
void glopTexEnv (GLContext *, GLParam *p)
void glopTexParameter (GLContext *, GLParam *p)
void glopPixelStore (GLContext *, GLParam *p)
void glopNormal (GLContext *c, GLParam *p)
void glopTexCoord (GLContext *c, GLParam *p)
void glopEdgeFlag (GLContext *c, GLParam *p)
void glopColor (GLContext *c, GLParam *p)
void gl_eval_viewport (GLContext *c)
void glopBegin (GLContext *c, GLParam *p)
static void gl_vertex_transform (GLContext *c, GLVertex *v)
void glopVertex (GLContext *c, GLParam *p)
void glopEnd (GLContext *c, GLParam *)
void memset_s (void *adr, int val, int count)
void memset_l (void *adr, int val, int count)
static void blitPixel (uint8 offset, unsigned int *from_z, unsigned int *to_z, unsigned int z_length, byte *from_color, byte *to_color, unsigned int color_length)
void tglIssueDrawCall (Graphics::DrawCall *drawCall)
void tglDisposeResources (TinyGL::GLContext *c)
void tglDisposeDrawCallLists (TinyGL::GLContext *c)
static void _appendDirtyRectangle (const Graphics::DrawCall &call, Common::List< DirtyRectangle > &rectangles, int r, int g, int b)
static void tglPresentBufferDirtyRects (TinyGL::GLContext *c)
static void tglPresentBufferSimple (TinyGL::GLContext *c)
void glEndTextures (GLContext *c)
static int gl_clipcode (float x, float y, float z, float w1)
int MatrixInverse (float *m)
template<bool kDepthWrite, bool kEnableAlphaTest, bool kEnableScissor, bool kEnableBlending>
static FORCEINLINE void putPixelFlat (FrameBuffer *buffer, int buf, unsigned int *pz, int _a, int x, int y, unsigned int &z, unsigned int &r, unsigned int &g, unsigned int &b, unsigned int &a, int &dzdx)
template<bool kDepthWrite, bool kEnableAlphaTest, bool kEnableScissor, bool kEnableBlending>
static FORCEINLINE void putPixelSmooth (FrameBuffer *buffer, int buf, unsigned int *pz, int _a, int x, int y, unsigned int &z, unsigned int &r, unsigned int &g, unsigned int &b, unsigned int &a, int &dzdx, int &drdx, int &dgdx, int &dbdx, unsigned int dadx)
template<bool kDepthWrite, bool kEnableScissor>
static FORCEINLINE void putPixelDepth (FrameBuffer *buffer, int buf, unsigned int *pz, int _a, int x, int y, unsigned int &z, int &dzdx)
template<bool kDepthWrite, bool kAlphaTestEnabled, bool kEnableScissor, bool kBlendingEnabled>
static FORCEINLINE void putPixelShadow (FrameBuffer *buffer, int buf, unsigned int *pz, int _a, int x, int y, unsigned int &z, unsigned int &r, unsigned int &g, unsigned int &b, int &dzdx, unsigned char *pm)
template<bool kDepthWrite, bool kLightsMode, bool kSmoothMode, bool kEnableAlphaTest, bool kEnableScissor, bool kEnableBlending>
static FORCEINLINE void putPixelTextureMappingPerspective (FrameBuffer *buffer, int buf, Graphics::PixelFormat &textureFormat, Graphics::PixelBuffer &texture, unsigned int *pz, int _a, int x, int y, unsigned int &z, unsigned int &t, unsigned int &s, unsigned int &r, unsigned int &g, unsigned int &b, unsigned int &a, int &dzdx, int &dsdx, int &dtdx, int &drdx, int &dgdx, int &dbdx, unsigned int dadx)

Variables

 X
 Y
Z Z Z
Z Z Y float(* clip_proc [6])(Vector4 *, Vector4 *, Vector4 *)
GLContextgl_ctx
static const char * op_table_str []
static void(* op_table_func [])(GLContext *, GLParam *)
static int op_table_size []
static const int DRAW_DEPTH_ONLY = 0
static const int DRAW_FLAT = 1
static const int DRAW_SMOOTH = 2
static const int DRAW_SHADOW_MASK = 3
static const int DRAW_SHADOW = 4
static const int NB_INTERP = 8

Typedef Documentation

Definition at line 252 of file zgl.h.


Enumeration Type Documentation

anonymous enum

Definition at line 45 of file zgl.h.


Function Documentation

static void TinyGL::_appendDirtyRectangle ( const Graphics::DrawCall call,
Common::List< DirtyRectangle > &  rectangles,
int  r,
int  g,
int  b 
) [inline, static]

Definition at line 116 of file zdirtyrect.cpp.

static GLList* TinyGL::alloc_list ( GLContext *  c,
int  list 
) [static]

Definition at line 83 of file list.cpp.

GLTexture * TinyGL::alloc_texture ( GLContext *  c,
int  h 
)
static void TinyGL::blitPixel ( uint8  offset,
unsigned int *  from_z,
unsigned int *  to_z,
unsigned int  z_length,
byte from_color,
byte to_color,
unsigned int  color_length 
) [inline, static]

Definition at line 229 of file zbuffer.cpp.

static void TinyGL::calc_buf ( GLSpecBuf *  buf,
const float  shininess 
) [static]

Definition at line 33 of file specbuf.cpp.

static float TinyGL::clampf ( float  a,
float  min,
float  max 
) [inline, static]

Definition at line 171 of file light.cpp.

Z Z TinyGL::clip_func ( clip_zmin  ,
,
,
,
 
)
TinyGL::clip_func ( clip_xmin  ,
,
,
,
 
)
Z TinyGL::clip_func ( clip_ymin  ,
,
,
,
 
)
static int TinyGL::ClipLine1 ( float  denom,
float  num,
float *  tmin,
float *  tmax 
) [inline, static]

Definition at line 110 of file clip.cpp.

static void TinyGL::delete_list ( GLContext *  c,
int  list 
) [static]

Definition at line 64 of file list.cpp.

void TinyGL::endSharedState ( GLContext *  c  ) 

Definition at line 45 of file init.cpp.

static GLList* TinyGL::find_list ( GLContext *  c,
unsigned int  list 
) [static]

Definition at line 60 of file list.cpp.

static GLTexture* TinyGL::find_texture ( GLContext *  c,
unsigned int  h 
) [static]

Definition at line 37 of file texture.cpp.

void TinyGL::free_texture ( GLContext *  c,
int  h 
)
void TinyGL::free_texture ( GLContext *  c,
GLTexture *  t 
)
void TinyGL::gl_add_op ( GLParam *  p  ) 
void TinyGL::gl_add_select ( GLContext *  c,
unsigned int  zmin,
unsigned int  zmax 
)
static void TinyGL::gl_add_select1 ( GLContext *  c,
int  z1,
int  z2,
int  z3 
) [static]

Definition at line 64 of file clip.cpp.

static int TinyGL::gl_clipcode ( float  x,
float  y,
float  z,
float  w1 
) [inline, static]

Definition at line 465 of file zgl.h.

void TinyGL::gl_compile_op ( GLContext *  c,
GLParam *  p 
)

Definition at line 127 of file list.cpp.

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 ( GLContext *  c,
GLVertex *  p0,
GLVertex *  p1,
GLVertex *  p2 
)
static void TinyGL::gl_draw_triangle_clip ( GLContext *  c,
GLVertex *  p0,
GLVertex *  p1,
GLVertex *  p2,
int  clip_bit 
) [static]

Definition at line 289 of file clip.cpp.

void TinyGL::gl_draw_triangle_fill ( 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_point ( 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_enable_disable_light ( GLContext *  c,
int  light,
int  v 
)
void TinyGL::gl_eval_viewport ( GLContext *  c  ) 

Definition at line 71 of file vertex.cpp.

void TinyGL::gl_free ( void *  p  ) 
GLContext * TinyGL::gl_get_context (  ) 
void * TinyGL::gl_malloc ( int  size  ) 
static void TinyGL::gl_matrix_update ( GLContext *  c  )  [inline, static]

Definition at line 42 of file matrix.cpp.

void TinyGL::gl_print_matrix ( const float *  m  ) 
void TinyGL::gl_print_op ( FILE *  f,
GLParam *  p 
)

Definition at line 99 of file list.cpp.

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::gl_shade_vertex ( GLContext *  c,
GLVertex *  v 
)
void TinyGL::gl_transform_to_viewport ( GLContext *  c,
GLVertex *  v 
)
static void TinyGL::gl_vertex_transform ( GLContext *  c,
GLVertex *  v 
) [inline, static]

Definition at line 155 of file vertex.cpp.

void * TinyGL::gl_zalloc ( int  size  ) 
void TinyGL::glClose (  ) 
void TinyGL::glEndList (  ) 

Definition at line 227 of file list.cpp.

void TinyGL::glEndTextures ( GLContext *  c  ) 
unsigned int TinyGL::glGenLists ( int  range  ) 

Definition at line 248 of file list.cpp.

void TinyGL::glInit ( void *  zbuffer1,
int  textureSize 
)
void TinyGL::glInitTextures ( GLContext *  c  ) 
int TinyGL::glIsList ( unsigned int  list  ) 

Definition at line 241 of file list.cpp.

void TinyGL::glNewList ( unsigned int  list,
int  mode 
)

Definition at line 208 of file list.cpp.

void TinyGL::glopAlphaFunc ( GLContext *  c,
GLParam *  p 
)

Definition at line 144 of file misc.cpp.

void TinyGL::glopArrayElement ( GLContext *  c,
GLParam *  param 
)

Definition at line 38 of file arrays.cpp.

void TinyGL::glopBegin ( GLContext *  c,
GLParam *  p 
)

Definition at line 86 of file vertex.cpp.

void TinyGL::glopBindTexture ( GLContext *  c,
GLParam *  p 
)

Definition at line 101 of file texture.cpp.

void TinyGL::glopBlendFunc ( GLContext *  c,
GLParam *  p 
)

Definition at line 138 of file misc.cpp.

void TinyGL::glopCallList ( GLContext *  c,
GLParam *  p 
)

Definition at line 185 of file list.cpp.

void TinyGL::glopClear ( GLContext *  c,
GLParam *  p 
)

Definition at line 42 of file clear.cpp.

void TinyGL::glopClearColor ( GLContext *  c,
GLParam *  p 
)

Definition at line 34 of file clear.cpp.

void TinyGL::glopClearDepth ( GLContext *  c,
GLParam *  p 
)

Definition at line 38 of file clear.cpp.

void TinyGL::glopColor ( GLContext *  c,
GLParam *  p 
)

Definition at line 52 of file vertex.cpp.

void TinyGL::glopColorMask ( GLContext *  c,
TinyGL::GLParam p 
)

Definition at line 199 of file misc.cpp.

void TinyGL::glopColorMaterial ( GLContext *  c,
GLParam *  p 
)

Definition at line 76 of file light.cpp.

void TinyGL::glopColorPointer ( GLContext *  c,
GLParam *  p 
)

Definition at line 106 of file arrays.cpp.

void TinyGL::glopCullFace ( GLContext *  c,
GLParam *  p 
)

Definition at line 160 of file misc.cpp.

void TinyGL::glopDepthFunc ( GLContext *  c,
GLParam *  p 
)

Definition at line 150 of file misc.cpp.

void TinyGL::glopDepthMask ( GLContext *  c,
TinyGL::GLParam p 
)

Definition at line 203 of file misc.cpp.

void TinyGL::glopDisableClientState ( GLContext *  c,
GLParam *  p 
)

Definition at line 96 of file arrays.cpp.

void TinyGL::glopDrawArrays ( GLContext *  c,
GLParam *  p 
)

Definition at line 80 of file arrays.cpp.

void TinyGL::glopEdgeFlag ( GLContext *  c,
GLParam *  p 
)

Definition at line 48 of file vertex.cpp.

void TinyGL::glopEnableClientState ( GLContext *  c,
GLParam *  p 
)

Definition at line 92 of file arrays.cpp.

void TinyGL::glopEnableDisable ( GLContext *  c,
GLParam *  p 
)

Definition at line 68 of file misc.cpp.

void TinyGL::glopEnd ( GLContext *  c,
GLParam *   
)

Definition at line 253 of file vertex.cpp.

void TinyGL::glopEndList ( GLContext *  ,
GLParam *   
)

Definition at line 176 of file list.cpp.

void TinyGL::glopFrontFace ( GLContext *  c,
GLParam *  p 
)

Definition at line 165 of file misc.cpp.

void TinyGL::glopFrustum ( GLContext *  c,
GLParam *  p 
)

Definition at line 208 of file matrix.cpp.

void TinyGL::glopHint ( GLContext *  ,
GLParam *   
)

Definition at line 190 of file misc.cpp.

void TinyGL::glopInitNames ( GLContext *  c,
GLParam *   
)

Definition at line 80 of file select.cpp.

void TinyGL::glopLight ( GLContext *  c,
GLParam *  p 
)

Definition at line 84 of file light.cpp.

void TinyGL::glopLightModel ( GLContext *  c,
GLParam *  p 
)

Definition at line 151 of file light.cpp.

void TinyGL::glopLoadIdentity ( GLContext *  c,
GLParam *   
)

Definition at line 81 of file matrix.cpp.

void TinyGL::glopLoadMatrix ( GLContext *  c,
GLParam *  p 
)

Definition at line 63 of file matrix.cpp.

void TinyGL::glopLoadName ( GLContext *  c,
GLParam *  p 
)

Definition at line 103 of file select.cpp.

void TinyGL::glopMaterial ( GLContext *  c,
GLParam *  p 
)

Definition at line 33 of file light.cpp.

void TinyGL::glopMatrixMode ( GLContext *  c,
GLParam *  p 
)

Definition at line 46 of file matrix.cpp.

void TinyGL::glopMultMatrix ( GLContext *  c,
GLParam *  p 
)

Definition at line 86 of file matrix.cpp.

void TinyGL::glopNextBuffer ( GLContext *  ,
GLParam *   
)

Definition at line 181 of file list.cpp.

void TinyGL::glopNormal ( GLContext *  c,
GLParam *  p 
)

Definition at line 34 of file vertex.cpp.

void TinyGL::glopNormalPointer ( GLContext *  c,
GLParam *  p 
)

Definition at line 112 of file arrays.cpp.

void TinyGL::glopOrtho ( GLContext *  context,
GLParam *  p 
)

Definition at line 222 of file matrix.cpp.

void TinyGL::glopPixelStore ( GLContext *  ,
GLParam *  p 
)

Definition at line 272 of file texture.cpp.

void TinyGL::glopPolygonMode ( GLContext *  c,
GLParam *  p 
)

Definition at line 170 of file misc.cpp.

void TinyGL::glopPolygonOffset ( GLContext *  c,
GLParam *  p 
)

Definition at line 194 of file misc.cpp.

void TinyGL::glopPopMatrix ( GLContext *  c,
GLParam *   
)

Definition at line 118 of file matrix.cpp.

void TinyGL::glopPopName ( GLContext *  c,
GLParam *   
)

Definition at line 95 of file select.cpp.

void TinyGL::glopPushMatrix ( GLContext *  c,
GLParam *   
)

Definition at line 105 of file matrix.cpp.

void TinyGL::glopPushName ( GLContext *  c,
GLParam *  p 
)

Definition at line 87 of file select.cpp.

void TinyGL::glopRotate ( GLContext *  c,
GLParam *  p 
)

Definition at line 126 of file matrix.cpp.

void TinyGL::glopScale ( GLContext *  c,
GLParam *  p 
)

Definition at line 198 of file matrix.cpp.

void TinyGL::glopShadeModel ( GLContext *  c,
GLParam *  p 
)

Definition at line 155 of file misc.cpp.

void TinyGL::glopTexCoord ( GLContext *  c,
GLParam *  p 
)

Definition at line 41 of file vertex.cpp.

void TinyGL::glopTexCoordPointer ( GLContext *  c,
GLParam *  p 
)

Definition at line 117 of file arrays.cpp.

void TinyGL::glopTexEnv ( GLContext *  ,
GLParam *  p 
)

Definition at line 233 of file texture.cpp.

void TinyGL::glopTexImage2D ( GLContext *  c,
GLParam *  p 
)

Definition at line 115 of file texture.cpp.

void TinyGL::glopTexParameter ( GLContext *  ,
GLParam *  p 
)

Definition at line 251 of file texture.cpp.

void TinyGL::glopTranslate ( GLContext *  c,
GLParam *  p 
)

Definition at line 203 of file matrix.cpp.

void TinyGL::glopVertex ( GLContext *  c,
GLParam *  p 
)

Definition at line 191 of file vertex.cpp.

void TinyGL::glopVertexPointer ( GLContext *  c,
GLParam *  p 
)

Definition at line 100 of file arrays.cpp.

void TinyGL::glopViewport ( GLContext *  c,
GLParam *  p 
)

Definition at line 33 of file misc.cpp.

int TinyGL::glRenderMode ( int  mode  ) 

Definition at line 33 of file select.cpp.

void TinyGL::glSelectBuffer ( int  size,
unsigned int *  buf 
)

Definition at line 71 of file select.cpp.

void TinyGL::initSharedState ( GLContext *  c  ) 

Definition at line 37 of file init.cpp.

static void TinyGL::interpolate ( GLContext *  c,
GLVertex *  q,
GLVertex *  p0,
GLVertex *  p1,
float  t 
) [inline, static]

Definition at line 101 of file clip.cpp.

static int TinyGL::interpolate ( int  v00,
int  v01,
int  v10,
int  xf,
int  yf 
) [inline, static]

Definition at line 38 of file image_util.cpp.

static void TinyGL::interpolate_color ( GLContext *  c,
GLVertex *  q,
GLVertex *  p0,
GLVertex *  p1,
float  t 
) [inline, static]

Definition at line 94 of file clip.cpp.

int TinyGL::MatrixInverse ( float *  m  ) 

Definition at line 38 of file zmath.cpp.

void TinyGL::memset_l ( void *  adr,
int  val,
int  count 
)

Definition at line 63 of file zbuffer.cpp.

void TinyGL::memset_s ( void *  adr,
int  val,
int  count 
)

Definition at line 40 of file zbuffer.cpp.

template<bool kDepthWrite, bool kEnableScissor>
static FORCEINLINE void TinyGL::putPixelDepth ( FrameBuffer *  buffer,
int  buf,
unsigned int *  pz,
int  _a,
int  x,
int  y,
unsigned int &  z,
int &  dzdx 
) [static]

Definition at line 61 of file ztriangle.cpp.

template<bool kDepthWrite, bool kEnableAlphaTest, bool kEnableScissor, bool kEnableBlending>
static FORCEINLINE void TinyGL::putPixelFlat ( FrameBuffer *  buffer,
int  buf,
unsigned int *  pz,
int  _a,
int  x,
int  y,
unsigned int &  z,
unsigned int &  r,
unsigned int &  g,
unsigned int &  b,
unsigned int &  a,
int &  dzdx 
) [static]

Definition at line 38 of file ztriangle.cpp.

template<bool kDepthWrite, bool kAlphaTestEnabled, bool kEnableScissor, bool kBlendingEnabled>
static FORCEINLINE void TinyGL::putPixelShadow ( FrameBuffer *  buffer,
int  buf,
unsigned int *  pz,
int  _a,
int  x,
int  y,
unsigned int &  z,
unsigned int &  r,
unsigned int &  g,
unsigned int &  b,
int &  dzdx,
unsigned char *  pm 
) [static]

Definition at line 71 of file ztriangle.cpp.

template<bool kDepthWrite, bool kEnableAlphaTest, bool kEnableScissor, bool kEnableBlending>
static FORCEINLINE void TinyGL::putPixelSmooth ( FrameBuffer *  buffer,
int  buf,
unsigned int *  pz,
int  _a,
int  x,
int  y,
unsigned int &  z,
unsigned int &  r,
unsigned int &  g,
unsigned int &  b,
unsigned int &  a,
int &  dzdx,
int &  drdx,
int &  dgdx,
int &  dbdx,
unsigned int  dadx 
) [static]

Definition at line 47 of file ztriangle.cpp.

template<bool kDepthWrite, bool kLightsMode, bool kSmoothMode, bool kEnableAlphaTest, bool kEnableScissor, bool kEnableBlending>
static FORCEINLINE void TinyGL::putPixelTextureMappingPerspective ( FrameBuffer *  buffer,
int  buf,
Graphics::PixelFormat textureFormat,
Graphics::PixelBuffer texture,
unsigned int *  pz,
int  _a,
int  x,
int  y,
unsigned int &  z,
unsigned int &  t,
unsigned int &  s,
unsigned int &  r,
unsigned int &  g,
unsigned int &  b,
unsigned int &  a,
int &  dzdx,
int &  dsdx,
int &  dtdx,
int &  drdx,
int &  dgdx,
int &  dbdx,
unsigned int  dadx 
) [static]

Definition at line 79 of file ztriangle.cpp.

void TinyGL::specbuf_cleanup ( GLContext *  c  ) 
GLSpecBuf * TinyGL::specbuf_get_buffer ( GLContext *  c,
const int  shininess_i,
const float  shininess 
)
void TinyGL::tglDisposeDrawCallLists ( TinyGL::GLContext c  ) 
void TinyGL::tglDisposeResources ( TinyGL::GLContext c  ) 
void TinyGL::tglIssueDrawCall ( Graphics::DrawCall drawCall  ) 
void TinyGL::tglPresentBuffer (  ) 

Definition at line 257 of file zdirtyrect.cpp.

static void TinyGL::tglPresentBufferDirtyRects ( TinyGL::GLContext c  )  [static]

Definition at line 122 of file zdirtyrect.cpp.

static void TinyGL::tglPresentBufferSimple ( TinyGL::GLContext c  )  [static]

Definition at line 242 of file zdirtyrect.cpp.

static void TinyGL::updateTmp ( GLContext *  c,
GLVertex *  q,
GLVertex *  p0,
GLVertex *  p1,
float  t 
) [inline, static]

Definition at line 222 of file clip.cpp.


Variable Documentation

Z Z Y float(* TinyGL::clip_proc[6])(Vector4 *, Vector4 *, Vector4 *)
Initial value:
  {
    clip_xmin, clip_xmax,
    clip_ymin, clip_ymax,
    clip_zmin, clip_zmax
}

Definition at line 216 of file clip.cpp.

const int TinyGL::DRAW_DEPTH_ONLY = 0 [static]

Definition at line 70 of file zbuffer.h.

const int TinyGL::DRAW_FLAT = 1 [static]

Definition at line 71 of file zbuffer.h.

const int TinyGL::DRAW_SHADOW = 4 [static]

Definition at line 74 of file zbuffer.h.

const int TinyGL::DRAW_SHADOW_MASK = 3 [static]

Definition at line 73 of file zbuffer.h.

const int TinyGL::DRAW_SMOOTH = 2 [static]

Definition at line 72 of file zbuffer.h.

Definition at line 35 of file init.cpp.

const int TinyGL::NB_INTERP = 8 [static]

Definition at line 35 of file ztriangle.cpp.

void(* TinyGL::op_table_func[])(GLContext *, GLParam *) [static]
Initial value:
 {
#define ADD_OP(a, b, c) 


}

Definition at line 44 of file list.cpp.

int TinyGL::op_table_size[] [static]
Initial value:
 {
#define ADD_OP(a, b, c) 


}

Definition at line 50 of file list.cpp.

const char* TinyGL::op_table_str[] [static]
Initial value:
 {
#define ADD_OP(a, b, c) 


}

Definition at line 38 of file list.cpp.

Definition at line 210 of file clip.cpp.

Definition at line 210 of file clip.cpp.

Definition at line 214 of file clip.cpp.



Generated on Sat Dec 14 2019 05:03:00 for ResidualVM by doxygen 1.7.1
curved edge   curved edge