When possible, avoid using framebuffers for composition in your splash screen application.
You want to avoid using framebuffers (composition) because the operation adds significant time to render an image on a display. You may unknowingly create a framebuffer based on your implementation and what Screen features you use. To find out if your application creates a framebuffer, see the Other Techniques and Troubleshooting chapter.
For information about framebuffers, see Configure class subsection in the Configuring Screen chapter of the Screen Developer's Guide.
Here are a few techniques to help avoid the creation of a framebuffer in your splash screen application:
- Because you're using a window buffer for a splash screen application, use a single buffer with a size that matches the video mode that's supported by the display. If you don't use the correct format, this can increase the time it takes to show content on the display. It's important to mention that the list of supported formats that's sent as "supported" to an application doesn't necessarily mean that it works on the display. It's your responsibility to test that it works.
- The content should be full-screen and if possible, the content shouldn't be scaled. If you want to use an image that is smaller than the full-sized (full-screen) of the display, ensure that the display supports a single window when that window isn't full-sized.
- With regards to scaling, here are a few things to remember when you want to optimize the time to show an image on the display:
- Since the buffer is for the splash screen application, ensure that you don't enable protection for the buffer. It shouldn't be necessary and could increase the time it takes to show content onto the display.