hardware/intel/common/libva
Revision | a7ec84e3d6d3279412ddddef7774d94b0a07e153 (tree) |
---|---|
Time | 2010-06-02 18:23:05 |
Author | Gwenole Beauchesne <gbeauchesne@spli...> |
Commiter | Austin Yuan |
Call va_TraceEndPicture() after the actual vaEndPicture(). i.e. let the driver flush and complete rendering of the surface.
@@ -712,12 +712,14 @@ VAStatus vaEndPicture ( | ||
712 | 712 | VAContextID context |
713 | 713 | ) |
714 | 714 | { |
715 | + VAStatus va_status; | |
715 | 716 | VADriverContextP ctx; |
716 | 717 | CHECK_DISPLAY(dpy); |
717 | 718 | ctx = CTX(dpy); |
718 | 719 | |
720 | + va_status = ctx->vtable.vaEndPicture( ctx, context ); | |
719 | 721 | VA_TRACE(va_TraceEndPicture, dpy, context); |
720 | - return ctx->vtable.vaEndPicture( ctx, context ); | |
722 | + return va_status; | |
721 | 723 | } |
722 | 724 | |
723 | 725 | VAStatus vaSyncSurface ( |