Skip to content

opengl: expose orientation and support

Like in the D3D11 implementation, any OpenGL implementation and especially those coming from the user might ask a specific rendering orientation to remove the need to rotate the image after it has been done by the renderer.

In particular, the libvlc output callback allows any orientation to be supplied by the user, but was currently ignored in release and was asserting in debug because it didn't support that.

This MR writes the pipeline, currently as a static one though, to provide this feature. The implementation is complete but I haven't checked the libvlc behaviour for now.

Merge request reports

Loading