• Jean-Paul Saman's avatar
    VAAPI-XCB: rewrite Surface handling. · 44eee00d
    Jean-Paul Saman authored
    The surface handling has been rewritten to be more consistent and to
    avoid reusing surfaces that are still in use by the display thread. Some
    VAAPI wrapper drivers use the DirectSurface mode, meaning that the surface
    handed by the application is used directly for displaying. It does not
    copy the surface into a display surface. When the driver does this, then
    you cannot reuse this surface which is being displayed for rendering the
    next picture too
    44eee00d
va.c 10.8 KB