mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-07 08:36:02 -10:00
The G2D calls libdrm offers cannot rotate, so a core's rotation is now applied by the CPU as the frame is copied into a GEM buffer of its own, and the turned frame is placed at its turned size. Views are drawn as one frame while a rotation is set; the menu stays unturned, as in the other drivers. They cannot mirror either: an overlay image whose quad runs opposite to its texels is written mirrored into its buffer when that changes, and drawn from there. exynos_g2d_test checks all three turns and the mirrored quads.