diff options
Diffstat (limited to 'va/va_trace.c')
-rw-r--r-- | va/va_trace.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/va/va_trace.c b/va/va_trace.c index 8010e6b..eb95728 100644 --- a/va/va_trace.c +++ b/va/va_trace.c @@ -5405,14 +5405,23 @@ void va_TraceEndPicture( int endpic_done ) { - int encode, decode, jpeg; DPY2TRACECTX(dpy, context, VA_INVALID_ID); TRACE_FUNCNAME(idx); va_TraceMsg(trace_ctx, "\tcontext = 0x%08x\n", context); va_TraceMsg(trace_ctx, "\trender_targets = 0x%08x\n", trace_ctx->trace_rendertarget); + va_TraceMsg(trace_ctx, NULL); +} +void va_TraceEndPictureExt( + VADisplay dpy, + VAContextID context, + int endpic_done +) +{ + int encode, decode, jpeg; + DPY2TRACECTX(dpy, context, VA_INVALID_ID); /* avoid to create so many empty files */ encode = (trace_ctx->trace_entrypoint == VAEntrypointEncSlice); decode = (trace_ctx->trace_entrypoint == VAEntrypointVLD); @@ -5428,9 +5437,7 @@ void va_TraceEndPicture( vaSyncSurface(dpy, trace_ctx->trace_rendertarget); va_TraceSurface(dpy, context); } - - va_TraceMsg(trace_ctx, NULL); -} + } void va_TraceSyncSurface( |