Jason Simmons 0d98a065b9 Detach the newly created EGL context from the main thread in the embedder unit tests (flutter/engine#24908)
The EGL context will be used by other threads during test execution, and it
should not be active on multiple threads at the same time.  This was not
noticed previously because SwiftShader was not checking for this, but other
EGL implementations may enforce this constraint.
2021-03-10 11:29:48 -08:00
..