CPC G09G 3/22 (2013.01) [G06F 9/544 (2013.01); G09G 5/006 (2013.01); G09G 2310/0291 (2013.01); G09G 2340/0407 (2013.01); G09G 2360/18 (2013.01)] | 17 Claims |
1. A control method for display switching, comprising:
establishing a first buffer and a second buffer at a kernel layer based on an Android system and initializing the first buffer;
establishing a first service process and a second service process at a user layer based on the Android system, and controlling the first service process to render a first image according to a display parameter of the first buffer and transmit the rendered first image to a display screen via the first buffer for display; and
initializing the second buffer according to a switching instruction, and controlling the second service process to render a second image according to a display parameter of the second buffer and transmit the rendered second image to the display screen via the second buffer so as to make the display screen switch to displaying the second image;
wherein the display parameter of the first buffer is different from the display parameter of the second buffer, and the display parameter of the first buffer and the display parameter of the second buffer comprise resolution;
the control method for display switching further comprises:
determining a trigger case according to an application requirement; and
generating the switching instruction according to the trigger case;
different trigger cases corresponds to different display parameters; and
the initializing the second buffer according to the switching instruction comprises:
determining the display parameter of the second buffer according to an indicator in the switching instruction, and transferring the display parameter to the second buffer.
|