Display frame generation method and terminal equipment
A terminal device and display frame technology, which is applied in the field of communication, can solve the problems of reducing the timeliness of system display refresh, frame skipping, etc., and achieve the effect of optimizing the display frame rate and improving timeliness
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] figure 1 A flow chart of a method for generating a display frame according to an embodiment of the present invention is shown. Such as figure 1 As shown, the display frame generation method includes the following steps:
[0047] Step S110, in the case of judging that the drawing operation of each application currently running on the terminal device or the execution result of the composition operation of the application framework layer of the terminal device satisfies a predetermined condition, adjust the drawing execution mode of each application and the application Composition execution method of the framework layer;
[0048] Step S120, each of the applications performs a drawing operation in the adjusted drawing execution mode, so as to draw an image of each of the applications;
[0049] Step S130 , the application framework layer executes a compositing operation in the adjusted compositing execution mode, so as to compose images of each of the applications into ...
Embodiment 2
[0058] The method of this embodiment and figure 1 The main difference of the methods shown is that, in combination with factors such as the duration of the drawing operation and the duration of the synthesis operation, the running status of the application and the load of the system are determined. In step S110, the drawing operation of each application currently running on the terminal device or the The execution result of the synthesis operation of the application framework layer meets the predetermined conditions, which may specifically include any of the following situations:
[0059] Case 1: If the time taken by the application to execute the drawing operation exceeds a drawing time threshold, it is determined that a predetermined condition is met.
[0060] Case 2: If the duration of the drawing operation performed by the application exceeds the drawing time threshold and the number of consecutive times exceeds the number threshold, it is determined that the predetermine...
Embodiment 3
[0089] Figure 6 A flow chart of a method for generating a display frame according to yet another embodiment of the present invention is shown. Figure 6 neutralize figure 1 Steps with the same numbers have the same functions, and for the sake of brevity, detailed descriptions of these steps are omitted. Such as Figure 6 as shown, Figure 6 The method shown is the same as figure 1 The main difference of the methods shown is that when both the Render duration and the Compose duration are less than one system synchronization signal (Vsync signal) cycle, the virtual synchronization signal (virtual Vsync signal) is used to reduce the follow-up duration, thereby further improving the display refresh rate. timeliness.
[0090] Specifically, step S120 may specifically include the following steps:
[0091] Step S610, each of the applications executes the rendering operation in the adjusted rendering execution mode according to a virtual synchronization signal, where the virtu...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 