Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | vo_gpu: hwdec_vaapi: handle lack of object size with AMD drivers | Philip Langdale | 2020-07-14 | 1 | -0/+26 |
| | | | | | | | | | | | | | It turns out that the AMD driver doesn't bother to set the size field in the descriptor for an exported VA surface. I guess they assume the caller can always use lseek() and don't bother. So, we need to use lseek() in these situations. Modified-by: Niklas Haas <git@haasn.xyz> Guarded this behind PL_API_VER >= 88 to prevent it from exploding on older libplacebo versions, where vaapi support does not yet work properly on AMD due to lack of DRM modifiers. | ||||
* | vo_gpu: hwdec_vaapi: add support for DRM format modifiers | Niklas Haas | 2020-07-14 | 1 | -2/+5 |
| | | | | | This is required to get non-corrupted textures when importing vaapi planes on AMD drivers. | ||||
* | vo_gpu: hwdec_vaapi: Refactor Vulkan and OpenGL interops for VAAPI | Philip Langdale | 2019-09-15 | 1 | -0/+110 |
Like hwdec_cuda, you get a big #ifdef mess if you try and keep the OpenGL and Vulkan interops in the same file. So, I've refactored them into separate files in a similar way. |