Changeset 33983 in vbox for trunk/src/VBox/Additions/WINNT/Graphics
- Timestamp:
- Nov 11, 2010 12:42:20 PM (14 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoVidPn.cpp
r33980 r33983 1749 1749 case _t: return #_t; 1750 1750 #define VBOXVIDPNDUMP_STRCASE_UNKNOWN() \ 1751 default: return "Unknown";1751 default: Assert(0); return "Unknown"; 1752 1752 1753 1753 #define VBOXVIDPNDUMP_STRFLAGS(_v, _t) \ … … 1886 1886 VBOXVIDPNDUMP_STRCASE(D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST); 1887 1887 VBOXVIDPNDUMP_STRCASE(D3DDDI_VSSLO_OTHER); 1888 VBOXVIDPNDUMP_STRCASE_UNKNOWN(); 1889 } 1890 } 1891 1892 const char* vboxVidPnDumpStrCFMPivotType(D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE EnumPivotType) 1893 { 1894 switch (EnumPivotType) 1895 { 1896 VBOXVIDPNDUMP_STRCASE(D3DKMDT_EPT_UNINITIALIZED); 1897 VBOXVIDPNDUMP_STRCASE(D3DKMDT_EPT_VIDPNSOURCE); 1898 VBOXVIDPNDUMP_STRCASE(D3DKMDT_EPT_VIDPNTARGET); 1899 VBOXVIDPNDUMP_STRCASE(D3DKMDT_EPT_SCALING); 1900 VBOXVIDPNDUMP_STRCASE(D3DKMDT_EPT_ROTATION); 1901 VBOXVIDPNDUMP_STRCASE(D3DKMDT_EPT_NOPIVOT); 1888 1902 VBOXVIDPNDUMP_STRCASE_UNKNOWN(); 1889 1903 } … … 2135 2149 void vboxVidPnDumpSourceModeSet(PDEVICE_EXTENSION pDevExt, const D3DKMDT_HVIDPN hVidPn, const DXGK_VIDPN_INTERFACE* pVidPnInterface, D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId) 2136 2150 { 2137 drprintf((" >>> ***SourceMode Set for Source(%d)***\n", VidPnSourceId));2151 drprintf((" >>>+++SourceMode Set for Source(%d)+++\n", VidPnSourceId)); 2138 2152 D3DKMDT_HVIDPNSOURCEMODESET hCurVidPnSourceModeSet; 2139 2153 const DXGK_VIDPNSOURCEMODESET_INTERFACE *pCurVidPnSourceModeSetInterface; … … 2161 2175 } 2162 2176 2163 drprintf((" <<< ***End Of SourceMode Set for Source(%d)***\n", VidPnSourceId));2177 drprintf((" <<<+++End Of SourceMode Set for Source(%d)+++\n", VidPnSourceId)); 2164 2178 } 2165 2179 … … 2174 2188 void vboxVidPnDumpTargetModeSet(PDEVICE_EXTENSION pDevExt, const D3DKMDT_HVIDPN hVidPn, const DXGK_VIDPN_INTERFACE* pVidPnInterface, D3DDDI_VIDEO_PRESENT_TARGET_ID VidPnTargetId) 2175 2189 { 2176 drprintf((" >>> ***TargetMode Set for Target(%d)***\n", VidPnTargetId));2190 drprintf((" >>>---TargetMode Set for Target(%d)---\n", VidPnTargetId)); 2177 2191 D3DKMDT_HVIDPNTARGETMODESET hCurVidPnTargetModeSet; 2178 2192 const DXGK_VIDPNTARGETMODESET_INTERFACE *pCurVidPnTargetModeSetInterface; … … 2200 2214 } 2201 2215 2202 drprintf((" <<< ***End Of TargetMode Set for Target(%d)***\n", VidPnTargetId));2216 drprintf((" <<<---End Of TargetMode Set for Target(%d)---\n", VidPnTargetId)); 2203 2217 } 2204 2218 … … 2241 2255 } 2242 2256 2257 void vboxVidPnDumpCofuncModalityArg(const char *pPrefix, CONST DXGKARG_ENUMVIDPNCOFUNCMODALITY* CONST pEnumCofuncModalityArg, const char *pSuffix) 2258 { 2259 drprintf(("%sPivotType(%s), SourceId(0x%x), TargetId(0x%x),%s", pPrefix, vboxVidPnDumpStrCFMPivotType(pEnumCofuncModalityArg->EnumPivotType), 2260 pEnumCofuncModalityArg->EnumPivot.VidPnSourceId, pEnumCofuncModalityArg->EnumPivot.VidPnTargetId, pSuffix)); 2261 } 2262 2243 2263 void vboxVidPnDumpPath(struct _DEVICE_EXTENSION* pDevExt, const D3DKMDT_HVIDPN hVidPn, const DXGK_VIDPN_INTERFACE* pVidPnInterface, 2244 2264 const D3DKMDT_VIDPN_PRESENT_PATH *pVidPnPresentPathInfo) 2245 2265 { 2246 drprintf((" >> Start Dump VidPn Path>>\n"));2266 drprintf((" >>**** Start Dump VidPn Path ****>>\n")); 2247 2267 drprintf(("VidPnSourceId(%d), VidPnTargetId(%d)\n", 2248 2268 pVidPnPresentPathInfo->VidPnSourceId, pVidPnPresentPathInfo->VidPnTargetId)); … … 2262 2282 vboxVidPnDumpGammaRamp("GammaRamp: ", &pVidPnPresentPathInfo->GammaRamp, "\n"); 2263 2283 2264 drprintf((" << Stop Dump VidPn Path<<\n"));2284 drprintf((" <<**** Stop Dump VidPn Path ****<<\n")); 2265 2285 } 2266 2286 -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoVidPn.h
r33980 r33983 131 131 132 132 void vboxVidPnDumpVidPn(const char * pPrefix, PDEVICE_EXTENSION pDevExt, D3DKMDT_HVIDPN hVidPn, const DXGK_VIDPN_INTERFACE* pVidPnInterface, const char * pSuffix); 133 void vboxVidPnDumpCofuncModalityArg(const char *pPrefix, CONST DXGKARG_ENUMVIDPNCOFUNCMODALITY* CONST pEnumCofuncModalityArg, const char *pSuffix); 133 134 #endif /* #ifndef ___VBoxVideoVidPn_h___ */ -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.cpp
r33980 r33983 3707 3707 3708 3708 #ifdef DEBUG_misha 3709 drprintf(("The Given VidPn is %ssupported", pIsSupportedVidPnArg->IsVidPnSupported ? "" ,"!!NOT!! "));3709 drprintf(("The Given VidPn is %ssupported", pIsSupportedVidPnArg->IsVidPnSupported ? "" : "!!NOT!! ")); 3710 3710 #endif 3711 3711 … … 3830 3830 { 3831 3831 #ifdef DEBUG_misha 3832 vboxVidPnDumpVidPn("\n>>>>MODALITY VidPN (IN) : >>>>\n", pDevExt, pEnumCofuncModalityArg->hConstrainingVidPn, pVidPnInterface, "<<<<<<<<<<<<<<<<<<<<\n\n"); 3832 vboxVidPnDumpCofuncModalityArg(">>>>MODALITY Args: ", pEnumCofuncModalityArg, "\n"); 3833 vboxVidPnDumpVidPn(">>>>MODALITY VidPN (IN) : >>>>\n", pDevExt, pEnumCofuncModalityArg->hConstrainingVidPn, pVidPnInterface, "<<<<<<<<<<<<<<<<<<<<\n\n"); 3833 3834 #endif 3834 3835
Note:
See TracChangeset
for help on using the changeset viewer.