[Mesa-dev] [PATCH 53/75] st/nine: Print interface id in NineSurface9_GetContainer

Axel Davy axel.davy at ens.fr
Wed Oct 5 20:09:26 UTC 2016


From: Patrick Rudolph <siro at das-labor.org>

To ease debugging print interface id.

Signed-off-by: Patrick Rudolph <siro at das-labor.org>
Reviewed-by: Axel Davy <axel.davy at ens.fr>
---
 src/gallium/state_trackers/nine/surface9.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/gallium/state_trackers/nine/surface9.c b/src/gallium/state_trackers/nine/surface9.c
index 45a37f4..508fa9a 100644
--- a/src/gallium/state_trackers/nine/surface9.c
+++ b/src/gallium/state_trackers/nine/surface9.c
@@ -253,6 +253,11 @@ NineSurface9_GetContainer( struct NineSurface9 *This,
                            void **ppContainer )
 {
     HRESULT hr;
+    char guid_str[64];
+
+    DBG("This=%p riid=%p id=%s ppContainer=%p\n",
+        This, riid, riid ? GUID_sprintf(guid_str, riid) : "", ppContainer);
+
     if (!NineUnknown(This)->container)
         return E_NOINTERFACE;
     hr = NineUnknown_QueryInterface(NineUnknown(This)->container, riid, ppContainer);
-- 
2.10.0



More information about the mesa-dev mailing list