Maybe `LockSWGL` or `LockSWGLCompositeSurface` is getting called with a different context while it's already locked? Then `mPlanes` would get cleared (through `SetContext` > `CleanupPlanes`) and be left empty since `UpdatePlanes` gets skipped.
Bug 1812982 Comment 45 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Maybe `LockSWGL` or `LockSWGLCompositeSurface` is getting called with a different context while it's already locked? Then `mPlanes` would get cleared (through `SetContext` > `CleanupPlanes`) and be left empty since `UpdatePlanes` gets skipped. PS: Try adding a `MOZ_ASSERT(!mLocked)` to `CleanupPlanes`.
Maybe `LockSWGL` or `LockSWGLCompositeSurface` is getting called with a different context while it's already locked? Then `mPlanes` would get cleared (through `SetContext` > `CleanupPlanes`) and be left empty since `UpdatePlanes` gets skipped. PS: Try adding a `MOZ_ASSERT(!mLocked)` to `CleanupPlanes`, if that makes sense.