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

zbuffer.h File Reference

#include "graphics/pixelbuffer.h"
#include "graphics/tinygl/gl.h"
#include "common/rect.h"
Include dependency graph for zbuffer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TinyGL::Buffer
struct  TinyGL::ZBufferPoint
struct  TinyGL::FrameBuffer

Namespaces

namespace  TinyGL

Defines

#define ZB_Z_BITS   16
#define ZB_POINT_Z_FRAC_BITS   14
#define ZB_POINT_ST_FRAC_BITS   14
#define ZB_POINT_ST_FRAC_SHIFT   (ZB_POINT_ST_FRAC_BITS - 1)
#define ZB_POINT_ST_MAX   ( (c->_textureSize << ZB_POINT_ST_FRAC_BITS) - 1 )
#define ZB_POINT_RED_BITS   16
#define ZB_POINT_RED_FRAC_BITS   8
#define ZB_POINT_RED_FRAC_SHIFT   (ZB_POINT_RED_FRAC_BITS - 1)
#define ZB_POINT_RED_MAX   ( (1 << ZB_POINT_RED_BITS) - 1 )
#define ZB_POINT_GREEN_BITS   16
#define ZB_POINT_GREEN_FRAC_BITS   8
#define ZB_POINT_GREEN_FRAC_SHIFT   (ZB_POINT_GREEN_FRAC_BITS - 1)
#define ZB_POINT_GREEN_MAX   ( (1 << ZB_POINT_GREEN_BITS) - 1 )
#define ZB_POINT_BLUE_BITS   16
#define ZB_POINT_BLUE_FRAC_BITS   8
#define ZB_POINT_BLUE_FRAC_SHIFT   (ZB_POINT_BLUE_FRAC_BITS - 1)
#define ZB_POINT_BLUE_MAX   ( (1 << ZB_POINT_BLUE_BITS) - 1 )
#define ZB_POINT_ALPHA_BITS   16
#define ZB_POINT_ALPHA_FRAC_BITS   8
#define ZB_POINT_ALPHA_FRAC_SHIFT   (ZB_POINT_ALPHA_FRAC_BITS - 1)
#define ZB_POINT_ALPHA_MAX   ( (1 << ZB_POINT_ALPHA_BITS) - 1 )
#define RGB_TO_PIXEL(r, g, b)   cmode.ARGBToColor(255, r, g, b)

Functions

void TinyGL::gl_free (void *p)
void * TinyGL::gl_malloc (int size)
void * TinyGL::gl_zalloc (int size)

Variables

static const int TinyGL::DRAW_DEPTH_ONLY = 0
static const int TinyGL::DRAW_FLAT = 1
static const int TinyGL::DRAW_SMOOTH = 2
static const int TinyGL::DRAW_SHADOW_MASK = 3
static const int TinyGL::DRAW_SHADOW = 4

Define Documentation

#define RGB_TO_PIXEL (   r,
  g,
  b 
)    cmode.ARGBToColor(255, r, g, b)

Definition at line 68 of file zbuffer.h.

#define ZB_POINT_ALPHA_BITS   16

Definition at line 63 of file zbuffer.h.

#define ZB_POINT_ALPHA_FRAC_BITS   8

Definition at line 64 of file zbuffer.h.

#define ZB_POINT_ALPHA_FRAC_SHIFT   (ZB_POINT_ALPHA_FRAC_BITS - 1)

Definition at line 65 of file zbuffer.h.

#define ZB_POINT_ALPHA_MAX   ( (1 << ZB_POINT_ALPHA_BITS) - 1 )

Definition at line 66 of file zbuffer.h.

#define ZB_POINT_BLUE_BITS   16

Definition at line 58 of file zbuffer.h.

#define ZB_POINT_BLUE_FRAC_BITS   8

Definition at line 59 of file zbuffer.h.

#define ZB_POINT_BLUE_FRAC_SHIFT   (ZB_POINT_BLUE_FRAC_BITS - 1)

Definition at line 60 of file zbuffer.h.

#define ZB_POINT_BLUE_MAX   ( (1 << ZB_POINT_BLUE_BITS) - 1 )

Definition at line 61 of file zbuffer.h.

#define ZB_POINT_GREEN_BITS   16

Definition at line 53 of file zbuffer.h.

#define ZB_POINT_GREEN_FRAC_BITS   8

Definition at line 54 of file zbuffer.h.

#define ZB_POINT_GREEN_FRAC_SHIFT   (ZB_POINT_GREEN_FRAC_BITS - 1)

Definition at line 55 of file zbuffer.h.

#define ZB_POINT_GREEN_MAX   ( (1 << ZB_POINT_GREEN_BITS) - 1 )

Definition at line 56 of file zbuffer.h.

#define ZB_POINT_RED_BITS   16

Definition at line 48 of file zbuffer.h.

#define ZB_POINT_RED_FRAC_BITS   8

Definition at line 49 of file zbuffer.h.

#define ZB_POINT_RED_FRAC_SHIFT   (ZB_POINT_RED_FRAC_BITS - 1)

Definition at line 50 of file zbuffer.h.

#define ZB_POINT_RED_MAX   ( (1 << ZB_POINT_RED_BITS) - 1 )

Definition at line 51 of file zbuffer.h.

#define ZB_POINT_ST_FRAC_BITS   14

Definition at line 44 of file zbuffer.h.

#define ZB_POINT_ST_FRAC_SHIFT   (ZB_POINT_ST_FRAC_BITS - 1)

Definition at line 45 of file zbuffer.h.

#define ZB_POINT_ST_MAX   ( (c->_textureSize << ZB_POINT_ST_FRAC_BITS) - 1 )

Definition at line 46 of file zbuffer.h.

#define ZB_POINT_Z_FRAC_BITS   14

Definition at line 42 of file zbuffer.h.

#define ZB_Z_BITS   16

Definition at line 40 of file zbuffer.h.



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