Screen Rotation - PI4/DRM #2140
AndrewCapon
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Guys,
I have a Seed Reterminal here, the display is w=720, h=1280.
So I need this to get the display recognised:
This is now in portrait rather than landscape, so I want to rotate the display 90 degrees.
I cannot see any easy way of doing this, is there one?
I can change BeginDrawing to translate/rotate90/translate and get the rotation correct but with border on left and right and missing top and bottom.
So really I want:
So I thought I would just have a look in InitGraphicDevice and hack the code so it found the device, with the rotate code everything should work. Of course I was totally wrong!
So is there any way of easily having a render target of 1280x720 mapped to the egl display 720x1280?
Thanks for any help
Andy
Beta Was this translation helpful? Give feedback.
All reactions