Hello,
I have a number of dialog windows for screens and navigate from one dialog to another. I had used RGB565 with multibuffering and Memdev enabled using WM_SetCreateFlags(WM_CF_MEMDEV) but observed dialog loading is slow. I call GUI_exec() continuously in my super loop while(1) to update the dialogs.
I performed the following configurations below to check the dialog loading in each case.
With WM_SetCreateFlags(WM_CF_MEMDEV) and #define GUI_BUFFERS 2
- Navigation between dialogs is slow.
Without WM_SetCreateFlags(WM_CF_MEMDEV) and #define GUI_BUFFERS 2
- Navigation between dialogs is slow.
Without WM_SetCreateFlags(WM_CF_MEMDEV) and #define GUI_BUFFERS 1
- Navigation between dialogs is fast but all dialogs flicker a lot while loading
With WM_SetCreateFlags(WM_CF_MEMDEV) and #define GUI_BUFFERS 1
- Navigation between dialogs is fast when compared to first 2 options but still needs to improve
Am using the last option above currently as it is fast when compared to other options.
With some of the dialogs knob widget is present. if knob widget is removed then it certainly improves the specific dialog load speed
I tried to use memdev for drawning bmp and rotate it using GUI_MEMDEV_Rotate to achieve similar functionality as knob but nothing was drawn on the LCD.
Do you have any sample code which replicates the knob functionality but is fast when it loads. if yes then please share it.
What can be done further to improve the load speed of the dialogs? and which is the best option to use from above options?
Thanks
Regards,
Anuj Tanksali
I have a number of dialog windows for screens and navigate from one dialog to another. I had used RGB565 with multibuffering and Memdev enabled using WM_SetCreateFlags(WM_CF_MEMDEV) but observed dialog loading is slow. I call GUI_exec() continuously in my super loop while(1) to update the dialogs.
I performed the following configurations below to check the dialog loading in each case.
With WM_SetCreateFlags(WM_CF_MEMDEV) and #define GUI_BUFFERS 2
- Navigation between dialogs is slow.
Without WM_SetCreateFlags(WM_CF_MEMDEV) and #define GUI_BUFFERS 2
- Navigation between dialogs is slow.
Without WM_SetCreateFlags(WM_CF_MEMDEV) and #define GUI_BUFFERS 1
- Navigation between dialogs is fast but all dialogs flicker a lot while loading
With WM_SetCreateFlags(WM_CF_MEMDEV) and #define GUI_BUFFERS 1
- Navigation between dialogs is fast when compared to first 2 options but still needs to improve
Am using the last option above currently as it is fast when compared to other options.
With some of the dialogs knob widget is present. if knob widget is removed then it certainly improves the specific dialog load speed
I tried to use memdev for drawning bmp and rotate it using GUI_MEMDEV_Rotate to achieve similar functionality as knob but nothing was drawn on the LCD.
Do you have any sample code which replicates the knob functionality but is fast when it loads. if yes then please share it.
What can be done further to improve the load speed of the dialogs? and which is the best option to use from above options?
Thanks
Regards,
Anuj Tanksali
The post was edited 3 times, last by anuj.tanksali ().