diff options
author | Gwenole Beauchesne <gbeauchesne@splitted-desktop.com> | 2010-06-02 09:04:33 +0200 |
---|---|---|
committer | Austin Yuan <shengquan.yuan@gmail.com> | 2010-06-02 17:23:05 +0800 |
commit | a7ec84e3d6d3279412ddddef7774d94b0a07e153 (patch) | |
tree | 1c614463041ad2ec6eb2566f9e02597032d68791 | |
parent | 9ce47af9a2df4ecbe562c1a92bf1fe8889928be8 (diff) | |
download | libva-a7ec84e3d6d3279412ddddef7774d94b0a07e153.tar.gz |
Call va_TraceEndPicture() after the actual vaEndPicture(). i.e. let the driver flush and complete rendering of the surface.
-rw-r--r-- | va/va.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -712,12 +712,14 @@ VAStatus vaEndPicture ( VAContextID context ) { + VAStatus va_status; VADriverContextP ctx; CHECK_DISPLAY(dpy); ctx = CTX(dpy); + va_status = ctx->vtable.vaEndPicture( ctx, context ); VA_TRACE(va_TraceEndPicture, dpy, context); - return ctx->vtable.vaEndPicture( ctx, context ); + return va_status; } VAStatus vaSyncSurface ( |