From: Christian König Date: Sun, 3 Apr 2011 17:57:49 +0000 (+0200) Subject: [g3dvl] some more debugging output in xvmc st X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6176ce3719e6c6e88d31ae7307154386e83553b;p=mesa.git [g3dvl] some more debugging output in xvmc st --- 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; }