#include "dxGraphicsStateGuardian7.h"
#include "config_dxgsg7.h"
#include "displayRegion.h"
#include "renderBuffer.h"
#include "geom.h"
#include "geomSphere.h"
#include "geomIssuer.h"
#include "graphicsWindow.h"
#include "graphicsChannel.h"
#include "lens.h"
#include "perspectiveLens.h"
#include "ambientLight.h"
#include "directionalLight.h"
#include "pointLight.h"
#include "spotlight.h"
#include "textureAttrib.h"
#include "lightAttrib.h"
#include "cullFaceAttrib.h"
#include "transparencyAttrib.h"
#include "alphaTestAttrib.h"
#include "depthTestAttrib.h"
#include "depthWriteAttrib.h"
#include "colorWriteAttrib.h"
#include "texMatrixAttrib.h"
#include "materialAttrib.h"
#include "renderModeAttrib.h"
#include "fogAttrib.h"
#include "depthOffsetAttrib.h"
#include "fog.h"
#include <mmsystem.h>
Go to the source code of this file.
Compounds | |
struct | draw_sprite_vertex_less |
class | WrappedSprite |
class | WrappedSpriteSortPtr |
Defines | |
#define | DISABLE_POLYGON_OFFSET_DECALING |
#define | DONT_USE_DRAWPRIMSTRIDED |
#define | NO_MULTIPLE_DISPLAY_REGIONS |
#define | PER_NORMAL NormalOnly |
#define | PER_COLOR ColorOnly |
#define | PER_TEXCOORD TexCoordOnly |
#define | CountDPs(nv, nt) |
#define | MY_D3DRGBA(r, g, b, a) ((D3DCOLOR) D3DRGBA(r,g,b,a)) |
#define | REQUIRED_BLENDCAPS |
#define | REQUIRED_TEXFILTERCAPS (D3DPTFILTERCAPS_MAGFLINEAR | D3DPTFILTERCAPS_MINFLINEAR | D3DPTFILTERCAPS_LINEAR) |
#define | REQUIRED_MIPMAP_TEXFILTERCAPS (D3DPTFILTERCAPS_MIPFLINEAR | D3DPTFILTERCAPS_LINEARMIPLINEAR) |
#define | REQUIRED_TEXBLENDCAPS (D3DTEXOPCAPS_MODULATE | D3DTEXOPCAPS_SELECTARG1 | D3DTEXOPCAPS_SELECTARG2) |
Enumerations | |
enum | DrawLoopFlags { NothingSet = 0, NormalOnly, ColorOnly, Normal_Color, TexCoordOnly, Normal_TexCoord, Color_TexCoord, Normal_Color_TexCoord } |
enum | DP_Type { DrawPrim, DrawIndexedPrim, DrawPrimStrided } |
enum | GeomVertFormat { FlatVerts, IndexedVerts, MixedFmtVerts } |
Functions | |
INLINE DWORD | Colorf_to_D3DCOLOR (const Colorf &cColorf) |
HRESULT CALLBACK | EnumTexFmtsCallback (LPDDPIXELFORMAT pddpf, VOID *param) |
void INLINE | TestDrawPrimFailure (DP_Type dptype, HRESULT hr, LPDIRECTDRAW7 pDD, DWORD nVerts, DWORD nTris) |
Variables | |
const int | VERT_BUFFER_SIZE = (32*6*1024L) |
D3DMATRIX | matIdentity |
const char * | DP_Type_Strs [3] = {"DrawPrimitive","DrawIndexedPrimitive","DrawPrimitiveStrided"} |
|
Definition at line 119 of file dxGraphicsStateGuardian7.cxx. Referenced by TestDrawPrimFailure(). |
|
Definition at line 63 of file dxGraphicsStateGuardian7.cxx. |
|
Definition at line 70 of file dxGraphicsStateGuardian7.cxx. |
|
Definition at line 122 of file dxGraphicsStateGuardian7.cxx. Referenced by DXGraphicsStateGuardian8::apply_fog(), DXGraphicsStateGuardian8::draw_tri(), and DXGraphicsStateGuardian7::prepare_texture(). |
|
Definition at line 81 of file dxGraphicsStateGuardian7.cxx. |
|
|
|
Definition at line 93 of file dxGraphicsStateGuardian7.cxx. Referenced by DXGraphicsStateGuardian8::draw_multitri(), DXGraphicsStateGuardian7::draw_multitri(), DXGraphicsStateGuardian8::draw_tri(), and DXGraphicsStateGuardian7::draw_tri(). |
|
Value: (D3DPBLENDCAPS_ZERO|D3DPBLENDCAPS_ONE| \ D3DPBLENDCAPS_SRCALPHA|D3DPBLENDCAPS_INVSRCALPHA ) |
|
|
|
|
|
|
|
Definition at line 867 of file dxGraphicsStateGuardian7.cxx. |
|
Definition at line 87 of file dxGraphicsStateGuardian7.cxx. |
|
Definition at line 1017 of file dxGraphicsStateGuardian7.cxx. Referenced by DXGraphicsStateGuardian7::draw_point(). |
|
_X86_ _X86_ Definition at line 131 of file dxGraphicsStateGuardian7.cxx. References alpha, blue, ConvD3DErrorToString(), DXGraphicsStateGuardian7::set_color_clear_value(), and w. |
|
Definition at line 350 of file dxGraphicsStateGuardian7.cxx. References DXGraphicsStateGuardian7::_cNumTexPixFmts, DXGraphicsStateGuardian7::_pTexPixFmts, MAX_DX_TEXPIXFMTS, and param. Referenced by DXGraphicsStateGuardian7::dx_init(). |
|
Definition at line 870 of file dxGraphicsStateGuardian7.cxx. References ConvD3DErrorToString(), CountDPs, and DP_Type_Strs. |
|
Definition at line 868 of file dxGraphicsStateGuardian7.cxx. Referenced by TestDrawPrimFailure(). |
|
Definition at line 95 of file dxGraphicsStateGuardian7.cxx. Referenced by DXGraphicsStateGuardian7::draw_sprite(), and DXGraphicsStateGuardian7::DXGraphicsStateGuardian7(). |
|