#include "dxGraphicsStateGuardian8.h"
#include "config_dxgsg8.h"
#include <d3dx8.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 |
struct | POS_COLOR_TEX_VERTEX |
struct | POS_NORM_COLOR_TEX_VERTEX |
struct | POS_TEX_VERTEX |
class | WrappedSprite |
class | WrappedSpriteSortPtr |
Defines | |
#define | DISABLE_POLYGON_OFFSET_DECALING |
#define | NO_MULTIPLE_DISPLAY_REGIONS |
#define | PER_NORMAL NormalOnly |
#define | PER_COLOR ColorOnly |
#define | PER_TEXCOORD TexCoordOnly |
#define | VSHADER_XFORMMATRIX_CONSTANTREGNUMSTART 4 |
#define | __D3DLIGHT_RANGE_MAX ((float)sqrt(FLT_MAX)) |
#define | CountDPs(nv, nt) |
#define | MY_D3DRGBA(r, g, b, a) ((D3DCOLOR) D3DCOLOR_COLORVALUE(r,g,b,a)) |
#define | REQUIRED_DESTBLENDCAPS (D3DPBLENDCAPS_ZERO|D3DPBLENDCAPS_ONE| D3DPBLENDCAPS_SRCALPHA) |
#define | REQUIRED_SRCBLENDCAPS (D3DPBLENDCAPS_ZERO|D3DPBLENDCAPS_ONE| D3DPBLENDCAPS_INVSRCALPHA) |
#define | REQUIRED_TEXFILTERCAPS (D3DPTFILTERCAPS_MAGFLINEAR | D3DPTFILTERCAPS_MIPFPOINT | D3DPTFILTERCAPS_MINFLINEAR) |
#define | TRILINEAR_MIPMAP_TEXFILTERCAPS (D3DPTFILTERCAPS_MIPFLINEAR | D3DPTFILTERCAPS_MINFLINEAR) |
#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 } |
enum | GeomVertFormat { FlatVerts, IndexedVerts, MixedFmtVerts } |
Functions | |
INLINE DWORD | Colorf_to_D3DCOLOR (const Colorf &cColorf) |
void INLINE | TestDrawPrimFailure (DP_Type dptype, HRESULT hr, IDirect3DDevice8 *pD3DDevice, DWORD nVerts, DWORD nTris) |
PT (SavedFrameBuffer) DXGraphicsStateGuardian8 | |
bool | refill_tex_callback (TextureContext *tc, void *void_dxgsg_ptr) |
bool | delete_tex_callback (TextureContext *tc, void *void_dxgsg_ptr) |
bool | recreate_tex_callback (TextureContext *tc, void *void_dxgsg_ptr) |
HRESULT | SetViewMatrix (D3DMATRIX &mat, D3DXVECTOR3 &vFrom, D3DXVECTOR3 &vAt, D3DXVECTOR3 &vWorldUp) |
HRESULT | CreateDX8Cursor (LPDIRECT3DDEVICE8 pd3dDevice, HCURSOR hCursor, BOOL bAddWatermark) |
Variables | |
const int | VERT_BUFFER_SIZE = (32*6*1024L) |
D3DMATRIX | matIdentity |
const char * | DP_Type_Strs [3] = {"DrawPrimitive","DrawIndexedPrimitive"} |
POS_TEX_VERTEX | junk11 |
POS_COLOR_TEX_VERTEX | junk22 |
POS_NORM_COLOR_TEX_VERTEX | junk33 |
|
Definition at line 97 of file dxGraphicsStateGuardian8.cxx. Referenced by DXGraphicsStateGuardian8::bind_light(). |
|
Definition at line 120 of file dxGraphicsStateGuardian8.cxx. |
|
Definition at line 65 of file dxGraphicsStateGuardian8.cxx. |
|
Definition at line 123 of file dxGraphicsStateGuardian8.cxx. |
|
Definition at line 78 of file dxGraphicsStateGuardian8.cxx. |
|
Definition at line 89 of file dxGraphicsStateGuardian8.cxx. |
|
Definition at line 88 of file dxGraphicsStateGuardian8.cxx. |
|
Definition at line 90 of file dxGraphicsStateGuardian8.cxx. |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 93 of file dxGraphicsStateGuardian8.cxx. Referenced by DXGraphicsStateGuardian8::issue_transform(). |
|
Definition at line 1090 of file dxGraphicsStateGuardian8.cxx. |
|
Definition at line 84 of file dxGraphicsStateGuardian8.cxx. Referenced by DXGraphicsStateGuardian8::draw_prim_inner_loop(), and DXGraphicsStateGuardian7::draw_prim_inner_loop(). |
|
Definition at line 1260 of file dxGraphicsStateGuardian8.cxx. |
|
|
Definition at line 4926 of file dxGraphicsStateGuardian8.cxx. References HDC(), NULL, RELEASE, RELEASE_ONCE, SAFE_DELETE_ARRAY, x, and y. Referenced by wdxGraphicsWindow8::init_resized_window(). |
|
Definition at line 4562 of file dxGraphicsStateGuardian8.cxx. References DCAST, DXTextureContext8::DeleteTexture(), and tc. Referenced by DXGraphicsStateGuardian8::DeleteAllDeviceObjects(), and DXGraphicsStateGuardian7::prepare_texture(). |
|
Definition at line 4437 of file dxGraphicsStateGuardian8.cxx. References buffer, PixelBuffer::depth_buffer(), DisplayRegion::get_pixel_height(), DisplayRegion::get_pixel_width(), NULL, RenderBuffer::T_back, and RenderBuffer::T_depth. |
|
Definition at line 4570 of file dxGraphicsStateGuardian8.cxx. References DXGraphicsStateGuardian8::_pScrn, DXTextureContext8::CreateTexture(), DCAST, NULL, and tc. Referenced by DXGraphicsStateGuardian7::prepare_texture(), and DXGraphicsStateGuardian8::RecreateAllDeviceObjects(). |
|
Definition at line 4552 of file dxGraphicsStateGuardian8.cxx. References DCAST, DXTextureContext8::FillDDSurfTexturePixels(), and tc. Referenced by DXGraphicsStateGuardian7::prepare_texture(). |
|
Definition at line 4830 of file dxGraphicsStateGuardian8.cxx. Referenced by DXGraphicsStateGuardian7::prepare_texture(). |
|
|
Definition at line 1091 of file dxGraphicsStateGuardian8.cxx. Referenced by TestDrawPrimFailure(). |
|
Definition at line 5099 of file dxGraphicsStateGuardian8.cxx. |
|
Definition at line 5100 of file dxGraphicsStateGuardian8.cxx. |
|
Definition at line 5101 of file dxGraphicsStateGuardian8.cxx. |
|
Definition at line 95 of file dxGraphicsStateGuardian8.cxx. Referenced by DXGraphicsStateGuardian8::draw_sprite(), and DXGraphicsStateGuardian8::DXGraphicsStateGuardian8(). |
|
Definition at line 74 of file dxGraphicsStateGuardian8.cxx. |