mirror of
https://github.com/androidx/media.git
synced 2025-05-07 23:50:44 +08:00

Previously in MultiInputVideoGraph, each VFP would destroy the shared eglContext, such that the same eglContext object is destroyed multiple times. Adding a flag to disallow this. The alternative being we could add a flag on the VFP constructor, but I think that is too subscriptive (meaning if we later might want to add another boolean to control another GL behaviour, multiple booleans would make the class less reason-able), and would incur a lot of code changes at places. PiperOrigin-RevId: 660354367 (cherry picked from commit 8f8e48731eeedea8636d4d31be4a0c0b9a574bec)