The OpenGL ES 2.0 rendering context I get for my Android app is in portrait mode (480x800), but I want to render in landscape mode (800x480).
How could I rotate the OpenGL viewport, preferably without modifying the matrices sent to the shaders?
I have a bunch of shaders, some which use identity matrices (like the font renderer). So it looks like I will need to add a rotation component to the matrices in a few places. Is there a way to globally rotate the viewport somehow?
Can I somehow request a landscape rendering context from Android?
Are there any architecture patterns for this problem?