
This allows us to bypass many device-specific issues, that only occur when decoding directly to an encoder surface, without OpenGL. This also allows us to maintain fewer code branches, which require additional testing to verify correctness. PiperOrigin-RevId: 437003138