Changeset 30885 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Display
- Timestamp:
- Jul 16, 2010 5:11:31 PM (14 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispD3D.cpp
r30865 r30885 1253 1253 {FALSE, D3DTSS_ALPHAARG0}, /* 27, D3DDDITSS_ALPHAARG0 */ 1254 1254 {FALSE, D3DTSS_RESULTARG}, /* 28, D3DDDITSS_RESULTARG */ 1255 { FALSE, D3DTSS_FORCE_DWORD}, /* 29, D3DDDITSS_SRGBTEXTURE */1256 { FALSE, D3DTSS_FORCE_DWORD},/* 30, D3DDDITSS_ELEMENTINDEX */1257 { FALSE, D3DTSS_FORCE_DWORD},/* 31, D3DDDITSS_DMAPOFFSET */1255 {TRUE, D3DSAMP_SRGBTEXTURE}, /* 29, D3DDDITSS_SRGBTEXTURE */ 1256 {TRUE, D3DSAMP_ELEMENTINDEX}, /* 30, D3DDDITSS_ELEMENTINDEX */ 1257 {TRUE, D3DSAMP_DMAPOFFSET}, /* 31, D3DDDITSS_DMAPOFFSET */ 1258 1258 {FALSE, D3DTSS_CONSTANT}, /* 32, D3DDDITSS_CONSTANT */ 1259 1259 {FALSE, D3DTSS_FORCE_DWORD}, /* 33, D3DDDITSS_DISABLETEXTURECOLORKEY */ 1260 1260 {FALSE, D3DTSS_FORCE_DWORD}, /* 34, D3DDDITSS_TEXTURECOLORKEYVAL */ 1261 1261 }; 1262 1263 Assert(enmType > 0); 1264 Assert(enmType < RT_ELEMENTS(lookup)); 1265 Assert(lookup[enmType].dType != D3DTSS_FORCE_DWORD); 1262 1266 1263 1267 return lookup[enmType]; … … 4470 4474 Assert(pRc); 4471 4475 Assert(pData->SubResourceIndex < pRc->cAllocations); 4472 Assert(pRc == pDevice->pRenderTargetRc);4473 4476 if (pRc == pDevice->pRenderTargetRc) 4474 4477 { -
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispD3DCmn.h
r30865 r30885 38 38 # define VBOXWDDMDISP_DEBUG 39 39 # define VBOXWDDMDISP_DEBUG_FLOW 40 //# define VBOXWDDMDISP_DEBUG_DUMPSURFDATA 40 41 #endif 41 42 … … 82 83 vboxVDbgDoMpPrintAlloc _m ; \ 83 84 } while (0) 85 #ifdef VBOXWDDMDISP_DEBUG_DUMPSURFDATA 84 86 #define vboxVDbgDumpSurfData(_m) \ 85 87 do { \ 86 88 vboxVDbgDoDumpSurfData _m ; \ 87 89 } while (0) 90 #else 91 #define vboxVDbgDumpSurfData(_m) do {} while (0) 92 #endif 88 93 #ifdef VBOXWDDMDISP_DEBUG_FLOW 89 94 # define vboxVDbgPrintF vboxVDbgPrint
Note:
See TracChangeset
for help on using the changeset viewer.