summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/device9ex.c
diff options
context:
space:
mode:
authorStanislaw Halik <[email protected]>2014-11-25 00:38:04 +0100
committerEmil Velikov <[email protected]>2014-11-26 20:09:11 +0000
commit7f74b9d47928979fdad445db1e0f249688c62991 (patch)
tree11f70b726110cce2c3d30744f3a82ea69dedbeed /src/gallium/state_trackers/nine/device9ex.c
parent6aeae7442d1d5a8b1ff77b6f50f4ac7333cd22b0 (diff)
st/nine: call DBG() at more external entry points
Cc: "10.4" <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]> Reviewed-by: David Heidelberg <[email protected]> Reviewed-by: Axel Davy <[email protected]> Signed-off-by: Stanislaw Halik <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/device9ex.c')
-rw-r--r--src/gallium/state_trackers/nine/device9ex.c15
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]);