• Romain Vimont's avatar
    opengl: simplify renderer format · 8eae3e87
    Romain Vimont authored
    The interop may modify its own copy of the video_format_t.
    These changes must be reported to the core (by writing to the provided
    video_format_t), except for the orientation: it is managed internally by
    OpenGL, so from the core point of view, the orientation does not change.
    Handle the format to report to the core outside of the renderer. This
    paves the way to pass only the interop to the renderer, without an
    additional video_format_t instance.