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

ztriangle.cpp File Reference

#include "common/endian.h"
#include "graphics/tinygl/zbuffer.h"
#include "graphics/tinygl/zgl.h"
Include dependency graph for ztriangle.cpp:

Go to the source code of this file.

Namespaces

namespace  TinyGL

Functions

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)
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)
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)
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)
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)

Variables

static const int TinyGL::NB_INTERP = 8


Generated on Sat Mar 16 2019 05:04:22 for ResidualVM by doxygen 1.7.1
curved edge   curved edge