Commit a7ec84e3 authored by Gwenole Beauchesne's avatar Gwenole Beauchesne Committed by Austin Yuan

Call va_TraceEndPicture() after the actual vaEndPicture(). i.e. let the driver...

Call va_TraceEndPicture() after the actual vaEndPicture(). i.e. let the driver flush and complete rendering of the surface.
parent 9ce47af9
...@@ -712,12 +712,14 @@ VAStatus vaEndPicture ( ...@@ -712,12 +712,14 @@ VAStatus vaEndPicture (
VAContextID context VAContextID context
) )
{ {
VAStatus va_status;
VADriverContextP ctx; VADriverContextP ctx;
CHECK_DISPLAY(dpy); CHECK_DISPLAY(dpy);
ctx = CTX(dpy); ctx = CTX(dpy);
va_status = ctx->vtable.vaEndPicture( ctx, context );
VA_TRACE(va_TraceEndPicture, dpy, context); VA_TRACE(va_TraceEndPicture, dpy, context);
return ctx->vtable.vaEndPicture( ctx, context ); return va_status;
} }
VAStatus vaSyncSurface ( VAStatus vaSyncSurface (
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment