gstreamer/subprojects/gst-plugins-base/tests/check
Matthew Waters 9d867356df gl/bufferpool: add configuration to extend buffer lifetime before reuse
Fixes a potential GPU stall if an immediately freed texture/buffer is
attempted to be reused immediately by the CPU, e.g. when uploading.

Problematic scenario is this:
1. element does GPU processing reading from texture
2. frees the buffer back to the pool
3. pool acquire returns the just released buffer
4. GPU processing then has to wait for the previous GPU operation to
   complete causing a stall

If there was a reliable way to know whether a buffer had been finished
with across all GPU drivers, we would use it.  However as that does not
exist, this workaround is to keep the released buffer unusable until the
next released buffer.

This is the same approach as is used in the qml (Qt5) elements.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5144>
2023-08-31 01:24:38 +00:00
..
elements gl/bufferpool: add configuration to extend buffer lifetime before reuse 2023-08-31 01:24:38 +00:00
generic
gst typefindfunctions: Fix WebVTT format detection 2022-02-11 13:48:45 +00:00
libs rtpbasedepayload: Fixed HdrExt handling for aggregated output buffer 2023-08-15 07:12:03 +02:00
pipelines gl/tests: fix unused-but-set warning if built with gles2-only 2023-05-31 04:26:12 +00:00
gst-plugins-base.supp
meson.build meson: Always use forward slashes in defines with paths 2023-07-12 21:17:25 +00:00