[g3dvl] some more debugging output in xvmc st
authorChristian König <deathsimple@vodafone.de>
Sun, 3 Apr 2011 17:57:49 +0000 (19:57 +0200)
committerChristian König <deathsimple@vodafone.de>
Sun, 3 Apr 2011 17:57:49 +0000 (19:57 +0200)
src/gallium/state_trackers/xorg/xvmc/surface.c

index 679b5cf665113d5802b5b78c913dd128c61d4695..efbebaa4ccfe9e2e4999733caa153eb8e817700b 100644 (file)
@@ -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;
 }