From e6176ce3719e6c6e88d31ae7307154386e83553b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christian=20K=C3=B6nig?= Date: Sun, 3 Apr 2011 19:57:49 +0200 Subject: [PATCH] [g3dvl] some more debugging output in xvmc st --- src/gallium/state_trackers/xorg/xvmc/surface.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/xorg/xvmc/surface.c b/src/gallium/state_trackers/xorg/xvmc/surface.c index 679b5cf6651..efbebaa4ccf 100644 --- a/src/gallium/state_trackers/xorg/xvmc/surface.c +++ b/src/gallium/state_trackers/xorg/xvmc/surface.c @@ -233,7 +233,8 @@ Status XvMCRenderSurface(Display *dpy, XvMCContext *context, unsigned int pictur XvMCSurfacePrivate *future_surface_priv; struct pipe_mpeg12_macroblock pipe_macroblocks[num_macroblocks]; - XVMC_MSG(XVMC_TRACE, "[XvMC] Rendering to surface %p.\n", target_surface); + XVMC_MSG(XVMC_TRACE, "[XvMC] Rendering to surface %p, with past %p and future %p\n", + target_surface, past_surface, future_surface); assert(dpy); @@ -320,6 +321,8 @@ Status XvMCFlushSurface(Display *dpy, XvMCSurface *surface) // don't call flush here, because this is usually // called once for every slice instead of every frame + XVMC_MSG(XVMC_TRACE, "[XvMC] Flushing surface %p\n", surface); + return Success; } @@ -331,6 +334,8 @@ Status XvMCSyncSurface(Display *dpy, XvMCSurface *surface) if (!surface) return XvMCBadSurface; + XVMC_MSG(XVMC_TRACE, "[XvMC] Syncing surface %p\n", surface); + return Success; } -- 2.30.2