Fix race condition causing hangs and EGL import errors due to concurrent snapshot() calls

This commit is contained in:
Cameron Gutman
2024-01-03 15:42:12 -06:00
parent 0403ad147a
commit e1771de37a
4 changed files with 42 additions and 11 deletions

View File

@@ -268,6 +268,9 @@ namespace egl {
display_t::pointer egl_display,
const surface_descriptor_t &xrgb);
rgb_t
create_blank(platf::img_t &img);
std::optional<nv12_t>
import_target(
display_t::pointer egl_display,