1 /* All testcase are base how windows 2000 sp4 acting */
12 /* this flag are only set for dx5 and lower but we need check see if we getting it back from win32k or not */
13 #define D3DLIGHTCAPS_GLSPOT 0x00000010
15 /* this flag are only set for dx6 and lower but we need check see if we getting it back from win32k or not */
16 #define D3DLIGHTCAPS_PARALLELPOINT 0x00000008
18 #define checkflag(dwflag,dwvalue,text) \
19 if (dwflag & dwvalue) \
25 dwflag = (ULONG)dwflag - (ULONG)dwvalue; \
30 #define endcheckflag(dwflag,text) \
32 printf("0x%08lx\n", (ULONG) dwflag);\
36 printf("undoc value in %s flags value %08lx\n",text, (ULONG) dwflag);
41 dump_CallBackFlags(DWORD
*pCallBackFlags
, char *text
)
46 printf("dumping the CallBackFlags from %s\n",text
);
47 printf("pCallBackFlags[0] : ");
49 flag
=pCallBackFlags
[0];
51 checkflag(flag
,DDHAL_CB32_CANCREATESURFACE
,"DDHAL_CB32_CANCREATESURFACE");
52 checkflag(flag
,DDHAL_CB32_CREATEPALETTE
,"DDHAL_CB32_CREATEPALETTE");
53 checkflag(flag
,DDHAL_CB32_CREATESURFACE
,"DDHAL_CB32_CREATESURFACE");
54 checkflag(flag
,DDHAL_CB32_GETSCANLINE
,"DDHAL_CB32_GETSCANLINE");
55 checkflag(flag
,DDHAL_CB32_MAPMEMORY
,"DDHAL_CB32_MAPMEMORY");
56 checkflag(flag
,DDHAL_CB32_SETCOLORKEY
,"DDHAL_CB32_SETCOLORKEY");
57 checkflag(flag
,DDHAL_CB32_SETMODE
,"DDHAL_CB32_SETMODE");
58 checkflag(flag
,DDHAL_CB32_WAITFORVERTICALBLANK
,"DDHAL_CB32_WAITFORVERTICALBLANK");
59 endcheckflag(flag
,"pCallBackFlags[0]");
61 /* SURFACE callback */
62 printf("pCallBackFlags[1] : ");
63 flag
= pCallBackFlags
[1];
65 checkflag(flag
,DDHAL_SURFCB32_ADDATTACHEDSURFACE
,"DDHAL_SURFCB32_ADDATTACHEDSURFACE");
66 checkflag(flag
,DDHAL_SURFCB32_BLT
,"DDHAL_SURFCB32_BLT");
67 checkflag(flag
,DDHAL_SURFCB32_DESTROYSURFACE
,"DDHAL_SURFCB32_DESTROYSURFACE");
68 checkflag(flag
,DDHAL_SURFCB32_FLIP
,"DDHAL_SURFCB32_FLIP");
69 checkflag(flag
,DDHAL_SURFCB32_GETBLTSTATUS
,"DDHAL_SURFCB32_GETBLTSTATUS");
70 checkflag(flag
,DDHAL_SURFCB32_GETFLIPSTATUS
,"DDHAL_SURFCB32_GETFLIPSTATUS");
71 checkflag(flag
,DDHAL_SURFCB32_LOCK
,"DDHAL_SURFCB32_LOCK");
72 checkflag(flag
,DDHAL_SURFCB32_RESERVED4
,"DDHAL_SURFCB32_RESERVED4");
73 checkflag(flag
,DDHAL_SURFCB32_SETCLIPLIST
,"DDHAL_SURFCB32_SETCLIPLIST");
74 checkflag(flag
,DDHAL_SURFCB32_SETCOLORKEY
,"DDHAL_SURFCB32_SETCOLORKEY");
75 checkflag(flag
,DDHAL_SURFCB32_SETOVERLAYPOSITION
,"DDHAL_SURFCB32_SETOVERLAYPOSITION");
76 checkflag(flag
,DDHAL_SURFCB32_SETPALETTE
,"DDHAL_SURFCB32_SETPALETTE");
77 checkflag(flag
,DDHAL_SURFCB32_UNLOCK
,"DDHAL_SURFCB32_UNLOCK");
78 checkflag(flag
,DDHAL_SURFCB32_UPDATEOVERLAY
,"DDHAL_SURFCB32_UPDATEOVERLAY");
79 endcheckflag(flag
,"pCallBackFlags[1]");
83 printf("pCallBackFlags[2] : ");
84 flag
= pCallBackFlags
[2];
86 checkflag(flag
,DDHAL_PALCB32_DESTROYPALETTE
,"DDHAL_PALCB32_DESTROYPALETTE");
87 checkflag(flag
,DDHAL_PALCB32_SETENTRIES
,"DDHAL_PALCB32_SETENTRIES");
88 endcheckflag(flag
,"pCallBackFlags[2]");
92 dump_halinfo(DD_HALINFO
*pHalInfo
, char *text
)
94 printf("dumping the DD_HALINFO from %s\n",text
);
96 if (pHalInfo
->dwSize
== sizeof(DD_HALINFO_V4
))
98 DD_HALINFO_V4
*pHalInfo4
= (DD_HALINFO_V4
*) pHalInfo
;
101 printf("DD_HALINFO Version NT4 found \n");
102 printf(" pHalInfo4->dwSize : 0x%08lx\n",(long)pHalInfo4
->dwSize
);
103 printf(" pHalInfo4->vmiData->fpPrimary : 0x%08lx\n",(long)pHalInfo4
->vmiData
.fpPrimary
);
104 printf(" pHalInfo4->vmiData->dwFlags : 0x%08lx\n",(long)pHalInfo4
->vmiData
.dwFlags
);
105 printf(" pHalInfo4->vmiData->dwDisplayWidth : 0x%08lx\n",(long)pHalInfo4
->vmiData
.dwDisplayWidth
);
106 printf(" pHalInfo4->vmiData->dwDisplayHeight : 0x%08lx\n",(long)pHalInfo4
->vmiData
.dwDisplayHeight
);
107 printf(" pHalInfo4->vmiData->lDisplayPitch : 0x%08lx\n",(long)pHalInfo4
->vmiData
.lDisplayPitch
);
109 printf(" pHalInfo4->vmiData->ddpfDisplay.dwSize : 0x%08lx\n",(long)pHalInfo4
->vmiData
.ddpfDisplay
.dwSize
);
110 printf(" pHalInfo4->vmiData->ddpfDisplay.dwFlags : 0x%08lx\n",(long)pHalInfo4
->vmiData
.ddpfDisplay
.dwFlags
);
111 printf(" pHalInfo4->vmiData->ddpfDisplay.dwFourCC : 0x%08lx\n",(long)pHalInfo4
->vmiData
.ddpfDisplay
.dwFourCC
);
112 printf(" pHalInfo4->vmiData->ddpfDisplay.dwRGBBitCount : 0x%08lx\n",(long)pHalInfo4
->vmiData
.ddpfDisplay
.dwRGBBitCount
);
113 printf(" pHalInfo4->vmiData->ddpfDisplay.dwRBitMask : 0x%08lx\n",(long)pHalInfo4
->vmiData
.ddpfDisplay
.dwRBitMask
);
114 printf(" pHalInfo4->vmiData->ddpfDisplay.dwGBitMask : 0x%08lx\n",(long)pHalInfo4
->vmiData
.ddpfDisplay
.dwGBitMask
);
115 printf(" pHalInfo4->vmiData->ddpfDisplay.dwBBitMask : 0x%08lx\n",(long)pHalInfo4
->vmiData
.ddpfDisplay
.dwBBitMask
);
116 printf(" pHalInfo4->vmiData->ddpfDisplay.dwRGBAlphaBitMask : 0x%08lx\n",(long)pHalInfo4
->vmiData
.ddpfDisplay
.dwRGBAlphaBitMask
);
118 printf(" pHalInfo4->vmiData->dwOffscreenAlign : 0x%08lx\n",(long)pHalInfo4
->vmiData
.dwOffscreenAlign
);
119 printf(" pHalInfo4->vmiData->dwOverlayAlign : 0x%08lx\n",(long)pHalInfo4
->vmiData
.dwOverlayAlign
);
120 printf(" pHalInfo4->vmiData->dwTextureAlign : 0x%08lx\n",(long)pHalInfo4
->vmiData
.dwTextureAlign
);
121 printf(" pHalInfo4->vmiData->dwZBufferAlign : 0x%08lx\n",(long)pHalInfo4
->vmiData
.dwZBufferAlign
);
122 printf(" pHalInfo4->vmiData->dwAlphaAlign : 0x%08lx\n",(long)pHalInfo4
->vmiData
.dwAlphaAlign
);
123 printf(" pHalInfo4->vmiData->pvPrimary : 0x%08lx\n",(long)pHalInfo4
->vmiData
.pvPrimary
);
125 printf(" pHalInfo4->ddCaps.dwSize : 0x%08lx\n",pHalInfo4
->ddCaps
.dwSize
);
126 printf(" pHalInfo4->ddCaps.dwCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwCaps
);
127 printf(" pHalInfo4->ddCaps.dwCaps2 : 0x%08lx\n",pHalInfo4
->ddCaps
.dwCaps2
);
128 printf(" pHalInfo4->ddCaps.dwCKeyCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwCKeyCaps
);
129 printf(" pHalInfo4->ddCaps.dwFXCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwFXCaps
);
130 printf(" pHalInfo4->ddCaps.dwFXAlphaCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwFXAlphaCaps
);
131 printf(" pHalInfo4->ddCaps.dwPalCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwPalCaps
);
132 printf(" pHalInfo4->ddCaps.dwSVCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwSVCaps
);
133 printf(" pHalInfo4->ddCaps.dwAlphaBltConstBitDepths : 0x%08lx\n",pHalInfo4
->ddCaps
.dwAlphaBltConstBitDepths
);
134 printf(" pHalInfo4->ddCaps.dwAlphaBltPixelBitDepths : 0x%08lx\n",pHalInfo4
->ddCaps
.dwAlphaBltPixelBitDepths
);
135 printf(" pHalInfo4->ddCaps.dwAlphaBltSurfaceBitDepths : 0x%08lx\n",pHalInfo4
->ddCaps
.dwAlphaBltSurfaceBitDepths
);
136 printf(" pHalInfo4->ddCaps.dwAlphaOverlayConstBitDepths : 0x%08lx\n",pHalInfo4
->ddCaps
.dwAlphaOverlayConstBitDepths
);
137 printf(" pHalInfo4->ddCaps.dwAlphaOverlayPixelBitDepths : 0x%08lx\n",pHalInfo4
->ddCaps
.dwAlphaOverlayPixelBitDepths
);
138 printf(" pHalInfo4->ddCaps.dwAlphaOverlaySurfaceBitDepths : 0x%08lx\n",pHalInfo4
->ddCaps
.dwAlphaOverlaySurfaceBitDepths
);
139 printf(" pHalInfo4->ddCaps.dwZBufferBitDepths : 0x%08lx\n",pHalInfo4
->ddCaps
.dwZBufferBitDepths
);
140 printf(" pHalInfo4->ddCaps.dwVidMemTotal : 0x%08lx\n",pHalInfo4
->ddCaps
.dwVidMemTotal
);
141 printf(" pHalInfo4->ddCaps.dwVidMemFree : 0x%08lx\n",pHalInfo4
->ddCaps
.dwVidMemFree
);
142 printf(" pHalInfo4->ddCaps.dwMaxVisibleOverlays : 0x%08lx\n",pHalInfo4
->ddCaps
.dwMaxVisibleOverlays
);
143 printf(" pHalInfo4->ddCaps.dwCurrVisibleOverlays : 0x%08lx\n",pHalInfo4
->ddCaps
.dwCurrVisibleOverlays
);
144 printf(" pHalInfo4->ddCaps.dwNumFourCCCodes : 0x%08lx\n",pHalInfo4
->ddCaps
.dwNumFourCCCodes
);
145 printf(" pHalInfo4->ddCaps.dwAlignBoundarySrc : 0x%08lx\n",pHalInfo4
->ddCaps
.dwAlignBoundarySrc
);
146 printf(" pHalInfo4->ddCaps.dwAlignSizeSrc : 0x%08lx\n",pHalInfo4
->ddCaps
.dwAlignSizeSrc
);
147 printf(" pHalInfo4->ddCaps.dwAlignBoundaryDes : 0x%08lx\n",pHalInfo4
->ddCaps
.dwAlignBoundaryDest
);
148 printf(" pHalInfo4->ddCaps.dwAlignSizeDest : 0x%08lx\n",pHalInfo4
->ddCaps
.dwAlignSizeDest
);
149 printf(" pHalInfo4->ddCaps.dwAlignStrideAlign : 0x%08lx\n",pHalInfo4
->ddCaps
.dwAlignStrideAlign
);
150 for (t
=0;t
<DD_ROP_SPACE
;t
++)
152 printf(" pHalInfo4->ddCaps.dwRops[0x%04x] : 0x%08lx\n",t
,pHalInfo4
->ddCaps
.dwRops
[t
]);
154 printf(" pHalInfo4->ddCaps.ddsCaps.dwCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.ddsCaps
.dwCaps
);
155 printf(" pHalInfo4->ddCaps.dwMinOverlayStretch : 0x%08lx\n",pHalInfo4
->ddCaps
.dwMinOverlayStretch
);
156 printf(" pHalInfo4->ddCaps.dwMaxOverlayStretch : 0x%08lx\n",pHalInfo4
->ddCaps
.dwMaxOverlayStretch
);
157 printf(" pHalInfo4->ddCaps.dwMinLiveVideoStretch : 0x%08lx\n",pHalInfo4
->ddCaps
.dwMinLiveVideoStretch
);
158 printf(" pHalInfo4->ddCaps.dwMaxLiveVideoStretch : 0x%08lx\n",pHalInfo4
->ddCaps
.dwMaxLiveVideoStretch
);
159 printf(" pHalInfo4->ddCaps.dwMinHwCodecStretch : 0x%08lx\n",pHalInfo4
->ddCaps
.dwMinHwCodecStretch
);
160 printf(" pHalInfo4->ddCaps.dwMaxHwCodecStretch : 0x%08lx\n",pHalInfo4
->ddCaps
.dwMaxHwCodecStretch
);
161 printf(" pHalInfo4->ddCaps.dwReserved1 : 0x%08lx\n",pHalInfo4
->ddCaps
.dwReserved1
);
162 printf(" pHalInfo4->ddCaps.dwReserved2 : 0x%08lx\n",pHalInfo4
->ddCaps
.dwReserved2
);
163 printf(" pHalInfo4->ddCaps.dwReserved3 : 0x%08lx\n",pHalInfo4
->ddCaps
.dwReserved3
);
164 printf(" pHalInfo4->ddCaps.dwSVBCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwSVBCaps
);
165 printf(" pHalInfo4->ddCaps.dwSVBCKeyCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwSVBCKeyCaps
);
166 printf(" pHalInfo4->ddCaps.dwSVBFXCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwSVBFXCaps
);
167 for (t
=0;t
<DD_ROP_SPACE
;t
++)
169 printf(" pHalInfo4->ddCaps.dwSVBRops[0x%04x] : 0x%08lx\n",t
,pHalInfo4
->ddCaps
.dwSVBRops
[t
]);
171 printf(" pHalInfo4->ddCaps.dwVSBCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwVSBCaps
);
172 printf(" pHalInfo4->ddCaps.dwVSBCKeyCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwVSBCKeyCaps
);
173 printf(" pHalInfo4->ddCaps.dwVSBFXCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwVSBFXCaps
);
174 for (t
=0;t
<DD_ROP_SPACE
;t
++)
176 printf(" pHalInfo4->ddCaps.dwVSBRops[0x%04x] : 0x%08lx\n",t
,pHalInfo4
->ddCaps
.dwVSBRops
[t
]);
178 printf(" pHalInfo4->ddCaps.dwSSBCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwSSBCaps
);
179 printf(" pHalInfo4->ddCaps.dwSSBCKeyCa : 0x%08lx\n",pHalInfo4
->ddCaps
.dwSSBCKeyCaps
);
180 printf(" pHalInfo4->ddCaps.dwSSBFXCaps : 0x%08lx\n",pHalInfo4
->ddCaps
.dwSSBFXCaps
);
181 for (t
=0;t
<DD_ROP_SPACE
;t
++)
183 printf(" pHalInfo4->ddCaps.dwSSBRops[0x%04x] : 0x%08lx\n",t
,pHalInfo4
->ddCaps
.dwSSBRops
[t
]);
186 printf(" pHalInfo4->ddCaps.dwMaxVideoPorts : 0x%08lx\n",pHalInfo4
->ddCaps
.dwMaxVideoPorts
);
187 printf(" pHalInfo4->ddCaps.dwCurrVideoPorts : 0x%08lx\n",pHalInfo4
->ddCaps
.dwCurrVideoPorts
);
188 printf(" pHalInfo4->ddCaps.dwSVBCaps2 : 0x%08lx\n",pHalInfo4
->ddCaps
.dwSVBCaps2
);
191 printf(" pHalInfo4->GetDriverInfo : 0x%08lx\n",(long)pHalInfo4
->GetDriverInfo
);
192 printf(" pHalInfo4->dwFlags : 0x%08lx\n",(long)pHalInfo4
->dwFlags
);
195 else if (pHalInfo
->dwSize
== sizeof(DD_HALINFO
))
201 printf("DD_HALINFO Version NT 2000/XP/2003 found \n");
202 printf(" pHalInfo->dwSize : 0x%08lx\n",(long)pHalInfo
->dwSize
);
204 printf(" pHalInfo->vmiData->fpPrimary : 0x%08lx\n",(long)pHalInfo
->vmiData
.fpPrimary
);
205 printf(" pHalInfo->vmiData->dwFlags : 0x%08lx\n",(long)pHalInfo
->vmiData
.dwFlags
);
206 printf(" pHalInfo->vmiData->dwDisplayWidth : 0x%08lx\n",(long)pHalInfo
->vmiData
.dwDisplayWidth
);
207 printf(" pHalInfo->vmiData->dwDisplayHeight : 0x%08lx\n",(long)pHalInfo
->vmiData
.dwDisplayHeight
);
208 printf(" pHalInfo->vmiData->lDisplayPitch : 0x%08lx\n",(long)pHalInfo
->vmiData
.lDisplayPitch
);
210 printf(" pHalInfo->vmiData->ddpfDisplay.dwSize : 0x%08lx\n",(long)pHalInfo
->vmiData
.ddpfDisplay
.dwSize
);
211 printf(" pHalInfo->vmiData->ddpfDisplay.dwFlags : 0x%08lx\n",(long)pHalInfo
->vmiData
.ddpfDisplay
.dwFlags
);
212 printf(" pHalInfo->vmiData->ddpfDisplay.dwFourCC : 0x%08lx\n",(long)pHalInfo
->vmiData
.ddpfDisplay
.dwFourCC
);
213 printf(" pHalInfo->vmiData->ddpfDisplay.dwRGBBitCount : 0x%08lx\n",(long)pHalInfo
->vmiData
.ddpfDisplay
.dwRGBBitCount
);
214 printf(" pHalInfo->vmiData->ddpfDisplay.dwRBitMask : 0x%08lx\n",(long)pHalInfo
->vmiData
.ddpfDisplay
.dwRBitMask
);
215 printf(" pHalInfo->vmiData->ddpfDisplay.dwGBitMask : 0x%08lx\n",(long)pHalInfo
->vmiData
.ddpfDisplay
.dwGBitMask
);
216 printf(" pHalInfo->vmiData->ddpfDisplay.dwBBitMask : 0x%08lx\n",(long)pHalInfo
->vmiData
.ddpfDisplay
.dwBBitMask
);
217 printf(" pHalInfo->vmiData->ddpfDisplay.dwRGBAlphaBitMask : 0x%08lx\n",(long)pHalInfo
->vmiData
.ddpfDisplay
.dwRGBAlphaBitMask
);
220 printf(" pHalInfo->vmiData->dwOffscreenAlign : 0x%08lx\n",(long)pHalInfo
->vmiData
.dwOffscreenAlign
);
221 printf(" pHalInfo->vmiData->dwOverlayAlign : 0x%08lx\n",(long)pHalInfo
->vmiData
.dwOverlayAlign
);
222 printf(" pHalInfo->vmiData->dwTextureAlign : 0x%08lx\n",(long)pHalInfo
->vmiData
.dwTextureAlign
);
223 printf(" pHalInfo->vmiData->dwZBufferAlign : 0x%08lx\n",(long)pHalInfo
->vmiData
.dwZBufferAlign
);
224 printf(" pHalInfo->vmiData->dwAlphaAlign : 0x%08lx\n",(long)pHalInfo
->vmiData
.dwAlphaAlign
);
225 printf(" pHalInfo->vmiData->pvPrimary : 0x%08lx\n",(long)pHalInfo
->vmiData
.pvPrimary
);
227 printf(" pHalInfo->ddCaps.dwSize : 0x%08lx\n",pHalInfo
->ddCaps
.dwSize
);
228 printf(" pHalInfo->ddCaps.dwCaps : ");
229 flag
= pHalInfo
->ddCaps
.dwCaps
;
231 checkflag(flag
,DDCAPS_3D
,"DDCAPS_3D");
232 checkflag(flag
,DDCAPS_ALIGNBOUNDARYDEST
,"DDCAPS_ALIGNBOUNDARYDEST");
233 checkflag(flag
,DDCAPS_ALIGNBOUNDARYSRC
,"DDCAPS_ALIGNBOUNDARYSRC");
234 checkflag(flag
,DDCAPS_ALIGNSIZEDEST
,"DDCAPS_ALIGNSIZEDEST");
235 checkflag(flag
,DDCAPS_ALIGNSIZESRC
,"DDCAPS_ALIGNSIZESRC");
236 checkflag(flag
,DDCAPS_ALIGNSTRIDE
,"DDCAPS_ALIGNSTRIDE");
237 checkflag(flag
,DDCAPS_ALPHA
,"DDCAPS_ALPHA");
238 checkflag(flag
,DDCAPS_BANKSWITCHED
,"DDCAPS_BANKSWITCHED");
239 checkflag(flag
,DDCAPS_BLT
,"DDCAPS_BLT");
240 checkflag(flag
,DDCAPS_BLTCOLORFILL
,"DDCAPS_BLTCOLORFILL");
241 checkflag(flag
,DDCAPS_BLTDEPTHFILL
,"DDCAPS_BLTDEPTHFILL");
242 checkflag(flag
,DDCAPS_BLTFOURCC
,"DDCAPS_BLTFOURCC");
243 checkflag(flag
,DDCAPS_BLTQUEUE
,"DDCAPS_BLTQUEUE");
244 checkflag(flag
,DDCAPS_BLTSTRETCH
,"DDCAPS_BLTSTRETCH");
245 checkflag(flag
,DDCAPS_CANBLTSYSMEM
,"DDCAPS_CANBLTSYSMEM");
246 checkflag(flag
,DDCAPS_CANCLIP
,"DDCAPS_CANCLIP");
247 checkflag(flag
,DDCAPS_CANCLIPSTRETCHED
,"DDCAPS_CANCLIPSTRETCHED");
248 checkflag(flag
,DDCAPS_COLORKEY
,"DDCAPS_COLORKEY");
249 checkflag(flag
,DDCAPS_COLORKEYHWASSIST
,"DDCAPS_COLORKEYHWASSIST");
250 checkflag(flag
,DDCAPS_GDI
,"DDCAPS_GDI");
251 checkflag(flag
,DDCAPS_NOHARDWARE
,"DDCAPS_NOHARDWARE");
252 checkflag(flag
,DDCAPS_OVERLAY
,"DDCAPS_OVERLAY");
253 checkflag(flag
,DDCAPS_OVERLAYCANTCLIP
,"DDCAPS_OVERLAYCANTCLIP");
254 checkflag(flag
,DDCAPS_OVERLAYFOURCC
,"DDCAPS_OVERLAYFOURCC");
255 checkflag(flag
,DDCAPS_OVERLAYSTRETCH
,"DDCAPS_OVERLAYSTRETCH");
256 checkflag(flag
,DDCAPS_PALETTE
,"DDCAPS_PALETTE");
257 checkflag(flag
,DDCAPS_PALETTEVSYNC
,"DDCAPS_PALETTEVSYNC");
258 checkflag(flag
,DDCAPS_READSCANLINE
,"DDCAPS_READSCANLINE");
259 checkflag(flag
,DDCAPS_STEREOVIEW
,"DDCAPS_STEREOVIEW");
260 checkflag(flag
,DDCAPS_VBI
,"DDCAPS_VBI");
261 checkflag(flag
,DDCAPS_ZBLTS
,"DDCAPS_ZBLTS");
262 checkflag(flag
,DDCAPS_ZOVERLAYS
,"DDCAPS_ZOVERLAYS");
263 endcheckflag(flag
,"pHalInfo->ddCaps.dwCaps");
265 printf(" pHalInfo->ddCaps.dwCaps2 : ");
266 flag
= pHalInfo
->ddCaps
.dwCaps2
;
268 checkflag(flag
,DDCAPS2_AUTOFLIPOVERLAY
,"DDCAPS2_AUTOFLIPOVERLAY");
269 checkflag(flag
,DDCAPS2_CANAUTOGENMIPMAP
,"DDCAPS2_CANAUTOGENMIPMAP");
270 checkflag(flag
,DDCAPS2_CANBOBHARDWARE
,"DDCAPS2_CANBOBHARDWARE");
271 checkflag(flag
,DDCAPS2_CANBOBINTERLEAVED
,"DDCAPS2_CANBOBINTERLEAVED");
272 checkflag(flag
,DDCAPS2_CANBOBNONINTERLEAVED
,"DDCAPS2_CANBOBNONINTERLEAVED");
273 checkflag(flag
,DDCAPS2_CANCALIBRATEGAMMA
,"DDCAPS2_CANCALIBRATEGAMMA");
274 checkflag(flag
,DDCAPS2_CANDROPZ16BIT
,"DDCAPS2_CANDROPZ16BIT");
275 checkflag(flag
,DDCAPS2_CANFLIPODDEVEN
,"DDCAPS2_CANFLIPODDEVEN");
276 checkflag(flag
,DDCAPS2_CANMANAGERESOURCE
,"DDCAPS2_CANMANAGERESOURCE");
277 checkflag(flag
,DDCAPS2_CANMANAGETEXTURE
,"DDCAPS2_CANMANAGETEXTURE");
279 checkflag(flag
,DDCAPS2_CANRENDERWINDOWED
,"DDCAPS2_CANRENDERWINDOWED");
280 checkflag(flag
,DDCAPS2_CERTIFIED
,"DDCAPS2_CERTIFIED");
281 checkflag(flag
,DDCAPS2_COLORCONTROLOVERLAY
,"DDCAPS2_COLORCONTROLOVERLAY");
282 checkflag(flag
,DDCAPS2_COLORCONTROLPRIMARY
,"DDCAPS2_COLORCONTROLPRIMARY");
283 checkflag(flag
,DDCAPS2_COPYFOURCC
,"DDCAPS2_COPYFOURCC");
284 checkflag(flag
,DDCAPS2_FLIPINTERVAL
,"DDCAPS2_FLIPINTERVAL");
285 checkflag(flag
,DDCAPS2_FLIPNOVSYNC
,"DDCAPS2_FLIPNOVSYNC");
286 checkflag(flag
,DDCAPS2_NO2DDURING3DSCENE
,"DDCAPS2_NO2DDURING3DSCENE");
287 checkflag(flag
,DDCAPS2_NONLOCALVIDMEM
,"DDCAPS2_NONLOCALVIDMEM");
288 checkflag(flag
,DDCAPS2_NONLOCALVIDMEMCAPS
,"DDCAPS2_NONLOCALVIDMEMCAPS");
289 checkflag(flag
,DDCAPS2_NOPAGELOCKREQUIRED
,"DDCAPS2_NOPAGELOCKREQUIRED");
290 checkflag(flag
,DDCAPS2_PRIMARYGAMMA
,"DDCAPS2_PRIMARYGAMMA");
291 checkflag(flag
,DDCAPS2_VIDEOPORT
,"DDCAPS2_VIDEOPORT");
292 checkflag(flag
,DDCAPS2_WIDESURFACES
,"DDCAPS2_WIDESURFACES");
293 endcheckflag(flag
,"pHalInfo->ddCaps.dwCaps2");
295 printf(" pHalInfo->ddCaps.dwCKeyCaps : ");
296 flag
= pHalInfo
->ddCaps
.dwCKeyCaps
;
298 checkflag(flag
,DDCKEYCAPS_DESTBLT
,"DDCKEYCAPS_DESTBLT");
299 checkflag(flag
,DDCKEYCAPS_DESTBLTCLRSPACE
,"DDCKEYCAPS_DESTBLTCLRSPACE");
300 checkflag(flag
,DDCKEYCAPS_DESTBLTCLRSPACEYUV
,"DDCKEYCAPS_DESTBLTCLRSPACEYUV");
301 checkflag(flag
,DDCKEYCAPS_DESTBLTYUV
,"DDCKEYCAPS_DESTBLTYUV");
302 checkflag(flag
,DDCKEYCAPS_DESTOVERLAY
,"DDCKEYCAPS_DESTOVERLAY");
303 checkflag(flag
,DDCKEYCAPS_DESTOVERLAYCLRSPACE
,"DDCKEYCAPS_DESTOVERLAYCLRSPACE");
304 checkflag(flag
,DDCKEYCAPS_DESTOVERLAYCLRSPACEYUV
,"DDCKEYCAPS_DESTOVERLAYCLRSPACEYUV");
305 checkflag(flag
,DDCKEYCAPS_DESTOVERLAYONEACTIVE
,"DDCKEYCAPS_DESTOVERLAYONEACTIVE");
306 checkflag(flag
,DDCKEYCAPS_DESTOVERLAYYUV
,"DDCKEYCAPS_DESTOVERLAYYUV");
307 checkflag(flag
,DDCKEYCAPS_NOCOSTOVERLAY
,"DDCKEYCAPS_NOCOSTOVERLAY");
308 checkflag(flag
,DDCKEYCAPS_SRCBLT
,"DDCKEYCAPS_SRCBLT");
309 checkflag(flag
,DDCKEYCAPS_SRCBLTCLRSPACE
,"DDCKEYCAPS_SRCBLTCLRSPACE");
310 checkflag(flag
,DDCKEYCAPS_SRCBLTCLRSPACEYUV
,"DDCKEYCAPS_SRCBLTCLRSPACEYUV");
311 checkflag(flag
,DDCKEYCAPS_SRCBLTYUV
,"DDCKEYCAPS_SRCBLTYUV");
312 checkflag(flag
,DDCKEYCAPS_SRCOVERLAY
,"DDCKEYCAPS_SRCOVERLAY");
313 checkflag(flag
,DDCKEYCAPS_SRCOVERLAYCLRSPACE
,"DDCKEYCAPS_SRCOVERLAYCLRSPACE");
314 checkflag(flag
,DDCKEYCAPS_SRCOVERLAYCLRSPACEYUV
,"DDCKEYCAPS_SRCOVERLAYCLRSPACEYUV");
315 checkflag(flag
,DDCKEYCAPS_SRCOVERLAYONEACTIVE
,"DDCKEYCAPS_SRCOVERLAYONEACTIVE");
316 checkflag(flag
,DDCKEYCAPS_SRCOVERLAYYUV
,"DDCKEYCAPS_SRCOVERLAYYUV");
317 endcheckflag(flag
,"pHalInfo->ddCaps.dwCKeyCaps");
319 printf(" pHalInfo->ddCaps.dwFXCaps : ");
320 flag
= pHalInfo
->ddCaps
.dwFXCaps
;
322 checkflag(flag
,DDFXCAPS_BLTARITHSTRETCHY
,"DDFXCAPS_BLTARITHSTRETCHY");
323 checkflag(flag
,DDFXCAPS_BLTARITHSTRETCHYN
,"DDFXCAPS_BLTARITHSTRETCHYN");
324 checkflag(flag
,DDFXCAPS_BLTMIRRORLEFTRIGHT
,"DDFXCAPS_BLTMIRRORLEFTRIGHT");
325 checkflag(flag
,DDFXCAPS_BLTMIRRORUPDOWN
,"DDFXCAPS_BLTMIRRORUPDOWN");
326 checkflag(flag
,DDFXCAPS_BLTROTATION
,"DDFXCAPS_BLTROTATION");
327 checkflag(flag
,DDFXCAPS_BLTROTATION90
,"DDFXCAPS_BLTROTATION90");
328 checkflag(flag
,DDFXCAPS_BLTSHRINKX
,"DDFXCAPS_BLTSHRINKX");
329 checkflag(flag
,DDFXCAPS_BLTSHRINKXN
,"DDFXCAPS_BLTSHRINKXN");
330 checkflag(flag
,DDFXCAPS_BLTSHRINKY
,"DDFXCAPS_BLTSHRINKY");
331 checkflag(flag
,DDFXCAPS_BLTSHRINKYN
,"DDFXCAPS_BLTSHRINKYN");
332 checkflag(flag
,DDFXCAPS_BLTSTRETCHX
,"DDFXCAPS_BLTSTRETCHX");
333 checkflag(flag
,DDFXCAPS_BLTSTRETCHXN
,"DDFXCAPS_BLTSTRETCHXN");
334 checkflag(flag
,DDFXCAPS_BLTSTRETCHY
,"DDFXCAPS_BLTSTRETCHY");
335 checkflag(flag
,DDFXCAPS_BLTSTRETCHYN
,"DDFXCAPS_BLTSTRETCHYN");
336 checkflag(flag
,DDFXCAPS_OVERLAYARITHSTRETCHY
,"DDFXCAPS_OVERLAYARITHSTRETCHY");
337 checkflag(flag
,DDFXCAPS_OVERLAYARITHSTRETCHYN
,"DDFXCAPS_OVERLAYARITHSTRETCHYN");
338 checkflag(flag
,DDFXCAPS_OVERLAYMIRRORLEFTRIGHT
,"DDFXCAPS_OVERLAYMIRRORLEFTRIGHT");
339 checkflag(flag
,DDFXCAPS_OVERLAYMIRRORUPDOWN
,"DDFXCAPS_OVERLAYMIRRORUPDOWN");
340 checkflag(flag
,DDFXCAPS_OVERLAYSHRINKX
,"DDFXCAPS_OVERLAYSHRINKX");
341 checkflag(flag
,DDFXCAPS_OVERLAYSHRINKXN
,"DDFXCAPS_OVERLAYSHRINKXN");
342 checkflag(flag
,DDFXCAPS_OVERLAYSHRINKY
,"DDFXCAPS_OVERLAYSHRINKY");
343 checkflag(flag
,DDFXCAPS_OVERLAYSHRINKYN
,"DDFXCAPS_OVERLAYSHRINKYN");
344 checkflag(flag
,DDFXCAPS_OVERLAYSTRETCHX
,"DDFXCAPS_OVERLAYSTRETCHX");
345 checkflag(flag
,DDFXCAPS_OVERLAYSTRETCHX
,"DDFXCAPS_OVERLAYSTRETCHX");
346 checkflag(flag
,DDFXCAPS_OVERLAYSTRETCHY
,"DDFXCAPS_OVERLAYSTRETCHY");
347 checkflag(flag
,DDFXCAPS_OVERLAYSTRETCHYN
,"DDFXCAPS_OVERLAYSTRETCHYN");
348 endcheckflag(flag
,"pHalInfo->ddCaps.dwFXCaps");
350 printf(" pHalInfo->ddCaps.dwFXAlphaCaps : 0x%08lx\n",pHalInfo
->ddCaps
.dwFXAlphaCaps
);
351 printf(" pHalInfo->ddCaps.dwPalCaps : 0x%08lx\n",pHalInfo
->ddCaps
.dwPalCaps
);
352 printf(" pHalInfo->ddCaps.dwSVCaps : 0x%08lx\n",pHalInfo
->ddCaps
.dwSVCaps
);
353 printf(" pHalInfo->ddCaps.dwAlphaBltConstBitDepths : 0x%08lx\n",pHalInfo
->ddCaps
.dwAlphaBltConstBitDepths
);
354 printf(" pHalInfo->ddCaps.dwAlphaBltPixelBitDepths : 0x%08lx\n",pHalInfo
->ddCaps
.dwAlphaBltPixelBitDepths
);
355 printf(" pHalInfo->ddCaps.dwAlphaBltSurfaceBitDepths : 0x%08lx\n",pHalInfo
->ddCaps
.dwAlphaBltSurfaceBitDepths
);
356 printf(" pHalInfo->ddCaps.dwAlphaOverlayConstBitDepths : 0x%08lx\n",pHalInfo
->ddCaps
.dwAlphaOverlayConstBitDepths
);
357 printf(" pHalInfo->ddCaps.dwAlphaOverlayPixelBitDepths : 0x%08lx\n",pHalInfo
->ddCaps
.dwAlphaOverlayPixelBitDepths
);
358 printf(" pHalInfo->ddCaps.dwAlphaOverlaySurfaceBitDepths : 0x%08lx\n",pHalInfo
->ddCaps
.dwAlphaOverlaySurfaceBitDepths
);
359 printf(" pHalInfo->ddCaps.dwZBufferBitDepths : 0x%08lx\n",pHalInfo
->ddCaps
.dwZBufferBitDepths
);
360 printf(" pHalInfo->ddCaps.dwVidMemTotal : 0x%08lx\n",pHalInfo
->ddCaps
.dwVidMemTotal
);
361 printf(" pHalInfo->ddCaps.dwVidMemFree : 0x%08lx\n",pHalInfo
->ddCaps
.dwVidMemFree
);
362 printf(" pHalInfo->ddCaps.dwMaxVisibleOverlays : 0x%08lx\n",pHalInfo
->ddCaps
.dwMaxVisibleOverlays
);
363 printf(" pHalInfo->ddCaps.dwCurrVisibleOverlays : 0x%08lx\n",pHalInfo
->ddCaps
.dwCurrVisibleOverlays
);
364 printf(" pHalInfo->ddCaps.dwNumFourCCCodes : 0x%08lx\n",pHalInfo
->ddCaps
.dwNumFourCCCodes
);
365 printf(" pHalInfo->ddCaps.dwAlignBoundarySrc : 0x%08lx\n",pHalInfo
->ddCaps
.dwAlignBoundarySrc
);
366 printf(" pHalInfo->ddCaps.dwAlignSizeSrc : 0x%08lx\n",pHalInfo
->ddCaps
.dwAlignSizeSrc
);
367 printf(" pHalInfo->ddCaps.dwAlignBoundaryDes : 0x%08lx\n",pHalInfo
->ddCaps
.dwAlignBoundaryDest
);
368 printf(" pHalInfo->ddCaps.dwAlignSizeDest : 0x%08lx\n",pHalInfo
->ddCaps
.dwAlignSizeDest
);
369 printf(" pHalInfo->ddCaps.dwAlignStrideAlign : 0x%08lx\n",pHalInfo
->ddCaps
.dwAlignStrideAlign
);
370 for (t
=0;t
<DD_ROP_SPACE
;t
++)
372 printf(" pHalInfo->ddCaps.dwRops[0x%04x] : 0x%08lx\n",t
,pHalInfo
->ddCaps
.dwRops
[t
]);
374 printf(" pHalInfo->ddCaps.ddsCaps.dwCaps : ");
375 flag
= pHalInfo
->ddCaps
.ddsCaps
.dwCaps
;
377 checkflag(flag
,DDSCAPS_3DDEVICE
,"DDSCAPS_3DDEVICE");
378 checkflag(flag
,DDSCAPS_ALLOCONLOAD
,"DDSCAPS_ALLOCONLOAD");
379 checkflag(flag
,DDSCAPS_ALPHA
,"DDSCAPS_ALPHA");
380 checkflag(flag
,DDSCAPS_BACKBUFFER
,"DDSCAPS_BACKBUFFER");
381 checkflag(flag
,DDSCAPS_COMPLEX
,"DDSCAPS_COMPLEX");
382 checkflag(flag
,DDSCAPS_EXECUTEBUFFER
,"DDSCAPS_EXECUTEBUFFER");
383 checkflag(flag
,DDSCAPS_FLIP
,"DDSCAPS_FLIP");
384 checkflag(flag
,DDSCAPS_FRONTBUFFER
,"DDSCAPS_FRONTBUFFER");
385 checkflag(flag
,DDSCAPS_HWCODEC
,"DDSCAPS_HWCODEC");
386 checkflag(flag
,DDSCAPS_LIVEVIDEO
,"DDSCAPS_LIVEVIDEO");
387 checkflag(flag
,DDSCAPS_LOCALVIDMEM
,"DDSCAPS_LOCALVIDMEM");
388 checkflag(flag
,DDSCAPS_MIPMAP
,"DDSCAPS_MIPMAP");
389 checkflag(flag
,DDSCAPS_MODEX
,"DDSCAPS_MODEX");
390 checkflag(flag
,DDSCAPS_NONLOCALVIDMEM
,"DDSCAPS_NONLOCALVIDMEM");
391 checkflag(flag
,DDSCAPS_OFFSCREENPLAIN
,"DDSCAPS_OFFSCREENPLAIN");
392 checkflag(flag
,DDSCAPS_OVERLAY
,"DDSCAPS_OVERLAY");
393 checkflag(flag
,DDSCAPS_OPTIMIZED
,"DDSCAPS_OPTIMIZED");
394 checkflag(flag
,DDSCAPS_OWNDC
,"DDSCAPS_OWNDC");
395 checkflag(flag
,DDSCAPS_PALETTE
,"DDSCAPS_PALETTE");
396 checkflag(flag
,DDSCAPS_PRIMARYSURFACE
,"DDSCAPS_PRIMARYSURFACE");
397 checkflag(flag
,DDSCAPS_PRIMARYSURFACELEFT
,"DDSCAPS_PRIMARYSURFACELEFT");
398 checkflag(flag
,DDSCAPS_STANDARDVGAMODE
,"DDSCAPS_STANDARDVGAMODE");
399 checkflag(flag
,DDSCAPS_SYSTEMMEMORY
,"DDSCAPS_SYSTEMMEMORY");
400 checkflag(flag
,DDSCAPS_TEXTURE
,"DDSCAPS_TEXTURE");
401 checkflag(flag
,DDSCAPS_VIDEOMEMORY
,"DDSCAPS_VIDEOMEMORY");
402 checkflag(flag
,DDSCAPS_VIDEOPORT
,"DDSCAPS_VIDEOPORT");
403 checkflag(flag
,DDSCAPS_VISIBLE
,"DDSCAPS_VISIBLE");
404 checkflag(flag
,DDSCAPS_WRITEONLY
,"DDSCAPS_WRITEONLY");
405 checkflag(flag
,DDSCAPS_ZBUFFER
,"DDSCAPS_ZBUFFER");
406 endcheckflag(flag
,"pHalInfo->ddCaps.ddsCaps.dwCaps");
409 printf(" pHalInfo->ddCaps.dwMinOverlayStretch : 0x%08lx\n",pHalInfo
->ddCaps
.dwMinOverlayStretch
);
410 printf(" pHalInfo->ddCaps.dwMaxOverlayStretch : 0x%08lx\n",pHalInfo
->ddCaps
.dwMaxOverlayStretch
);
411 printf(" pHalInfo->ddCaps.dwMinLiveVideoStretch : 0x%08lx\n",pHalInfo
->ddCaps
.dwMinLiveVideoStretch
);
412 printf(" pHalInfo->ddCaps.dwMaxLiveVideoStretch : 0x%08lx\n",pHalInfo
->ddCaps
.dwMaxLiveVideoStretch
);
413 printf(" pHalInfo->ddCaps.dwMinHwCodecStretch : 0x%08lx\n",pHalInfo
->ddCaps
.dwMinHwCodecStretch
);
414 printf(" pHalInfo->ddCaps.dwMaxHwCodecStretch : 0x%08lx\n",pHalInfo
->ddCaps
.dwMaxHwCodecStretch
);
415 printf(" pHalInfo->ddCaps.dwReserved1 : 0x%08lx\n",pHalInfo
->ddCaps
.dwReserved1
);
416 printf(" pHalInfo->ddCaps.dwReserved2 : 0x%08lx\n",pHalInfo
->ddCaps
.dwReserved2
);
417 printf(" pHalInfo->ddCaps.dwReserved3 : 0x%08lx\n",pHalInfo
->ddCaps
.dwReserved3
);
418 printf(" pHalInfo->ddCaps.dwSVBCaps : 0x%08lx\n",pHalInfo
->ddCaps
.dwSVBCaps
);
419 printf(" pHalInfo->ddCaps.dwSVBCKeyCaps : 0x%08lx\n",pHalInfo
->ddCaps
.dwSVBCKeyCaps
);
420 printf(" pHalInfo->ddCaps.dwSVBFXCaps : 0x%08lx\n",pHalInfo
->ddCaps
.dwSVBFXCaps
);
421 for (t
=0;t
<DD_ROP_SPACE
;t
++)
423 printf(" pHalInfo->ddCaps.dwSVBRops[0x%04x] : 0x%08lx\n",t
,pHalInfo
->ddCaps
.dwSVBRops
[t
]);
425 printf(" pHalInfo->ddCaps.dwVSBCaps : 0x%08lx\n",pHalInfo
->ddCaps
.dwVSBCaps
);
426 printf(" pHalInfo->ddCaps.dwVSBCKeyCaps : 0x%08lx\n",pHalInfo
->ddCaps
.dwVSBCKeyCaps
);
427 printf(" pHalInfo->ddCaps.dwVSBFXCaps : 0x%08lx\n",pHalInfo
->ddCaps
.dwVSBFXCaps
);
428 for (t
=0;t
<DD_ROP_SPACE
;t
++)
430 printf(" pHalInfo->ddCaps.dwVSBRops[0x%04x] : 0x%08lx\n",t
,pHalInfo
->ddCaps
.dwVSBRops
[t
]);
432 printf(" pHalInfo->ddCaps.dwSSBCaps : 0x%08lx\n",pHalInfo
->ddCaps
.dwSSBCaps
);
433 printf(" pHalInfo->ddCaps.dwSSBCKeyCa : 0x%08lx\n",pHalInfo
->ddCaps
.dwSSBCKeyCaps
);
434 printf(" pHalInfo->ddCaps.dwSSBFXCaps : 0x%08lx\n",pHalInfo
->ddCaps
.dwSSBFXCaps
);
435 for (t
=0;t
<DD_ROP_SPACE
;t
++)
437 printf(" pHalInfo->ddCaps.dwSSBRops[0x%04x] : 0x%08lx\n",t
,pHalInfo
->ddCaps
.dwSSBRops
[t
]);
440 printf(" pHalInfo->GetDriverInfo : 0x%08lx\n",(long)pHalInfo
->GetDriverInfo
);
441 printf(" pHalInfo->dwFlags : ");
443 flag
= pHalInfo
->dwFlags
;
445 checkflag(flag
,DDHALINFO_ISPRIMARYDISPLAY
,"DDHALINFO_ISPRIMARYDISPLAY");
446 checkflag(flag
,DDHALINFO_MODEXILLEGAL
,"DDHALINFO_MODEXILLEGAL");
447 checkflag(flag
,DDHALINFO_GETDRIVERINFOSET
,"DDHALINFO_GETDRIVERINFOSET");
448 checkflag(flag
,DDHALINFO_GETDRIVERINFO2
,"DDHALINFO_GETDRIVERINFO2");
449 endcheckflag(flag
,"pHalInfo->dwFlags");
451 printf(" pHalInfo->lpD3DGlobalDriverData : 0x%08lx\n",(long)pHalInfo
->lpD3DGlobalDriverData
);
452 printf(" pHalInfo->lpD3DHALCallbacks : 0x%08lx\n",(long)pHalInfo
->lpD3DHALCallbacks
);
453 printf(" pHalInfo->lpD3DBufCallbacks : 0x%08lx\n",(long)pHalInfo
->lpD3DBufCallbacks
);
457 if (pHalInfo
->dwSize
!=0)
459 printf("unkonwn dwSize DD_HALINFO : the size found is 0x%08lx\n",pHalInfo
->dwSize
);
463 printf("none pHalInfo from the driver 0x%08lx\n",pHalInfo
->dwSize
);
470 dump_D3dCallbacks(D3DNTHAL_CALLBACKS
*puD3dCallbacks
, char *text
)
472 printf("dumping the D3DNTHAL_CALLBACKS from %s\n",text
);
473 if (puD3dCallbacks
->dwSize
== sizeof(D3DNTHAL_CALLBACKS
))
475 printf(" puD3dCallbacks->dwSize : 0x%08lx\n",(long)puD3dCallbacks
->dwSize
);
476 printf(" puD3dCallbacks->ContextCreate : 0x%08lx\n",(long)puD3dCallbacks
->ContextCreate
);
477 printf(" puD3dCallbacks->ContextDestroy : 0x%08lx\n",(long)puD3dCallbacks
->ContextDestroy
);
478 printf(" puD3dCallbacks->ContextDestroyAll : 0x%08lx\n",(long)puD3dCallbacks
->ContextDestroyAll
);
479 printf(" puD3dCallbacks->SceneCapture : 0x%08lx\n",(long)puD3dCallbacks
->SceneCapture
);
480 printf(" puD3dCallbacks->dwReserved10 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved10
);
481 printf(" puD3dCallbacks->dwReserved11 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved11
);
482 printf(" puD3dCallbacks->dwReserved22 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved22
);
483 printf(" puD3dCallbacks->dwReserved23 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved23
);
484 printf(" puD3dCallbacks->dwReserved : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved
);
485 printf(" puD3dCallbacks->TextureCreate : 0x%08lx\n",(long)puD3dCallbacks
->TextureCreate
);
486 printf(" puD3dCallbacks->TextureDestroy : 0x%08lx\n",(long)puD3dCallbacks
->TextureDestroy
);
487 printf(" puD3dCallbacks->TextureSwap : 0x%08lx\n",(long)puD3dCallbacks
->TextureSwap
);
488 printf(" puD3dCallbacks->TextureGetSurf : 0x%08lx\n",(long)puD3dCallbacks
->TextureGetSurf
);
489 printf(" puD3dCallbacks->dwReserved12 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved12
);
490 printf(" puD3dCallbacks->dwReserved13 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved13
);
491 printf(" puD3dCallbacks->dwReserved14 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved14
);
492 printf(" puD3dCallbacks->dwReserved15 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved15
);
493 printf(" puD3dCallbacks->dwReserved16 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved16
);
494 printf(" puD3dCallbacks->dwReserved17 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved17
);
495 printf(" puD3dCallbacks->dwReserved18 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved18
);
496 printf(" puD3dCallbacks->dwReserved19 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved19
);
497 printf(" puD3dCallbacks->dwReserved20 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved20
);
498 printf(" puD3dCallbacks->dwReserved21 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved21
);
499 printf(" puD3dCallbacks->dwReserved24 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved24
);
500 printf(" puD3dCallbacks->dwReserved0 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved0
);
501 printf(" puD3dCallbacks->dwReserved1 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved1
);
502 printf(" puD3dCallbacks->dwReserved2 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved2
);
503 printf(" puD3dCallbacks->dwReserved3 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved3
);
504 printf(" puD3dCallbacks->dwReserved4 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved4
);
505 printf(" puD3dCallbacks->dwReserved5 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved5
);
506 printf(" puD3dCallbacks->dwReserved6 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved6
);
507 printf(" puD3dCallbacks->dwReserved7 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved7
);
508 printf(" puD3dCallbacks->dwReserved8 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved8
);
509 printf(" puD3dCallbacks->dwReserved9 : 0x%08lx\n",(long)puD3dCallbacks
->dwReserved9
);
513 printf("none puD3dCallbacks from the driver 0x%08lx\n",puD3dCallbacks
->dwSize
);
519 dump_D3dDriverData(D3DNTHAL_GLOBALDRIVERDATA
*puD3dDriverData
, char *text
)
524 printf("dumping the D3DNTHAL_GLOBALDRIVERDATA from %s\n",text
);
525 if (puD3dDriverData
->dwSize
== sizeof(D3DNTHAL_GLOBALDRIVERDATA
))
527 printf(" puD3dDriverData->dwSize : 0x%08lx\n",(long)puD3dDriverData
->dwSize
);
528 if (puD3dDriverData
->hwCaps
.dwSize
== sizeof(D3DNTHALDEVICEDESC_V1
))
530 printf(" puD3dDriverData->hwCaps.dwSize : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dwSize
);
531 printf(" puD3dDriverData->hwCaps.dwFlags : ");
533 flag
= puD3dDriverData
->hwCaps
.dwFlags
;
534 checkflag(flag
,D3DDD_BCLIPPING
,"D3DDD_BCLIPPING");
535 checkflag(flag
,D3DDD_COLORMODEL
,"D3DDD_COLORMODEL");
536 checkflag(flag
,D3DDD_DEVCAPS
,"D3DDD_DEVCAPS");
537 checkflag(flag
,D3DDD_DEVICERENDERBITDEPTH
,"D3DDD_DEVICERENDERBITDEPTH");
538 checkflag(flag
,D3DDD_DEVICEZBUFFERBITDEPTH
,"D3DDD_DEVICEZBUFFERBITDEPTH");
539 checkflag(flag
,D3DDD_LIGHTINGCAPS
,"D3DDD_LIGHTINGCAPS");
540 checkflag(flag
,D3DDD_LINECAPS
,"D3DDD_LINECAPS");
541 checkflag(flag
,D3DDD_MAXBUFFERSIZE
,"D3DDD_MAXBUFFERSIZE");
542 checkflag(flag
,D3DDD_MAXVERTEXCOUNT
,"D3DDD_MAXVERTEXCOUNT");
543 checkflag(flag
,D3DDD_TRANSFORMCAPS
,"D3DDD_TRANSFORMCAPS");
544 checkflag(flag
,D3DDD_TRICAPS
,"D3DDD_TRICAPS");
545 endcheckflag(flag
,"puD3dDriverData->hwCaps.dwFlags ");
547 printf(" puD3dDriverData->hwCaps.dcmColorModel : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dcmColorModel
);
548 printf(" puD3dDriverData->hwCaps.dwDevCaps : ");
551 flag
= puD3dDriverData
->hwCaps
.dwDevCaps
;
552 checkflag(flag
,D3DDEVCAPS_CANBLTSYSTONONLOCAL
,"D3DDEVCAPS_CANBLTSYSTONONLOCAL");
553 checkflag(flag
,D3DDEVCAPS_CANRENDERAFTERFLIP
,"D3DDEVCAPS_CANRENDERAFTERFLIP");
554 checkflag(flag
,D3DDEVCAPS_DRAWPRIMITIVES2
,"D3DDEVCAPS_DRAWPRIMITIVES2");
555 checkflag(flag
,D3DDEVCAPS_DRAWPRIMITIVES2EX
,"D3DDEVCAPS_DRAWPRIMITIVES2EX");
556 checkflag(flag
,D3DDEVCAPS_DRAWPRIMTLVERTEX
,"D3DDEVCAPS_DRAWPRIMTLVERTEX");
557 checkflag(flag
,D3DDEVCAPS_EXECUTESYSTEMMEMORY
,"D3DDEVCAPS_EXECUTESYSTEMMEMORY");
558 checkflag(flag
,D3DDEVCAPS_EXECUTEVIDEOMEMORY
,"D3DDEVCAPS_EXECUTEVIDEOMEMORY");
559 checkflag(flag
,D3DDEVCAPS_FLOATTLVERTEX
,"D3DDEVCAPS_FLOATTLVERTEX");
560 checkflag(flag
,D3DDEVCAPS_HWRASTERIZATION
,"D3DDEVCAPS_HWRASTERIZATION");
561 checkflag(flag
,D3DDEVCAPS_HWTRANSFORMANDLIGHT
,"D3DDEVCAPS_HWTRANSFORMANDLIGHT");
562 checkflag(flag
,D3DDEVCAPS_SEPARATETEXTUREMEMORIES
,"D3DDEVCAPS_SEPARATETEXTUREMEMORIES");
563 checkflag(flag
,D3DDEVCAPS_SORTDECREASINGZ
,"D3DDEVCAPS_SORTDECREASINGZ");
564 checkflag(flag
,D3DDEVCAPS_SORTEXACT
,"D3DDEVCAPS_SORTEXACT");
565 checkflag(flag
,D3DDEVCAPS_SORTINCREASINGZ
,"D3DDEVCAPS_SORTINCREASINGZ");
566 // not in ddk or dxsdk I have but it is msdn checkflag(flag,D3DDEVCAPS_TEXTURENONLOCALVIDEOMEMORY,"D3DDEVCAPS_TEXTURENONLOCALVIDEOMEMORY");
567 checkflag(flag
,D3DDEVCAPS_TLVERTEXSYSTEMMEMORY
,"D3DDEVCAPS_TLVERTEXSYSTEMMEMORY");
568 checkflag(flag
,D3DDEVCAPS_TLVERTEXVIDEOMEMORY
,"D3DDEVCAPS_TLVERTEXVIDEOMEMORY");
569 checkflag(flag
,D3DDEVCAPS_TEXTURESYSTEMMEMORY
,"D3DDEVCAPS_TEXTURESYSTEMMEMORY");
570 checkflag(flag
,D3DDEVCAPS_TEXTUREVIDEOMEMORY
,"D3DDEVCAPS_TEXTUREVIDEOMEMORY");
571 endcheckflag(flag
,"puD3dDriverData->hwCaps.dwDevCaps");
573 if (puD3dDriverData
->hwCaps
.dtcTransformCaps
.dwSize
== sizeof(D3DTRANSFORMCAPS
))
575 printf(" puD3dDriverData->hwCaps.dtcTransformCaps.dwSize : 0x%08lx\n",(long) puD3dDriverData
->hwCaps
.dtcTransformCaps
.dwSize
);
576 printf(" puD3dDriverData->hwCaps.dtcTransformCaps.dwCaps : ");
579 flag
= puD3dDriverData
->hwCaps
.dtcTransformCaps
.dwCaps
;
580 checkflag(flag
,D3DTRANSFORMCAPS_CLIP
,"D3DTRANSFORMCAPS_CLIP");
581 endcheckflag(flag
,"puD3dDriverData->hwCaps.dtcTransformCaps.dwCaps");
585 printf("none puD3dDriverData->hwCaps.dtcTransformCaps.dwSize from the driver 0x%08lx\n",puD3dDriverData
->hwCaps
.dtcTransformCaps
.dwSize
);
588 if (puD3dDriverData
->hwCaps
.dlcLightingCaps
.dwSize
== sizeof(D3DLIGHTINGCAPS
))
590 printf(" puD3dDriverData->hwCaps.dlcLightingCaps.dwSize : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dlcLightingCaps
.dwSize
);
591 printf(" puD3dDriverData->hwCaps.dlcLightingCaps.dwCaps : ");
594 flag
= puD3dDriverData
->hwCaps
.dlcLightingCaps
.dwCaps
;
596 checkflag(flag
,D3DLIGHTCAPS_DIRECTIONAL
,"D3DLIGHTCAPS_DIRECTIONAL");
597 checkflag(flag
,D3DLIGHTCAPS_GLSPOT
,"D3DLIGHTCAPS_GLSPOT");
598 checkflag(flag
,D3DLIGHTCAPS_PARALLELPOINT
,"D3DLIGHTCAPS_PARALLELPOINT");
599 checkflag(flag
,D3DLIGHTCAPS_POINT
,"D3DLIGHTCAPS_POINT");
600 checkflag(flag
,D3DLIGHTCAPS_SPOT
,"D3DLIGHTCAPS_SPOT");
601 endcheckflag(flag
,"puD3dDriverData->hwCaps.dlcLightingCaps.dwCaps");
603 printf(" puD3dDriverData->hwCaps.dlcLightingCaps.dwLightingModel : ");
606 flag
= puD3dDriverData
->hwCaps
.dlcLightingCaps
.dwLightingModel
;
608 checkflag(flag
,D3DLIGHTINGMODEL_MONO
,"D3DLIGHTINGMODEL_MONO");
609 checkflag(flag
,D3DLIGHTINGMODEL_RGB
,"D3DLIGHTINGMODEL_RGB");
610 endcheckflag(flag
,"puD3dDriverData->hwCaps.dlcLightingCaps.dwLightingModel");
612 printf(" puD3dDriverData->hwCaps.dlcLightingCaps.dwNumLights : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dlcLightingCaps
.dwNumLights
);
616 printf("none puD3dDriverData->hwCaps.dlcLightingCaps.dwSize from the driver 0x%08lx\n",puD3dDriverData
->hwCaps
.dlcLightingCaps
.dwSize
);
620 if (puD3dDriverData
->hwCaps
.dpcLineCaps
.dwSize
== sizeof(D3DPRIMCAPS
))
622 printf(" puD3dDriverData->hwCaps.dpcLineCaps.dwSize : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dpcLineCaps
.dwSize
);
624 printf(" puD3dDriverData->hwCaps.dpcLineCaps.dwMiscCaps : ");
626 flag
= puD3dDriverData
->hwCaps
.dpcLineCaps
.dwMiscCaps
;
627 checkflag(flag
,D3DPMISCCAPS_CONFORMANT
,"D3DPMISCCAPS_CONFORMANT");
628 checkflag(flag
,D3DPMISCCAPS_CULLCCW
,"D3DPMISCCAPS_CULLCCW");
629 checkflag(flag
,D3DPMISCCAPS_CULLCW
,"D3DPMISCCAPS_CULLCW");
630 checkflag(flag
,D3DPMISCCAPS_CULLNONE
,"D3DPMISCCAPS_CULLNONE");
631 checkflag(flag
,D3DPMISCCAPS_LINEPATTERNREP
,"D3DPMISCCAPS_LINEPATTERNREP");
632 checkflag(flag
,D3DPMISCCAPS_MASKPLANES
,"D3DPMISCCAPS_MASKPLANES");
633 checkflag(flag
,D3DPMISCCAPS_MASKZ
,"D3DPMISCCAPS_MASKZ");
634 endcheckflag(flag
,"puD3dDriverData->hwCaps.dpcLineCaps.dwMiscCaps");
636 printf(" puD3dDriverData->hwCaps.dpcLineCaps.dwRasterCaps : ");
638 flag
= puD3dDriverData
->hwCaps
.dpcLineCaps
.dwRasterCaps
;
639 checkflag(flag
,D3DPRASTERCAPS_ANISOTROPY
,"D3DPRASTERCAPS_ANISOTROPY");
640 checkflag(flag
,D3DPRASTERCAPS_ANTIALIASEDGES
,"D3DPRASTERCAPS_ANTIALIASEDGES");
641 checkflag(flag
,D3DPRASTERCAPS_ANTIALIASSORTDEPENDENT
,"D3DPRASTERCAPS_ANTIALIASSORTDEPENDENT");
642 checkflag(flag
,D3DPRASTERCAPS_ANTIALIASSORTINDEPENDENT
,"D3DPRASTERCAPS_ANTIALIASSORTINDEPENDENT");
643 checkflag(flag
,D3DPRASTERCAPS_DITHER
,"D3DPRASTERCAPS_DITHER");
644 checkflag(flag
,D3DPRASTERCAPS_FOGRANGE
,"D3DPRASTERCAPS_FOGRANGE");
645 checkflag(flag
,D3DPRASTERCAPS_FOGTABLE
,"D3DPRASTERCAPS_FOGTABLE");
646 checkflag(flag
,D3DPRASTERCAPS_FOGVERTEX
,"D3DPRASTERCAPS_FOGVERTEX");
647 checkflag(flag
,D3DPRASTERCAPS_PAT
,"D3DPRASTERCAPS_PAT");
648 checkflag(flag
,D3DPRASTERCAPS_ROP2
,"D3DPRASTERCAPS_ROP2");
649 checkflag(flag
,D3DPRASTERCAPS_STIPPLE
,"D3DPRASTERCAPS_STIPPLE");
650 checkflag(flag
,D3DPRASTERCAPS_SUBPIXEL
,"D3DPRASTERCAPS_SUBPIXEL");
651 checkflag(flag
,D3DPRASTERCAPS_SUBPIXELX
,"D3DPRASTERCAPS_SUBPIXELX");
652 checkflag(flag
,D3DPRASTERCAPS_TRANSLUCENTSORTINDEPENDENT
,"D3DPRASTERCAPS_TRANSLUCENTSORTINDEPENDENT");
653 checkflag(flag
,D3DPRASTERCAPS_WBUFFER
,"D3DPRASTERCAPS_WBUFFER");
654 checkflag(flag
,D3DPRASTERCAPS_WFOG
,"D3DPRASTERCAPS_WFOG");
655 checkflag(flag
,D3DPRASTERCAPS_XOR
,"D3DPRASTERCAPS_XOR");
656 checkflag(flag
,D3DPRASTERCAPS_ZBIAS
,"D3DPRASTERCAPS_ZBIAS");
657 checkflag(flag
,D3DPRASTERCAPS_ZBUFFERLESSHSR
,"D3DPRASTERCAPS_ZBUFFERLESSHSR");
658 checkflag(flag
,D3DPRASTERCAPS_ZFOG
,"D3DPRASTERCAPS_ZFOG");
659 checkflag(flag
,D3DPRASTERCAPS_ZTEST
,"D3DPRASTERCAPS_ZTEST");
660 endcheckflag(flag
,"puD3dDriverData->hwCaps.dpcLineCaps.dwRasterCaps");
662 printf(" puD3dDriverData->hwCaps.dpcLineCaps.dwZCmpCaps : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dpcLineCaps
.dwZCmpCaps
);
663 printf(" puD3dDriverData->hwCaps.dpcLineCaps.dwSrcBlendCaps : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dpcLineCaps
.dwSrcBlendCaps
);
664 printf(" puD3dDriverData->hwCaps.dpcLineCaps.dwDestBlendCaps : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dpcLineCaps
.dwDestBlendCaps
);
665 printf(" puD3dDriverData->hwCaps.dpcLineCaps.dwAlphaCmpCaps : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dpcLineCaps
.dwAlphaCmpCaps
);
666 printf(" puD3dDriverData->hwCaps.dpcLineCaps.dwShadeCaps : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dpcLineCaps
.dwShadeCaps
);
667 printf(" puD3dDriverData->hwCaps.dpcLineCaps.dwTextureCaps : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dpcLineCaps
.dwTextureCaps
);
668 printf(" puD3dDriverData->hwCaps.dpcLineCaps.dwTextureFilterCaps : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dpcLineCaps
.dwTextureFilterCaps
);
669 printf(" puD3dDriverData->hwCaps.dpcLineCaps.dwTextureBlendCaps : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dpcLineCaps
.dwTextureBlendCaps
);
670 printf(" puD3dDriverData->hwCaps.dpcLineCaps.dwTextureAddressCaps : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dpcLineCaps
.dwTextureAddressCaps
);
671 printf(" puD3dDriverData->hwCaps.dpcLineCaps.dwStippleWidth : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dpcLineCaps
.dwStippleWidth
);
672 printf(" puD3dDriverData->hwCaps.dpcLineCaps.dwStippleHeight : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dpcLineCaps
.dwStippleHeight
);
676 printf("none puD3dDriverData->hwCaps.dpcLineCaps.dwSize from the driver 0x%08lx\n",puD3dDriverData
->hwCaps
.dpcLineCaps
.dwSize
);
679 if (puD3dDriverData
->hwCaps
.dpcTriCaps
.dwSize
== sizeof(D3DPRIMCAPS
))
681 printf(" puD3dDriverData->hwCaps.dpcTriCaps.dwSize : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dpcTriCaps
.dwSize
);
682 printf(" puD3dDriverData->hwCaps.dpcTriCaps.dwMiscCaps : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dpcTriCaps
.dwMiscCaps
);
683 printf(" puD3dDriverData->hwCaps.dpcTriCaps.dwRasterCaps : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dpcTriCaps
.dwRasterCaps
);
684 printf(" puD3dDriverData->hwCaps.dpcTriCaps.dwZCmpCaps : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dpcTriCaps
.dwZCmpCaps
);
685 printf(" puD3dDriverData->hwCaps.dpcTriCaps.dwSrcBlendCaps : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dpcTriCaps
.dwSrcBlendCaps
);
686 printf(" puD3dDriverData->hwCaps.dpcTriCaps.dwDestBlendCaps : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dpcTriCaps
.dwDestBlendCaps
);
687 printf(" puD3dDriverData->hwCaps.dpcTriCaps.dwAlphaCmpCaps : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dpcTriCaps
.dwAlphaCmpCaps
);
688 printf(" puD3dDriverData->hwCaps.dpcTriCaps.dwShadeCaps : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dpcTriCaps
.dwShadeCaps
);
689 printf(" puD3dDriverData->hwCaps.dpcTriCaps.dwTextureCaps : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dpcTriCaps
.dwTextureCaps
);
690 printf(" puD3dDriverData->hwCaps.dpcTriCaps.dwTextureFilterCaps : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dpcTriCaps
.dwTextureFilterCaps
);
691 printf(" puD3dDriverData->hwCaps.dpcTriCaps.dwTextureBlendCaps : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dpcTriCaps
.dwTextureBlendCaps
);
692 printf(" puD3dDriverData->hwCaps.dpcTriCaps.dwTextureAddressCaps : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dpcTriCaps
.dwTextureAddressCaps
);
693 printf(" puD3dDriverData->hwCaps.dpcTriCaps.dwStippleWidth : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dpcTriCaps
.dwStippleWidth
);
694 printf(" puD3dDriverData->hwCaps.dpcTriCaps.dwStippleHeight : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dpcTriCaps
.dwStippleHeight
);
698 printf("none puD3dDriverData->hwCaps.dpcTriCaps.dwSize from the driver 0x%08lx\n",puD3dDriverData
->hwCaps
.dpcTriCaps
.dwSize
);
701 printf(" puD3dDriverData->hwCaps.dwDeviceRenderBitDepth : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dwDeviceRenderBitDepth
);
702 printf(" puD3dDriverData->hwCaps.dwDeviceZBufferBitDepth : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dwDeviceZBufferBitDepth
);
703 printf(" puD3dDriverData->hwCaps.dwMaxBufferSize : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dwMaxBufferSize
);
704 printf(" puD3dDriverData->hwCaps.dwMaxVertexCount : 0x%08lx\n",(long)puD3dDriverData
->hwCaps
.dwMaxVertexCount
);
708 printf("none puD3dDriverData->hwCaps.dwSize from the driver 0x%08lx\n",puD3dDriverData
->hwCaps
.dwSize
);
711 printf(" puD3dDriverData->dwNumVertices : 0x%08lx\n",(long)puD3dDriverData
->dwNumVertices
);
712 printf(" puD3dDriverData->dwNumClipVertices : 0x%08lx\n",(long)puD3dDriverData
->dwNumClipVertices
);
713 printf(" puD3dDriverData->dwNumTextureFormats : 0x%08lx\n",(long)puD3dDriverData
->dwNumTextureFormats
);
714 printf(" puD3dDriverData->lpTextureFormats : 0x%08lx\n",(long)puD3dDriverData
->lpTextureFormats
);
715 printf(" puD3dDriverData->lpTextureFormats : 0x%08lx\n",(long)puD3dDriverData
->lpTextureFormats
);
719 printf("none puD3dDriverData from the driver 0x%08lx\n",puD3dDriverData
->dwSize
);