Optimize the usage of windows from Screen
We recommend that you use a single, static window buffer (SCREEN_PROPERTY_STATIC) whenever possible, and that you try to load the image directly into the window buffer.
When your application tries to show content from multiple, visible windows, Screen likely needs to create a framebuffer. When Screen creates a framebuffer, additional drivers may need to start as well, which can increase the time required to show content on the display. For this reason, to get content shown quickly, we recommend that you minimize the number of visible windows you use in your application.
- rotation
- transparency
- scaling
Since the contents of the window buffer shouldn't change, set the window's property type to SCREEN_PROPERTY_STATIC.
Using a source clip rectanglesection in the
Windowingchapter of the Screen Developer's Guide.