Hi, I am using a 24bpp display on a LPC4357 with emWin.
I am using GUIC_888 color conversion and GUIDRV_LIN_32 display driver, the CPU speed is set at 204MHz, the bitmaps are cached in the internal flash memory.
I am very satisfied with all of the features, but it seems that the bitmap drawing gets a little slow.
I am checking the timing on a dialog with an ICONVIEW widget with 4 x 72x72 icons, 2 text widgets and four buttons without images, the background is a colour without gradients.
I tried both RGB 24bpp bitmaps and 32bpp bitmaps with little difference, the refresh time of the whole screen seem around 400ms, with about 100ms to redraw a single 72x72 bitmap.
Does the GUIDRV_LIN_32 use the full 32 bit bus of the LPC4357 when doing the graphic operations?
Are there any suggestions to achieve a better performance ?
I am using GUIC_888 color conversion and GUIDRV_LIN_32 display driver, the CPU speed is set at 204MHz, the bitmaps are cached in the internal flash memory.
I am very satisfied with all of the features, but it seems that the bitmap drawing gets a little slow.
I am checking the timing on a dialog with an ICONVIEW widget with 4 x 72x72 icons, 2 text widgets and four buttons without images, the background is a colour without gradients.
I tried both RGB 24bpp bitmaps and 32bpp bitmaps with little difference, the refresh time of the whole screen seem around 400ms, with about 100ms to redraw a single 72x72 bitmap.
Does the GUIDRV_LIN_32 use the full 32 bit bus of the LPC4357 when doing the graphic operations?
Are there any suggestions to achieve a better performance ?
- as stated I tried both 24BPP and 32BPP bitmaps with no appreciable difference
- I have tried both with and without RTOS with no difference
- I have checked the timing with an oscilloscope on a general purpose I/O which is set at the very beginning of the call of the GUI_Exec and reset after the same call
- I have tied using a custom copy buffer routines with no difference