I'm trying to rotate the whole screen in GUIX. I updated GUIX library to 6.1.3 and enabled Rotation in GUIX studio. Then i modified the rz_graphics_driver_setup_565rgb() to call _gx_display_driver_565rgb_rotated_setup instead of _gx_display_driver_565rgb_setup.
The screen is displayed rotated, however, only the top half of the screen is being displayed.
Please check the following changes.All changes are in rz_display_driver_565rgb.c.Change 1:#define DISPLAY_XRES 800#define DISPLAY_YRES 480
↓
#define DISPLAY_XRES 480#define DISPLAY_YRES 800Change 2:Change the following part of ConfigureGUIXDisplayHardware565rgb().fb_stride = (uint32_t)(DISPLAY_XRES * 2); /* bytes per pixel */
fb_stride = (uint32_t)(DISPLAY_YRES * 2); /* bytes per pixel */ Change 3:Change the following part of rz_graphics_driver_setup_565rgb()._gx_display_driver_565rgb_setup(display, GX_NULL,
_gx_display_driver_565rgb_rotated_setup(display, GX_NULL,
I'm checking with Azure_RTOS_6.1_Renesas_RZA1_RSK_IAR_Samples_2021_04_28.zip on Microsoft's GitHub.
Hi,
Thank you for your reply! I have it working now. The issue was with settings in the GUIX Studio Project.