Support 2D copy in HardwareBufferToGlTextureConverter
Extend GlTextureCopier to support copying from standard 2D textures (internal RGBA). This is required to support color conversion (like HDR-to-SDR tone mapping) and crop/rotation for internal textures when the downstream effects chain is empty. Always perform the copy pass (applying Y-flip) in HardwareBufferToGlTextureConverter to ensure output textures are in the consistent "upside-down in GL space" orientation expected by downstream components (like FrameWriterGlTextureFrameConsumer). This avoids incorrect flipped rendering that would occur if the copy was bypassed for right-side-up internal textures. PiperOrigin-RevId: 941195353
S
shahddaghash committed
f3f2baf3ab4734c65c7e5c041bd9523abb881799
Parent: 144c5e9
Committed by Copybara-Service <copybara-worker@google.com>
on 7/1/2026, 6:12:34 PM