#include <assert.h>#include <time.h>#include "dxTextureContext8.h"#include "config_dxgsg8.h"#include "dxGraphicsStateGuardian8.h"#include "d3dx8tex.h"Go to the source code of this file.
Defines | |
| #define | PANDA_BGRA_ORDER |
| #define | GET_RED_BYTE(PIXEL_DWORD) ((BYTE)((PIXEL_DWORD >> 16) & g_LowByteMask)) |
| #define | GET_BLUE_BYTE(PIXEL_DWORD) ((BYTE)((PIXEL_DWORD) & g_LowByteMask)) |
| #define | GET_GREEN_BYTE(PIXEL_DWORD) ((BYTE)((PIXEL_DWORD >> 8) & g_LowByteMask)) |
| #define | GET_ALPHA_BYTE(PIXEL_DWORD) ((BYTE)(((DWORD)PIXEL_DWORD) >> 24)) |
| #define | SWAPDWORDS(X, Y) { DWORD temp=X; X=Y; Y=temp; } |
| #define | CONVTYPE_STMT |
| #define | CHECK_FOR_FMT(FMT, CONV) |
| #define | TRILINEAR_MIPMAP_TEXFILTERCAPS (D3DPTFILTERCAPS_MIPFLINEAR | D3DPTFILTERCAPS_MINFLINEAR) |
Functions | |
| HRESULT | ConvertD3DSurftoPixBuf (RECT &SrcRect, IDirect3DSurface8 *pD3DSurf8, PixelBuffer *pixbuf) |
Variables | |
| const DWORD | g_LowByteMask = 0x000000FF |
| char * | PandaFilterNameStrs [] |
Definition in file dxTextureContext8.cxx.
|
|
Value: if(scrn.SupportedTexFmtsMask & FMT##_FLAG) { \ CONVTYPE_STMT; \ TargetPixFmt=D3DFMT_##FMT; \ goto found_matching_format; } |
|
|
|
|
|
Definition at line 47 of file dxTextureContext8.cxx. |
|
|
Definition at line 39 of file dxTextureContext8.cxx. |
|
|
Definition at line 46 of file dxTextureContext8.cxx. |
|
|
Definition at line 38 of file dxTextureContext8.cxx. |
|
|
Definition at line 33 of file dxTextureContext8.cxx. |
|
|
Definition at line 75 of file dxTextureContext8.cxx. |
|
|
|
|
||||||||||||||||
|
Definition at line 724 of file dxTextureContext8.cxx. |
|
|
Definition at line 31 of file dxTextureContext8.cxx. |
|
|
Initial value: {"FT_nearest","FT_linear","FT_nearest_mipmap_nearest","FT_linear_mipmap_nearest",
"FT_nearest_mipmap_linear", "FT_linear_mipmap_linear"
}
Definition at line 68 of file dxTextureContext8.cxx. |
1.3