media/libraries/transformer/src
andrewlewis ce1ac5894d Track validity of debug SurfaceView
The debug surface view's output surface can become invalid during a transformation due to the parent activity pausing, for example. This can currently cause a crash when backing out of the `TransformerActivity` in the demo because the surface can be destroyed before the transformer has fully canceled.

Also clarify naming of the outputSurface and inline the private method that created `EGLSurface`s (it was shorter after removing the debug preview).

PiperOrigin-RevId: 449963440
2022-05-24 11:03:09 +01:00
..
androidTest Rename expected to reference in SsimHelper. 2022-05-24 10:57:56 +01:00
main Track validity of debug SurfaceView 2022-05-24 11:03:09 +01:00
test Combine multiple matrix transformations in one shader. 2022-05-24 10:44:15 +01:00