Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4891

Graphics, sound and multimedia • Re: Screen rotation without performance issues

$
0
0
Compositing just renders to an offscreen buffer first. So you should get the same performance if you render to an offscreen buffer then rotate the buffer drawing to the display. On a Pi this can be expensive but that's relative, it depends what else you're doing. This is with OpenGL since it makes offscreen rendering and drawing a render buffer rotated fast(ish).

For that matter though you could just use a transformation matrix if you're using OpenGL.

Statistics: Posted by skinmarquee — Sun Jan 21, 2024 6:48 am



Viewing all articles
Browse latest Browse all 4891

Trending Articles