diff options
Diffstat (limited to 'src/gallium/state_trackers/nine/device9ex.c')
-rw-r--r-- | src/gallium/state_trackers/nine/device9ex.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/device9ex.c b/src/gallium/state_trackers/nine/device9ex.c index d36189d4571..fe8aa9b2704 100644 --- a/src/gallium/state_trackers/nine/device9ex.c +++ b/src/gallium/state_trackers/nine/device9ex.c @@ -39,6 +39,13 @@ NineDevice9Ex_ctor( struct NineDevice9Ex *This, ID3DPresentGroup *pPresentationGroup, struct d3dadapter9_context *pCTX ) { + DBG("This=%p pParams=%p pScreen=%p pCreationParameters=%p pCaps=%p " + "pPresentationParameters=%p pFullscreenDisplayMode=%p " + "pD3D9Ex=%p pPresentationGroup=%p pCTX=%p\n", + This, pParams, pScreen, pCreationParameters, pCaps, + pPresentationParameters, pFullscreenDisplayMode, + pD3D9Ex, pPresentationGroup, pCTX); + return NineDevice9_ctor(&This->base, pParams, pScreen, pCreationParameters, pCaps, pPresentationParameters, @@ -87,6 +94,11 @@ NineDevice9Ex_PresentEx( struct NineDevice9Ex *This, unsigned i; HRESULT hr; + DBG("This=%p pSourceRect=%p pDestRect=%p hDestWindowOverride=%p " + "pDirtyRegion=%p dwFlags=%d\n", + This, pSourceRect, pDestRect, hDestWindowOverride, + pDirtyRegion, dwFlags); + for (i = 0; i < This->base.nswapchains; i++) { hr = NineSwapChain9_Present(This->base.swapchains[i], pSourceRect, pDestRect, hDestWindowOverride, pDirtyRegion, dwFlags); @@ -227,6 +239,9 @@ NineDevice9Ex_GetDisplayModeEx( struct NineDevice9Ex *This, { struct NineSwapChain9Ex *swapchain; + DBG("This=%p iSwapChain=%u pMode=%p pRotation=%p\n", + This, iSwapChain, pMode, pRotation); + user_assert(iSwapChain < This->base.nswapchains, D3DERR_INVALIDCALL); swapchain = NineSwapChain9Ex(This->base.swapchains[iSwapChain]); |