CN112988294B - Method and device for optimizing virtual pointer of RH850 liquid crystal instrument - Google Patents

Method and device for optimizing virtual pointer of RH850 liquid crystal instrument Download PDF

Info

Publication number
CN112988294B
CN112988294B CN202110145378.0A CN202110145378A CN112988294B CN 112988294 B CN112988294 B CN 112988294B CN 202110145378 A CN202110145378 A CN 202110145378A CN 112988294 B CN112988294 B CN 112988294B
Authority
CN
China
Prior art keywords
virtual pointer
window
frame
gpu
instrument
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110145378.0A
Other languages
Chinese (zh)
Other versions
CN112988294A (en
Inventor
王军德
陈晓龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Kotei Informatics Co Ltd
Original Assignee
Wuhan Kotei Informatics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Kotei Informatics Co Ltd filed Critical Wuhan Kotei Informatics Co Ltd
Priority to CN202110145378.0A priority Critical patent/CN112988294B/en
Publication of CN112988294A publication Critical patent/CN112988294A/en
Application granted granted Critical
Publication of CN112988294B publication Critical patent/CN112988294B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60KARRANGEMENT OR MOUNTING OF PROPULSION UNITS OR OF TRANSMISSIONS IN VEHICLES; ARRANGEMENT OR MOUNTING OF PLURAL DIVERSE PRIME-MOVERS IN VEHICLES; AUXILIARY DRIVES FOR VEHICLES; INSTRUMENTATION OR DASHBOARDS FOR VEHICLES; ARRANGEMENTS IN CONNECTION WITH COOLING, AIR INTAKE, GAS EXHAUST OR FUEL SUPPLY OF PROPULSION UNITS IN VEHICLES
    • B60K35/00Instruments specially adapted for vehicles; Arrangement of instruments in or on vehicles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention provides a method and a device for optimizing a virtual pointer of an RH850 liquid crystal instrument, wherein the method comprises the following steps: firstly, creating a virtual pointer window and a meter element window; and the virtual pointer window and the instrument element window are double buffer windows. Then, in each VSync cycle, a virtual pointer is drawn in a virtual pointer window through the GPU, and a meter element with a preset proportion is drawn in a meter element window. Compared with the prior art, the frame rate of other instrument element images except the virtual pointer is reduced by a mode of dynamically allocating GPU resources in a layered mode on the premise of not increasing the consumption of external Flash, and the virtual pointer frame rate of the RH850 liquid crystal instrument can be kept at about 60fps stably all the time. The refreshing rate of the virtual pointer of the RH850 liquid crystal instrument is effectively ensured under the condition of limited GPU operation capability.

Description

Method and device for optimizing virtual pointer of RH850 liquid crystal instrument
Technical Field
The invention relates to the field of vehicle-mounted liquid crystal instruments, in particular to a method and a device for optimizing a virtual pointer of an RH850 liquid crystal instrument.
Background
With the popularization of liquid crystal instruments, more and more automobile users pursue liquid crystal instrument panels, and currently, the RH850D1Mx series can drive a liquid crystal instrument with a size of 3.5-10.25 inches, and can drive a liquid crystal instrument with a size of 1280 × 480 at the highest. The pointer information of the large-size liquid crystal instrument, such as the speed, the rotating speed and the like, is displayed by a virtual pointer through a TFT screen, in order to meet the safety requirement of an automobile, the refreshing rate of the virtual pointer is generally required to reach 60fps, otherwise, the pointer delay can bring potential safety hazards to users; and the display frame rate of other instrument elements is only required to be kept about 20fps, so that no obvious blockage occurs to the naked eyes. However, the GPU rendering capability of the RH850MCU is very limited, and it is not guaranteed that the display refresh rate of the whole screen is stabilized at about 60 fps. It is therefore desirable to provide an efficient optimization method to ensure that the refresh rate of the pointer is stabilized at 60 fps.
The existing virtual pointer optimization method comprises the steps of independently creating a Sprite window, and pasting a dial pointer as an independent Sprite on the window; other display elements of the instrument are all placed on the other layer of window; and finally, hardware mixing is carried out on the two layers of windows by a hardware Blit Engine of RH850, and the two layers of windows are output to pixel points on a screen for displaying. Since the Sprite window can only use the map and cannot perform operations such as rotation and scaling, each rotation angle of the pointer needs to be cut into independent pictures to be placed in the external Flash, which causes the external Flash to occupy a very large resource.
Disclosure of Invention
In order to solve the above problems, embodiments of the present invention provide a method and an apparatus for optimizing a virtual pointer of an RH850 liquid crystal meter, which overcome the above problems or at least partially solve the above problems.
In a first aspect, an embodiment of the present invention provides a method for optimizing a virtual pointer of an RH850 liquid crystal instrument, including:
s1, creating a virtual pointer window and a meter element window; wherein the virtual pointer window and the meter element window are Double Buffer (Double Buffer) windows;
and S2, drawing a virtual pointer in a virtual pointer window through the GPU in each VSync period, and drawing a meter element with a preset proportion in a meter element window.
Specifically, the RH850 liquid crystal instrument MCU creates a virtual pointer window and an instrument element window, and both the two windows adopt foreground and background Double buffers. The virtual pointer window is used for drawing a virtual pointer by a GPU carried by the RH850 liquid crystal instrument MCU; the meter element window is used for the GPU to render the meter elements.
Preferably, the meter elements in step S2 are other meter display elements besides the virtual pointer, including but not limited to a display background and an indicator light.
Preferably, step S2 specifically includes:
s21, drawing a first frame of virtual pointer picture in the virtual pointer window by the GPU in the first VSync period;
s22, assuming that each frame of the instrument element picture is divided into three parts including a 1/3 part, a 2/3 part and a 3/3 part, setting the GPU to draw one part of the frame of the instrument element picture in one VSync period; after the virtual pointer of the first frame is drawn, drawing 1/3 th partial meter elements of the first frame in a meter element window through the GPU;
s23, in the second VSync period, drawing a second frame of virtual pointer picture in the virtual pointer window through the GPU, and simultaneously displaying a first frame of virtual pointer picture in the virtual pointer window; then drawing 2/3 th partial meter elements of the first frame in a meter element window through the GPU;
s24, during a third VSync cycle, drawing a third frame of virtual pointer picture in the virtual pointer window by the GPU while displaying a second frame of virtual pointer picture in the virtual pointer window, and then drawing a 3/3 th part of the meter elements of the first frame in the meter element window by the GPU.
Preferably, after step S22, the method further includes:
the render Buffer and display Buffer of the virtual pointer window are swapped each VSync interrupt after the first VSync cycle.
Preferably, after step S24, the method further includes:
in a fourth VSync period, drawing a fourth frame of virtual pointer picture in a virtual pointer window through the GPU, and simultaneously displaying a third frame of virtual pointer picture in the virtual pointer window; the 1/3 th partial meter element of the second frame is then rendered in the meter element window by the GPU while the first frame meter element frame is displayed in the meter element window.
In a second aspect, an embodiment of the present invention further provides an RH850 liquid crystal instrument virtual pointer optimization apparatus, including:
the window creating module is used for creating a virtual pointer window and a meter element window; the virtual pointer window and the instrument element window are double buffer windows;
and the drawing module is used for drawing a virtual pointer in a virtual pointer window through the GPU in each VSync period and drawing the meter elements in a preset proportion in a meter element window.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, a communication interface, and a bus; the processor, the memory and the communication interface complete mutual communication through the bus; the memory stores program instructions which can be executed by the processor, and the processor calls the program instructions to execute the method for optimizing the virtual pointer of the RH850 liquid crystal instrument provided by the embodiment of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium, which stores a computer program, and the computer program is implemented to perform the method for optimizing a virtual pointer of an RH850 liquid crystal meter provided in an embodiment of the first aspect when executed by a processor.
Compared with the prior art, the method and the device for optimizing the virtual pointer of the RH850 liquid crystal instrument provided by the embodiment of the invention have the advantages that on the premise of not increasing the consumption of external Flash, the frame rate of other instrument element images except the virtual pointer is reduced by means of layered dynamic allocation of GPU resources, and the frame rate of the virtual pointer of the RH850 liquid crystal instrument can be ensured to be kept at about 60fps stably all the time. The refreshing rate of the virtual pointer of the RH850 liquid crystal instrument is effectively ensured under the condition of limited GPU operation capability.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for optimizing a virtual pointer of an RH850 liquid crystal instrument according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a method for optimizing a virtual pointer of an RH850 liquid crystal instrument according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a virtual pointer optimizing apparatus for an RH850 liquid crystal instrument according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Currently, the RH850D1Mx series can drive a liquid crystal instrument with 3.5-10.25 inches, and can drive a liquid crystal instrument with 1280 x 480 at the highest. The pointer information of the large-size liquid crystal instrument, such as the speed, the rotating speed and the like, is displayed by a virtual pointer through a TFT screen, in order to meet the safety requirement of an automobile, the refreshing rate of the virtual pointer is generally required to reach 60fps, otherwise, the pointer delay can bring potential safety hazards to users; and the display frame rate of other instrument elements is only required to be kept about 20fps, so that no obvious blockage occurs to the naked eyes. However, the GPU rendering capability of the RH850MCU is very limited, and it is impossible to ensure that the display refresh rate of the whole screen is stabilized at about 60 fps.
Aiming at the problems in the prior art, the embodiment of the invention provides an RH850 liquid crystal instrument virtual pointer optimization method which is suitable for a liquid crystal instrument based on an RH850 chip and can effectively ensure the refresh rate of the RH850 liquid crystal instrument virtual pointer under the condition of limited GPU operation capacity. The following description and description of various embodiments are presented in conjunction with the following drawings.
Fig. 1 is a schematic flow chart of a method for optimizing a virtual pointer of an RH850 liquid crystal instrument according to an embodiment of the present invention, and as shown in fig. 1, the method for optimizing a virtual pointer of an RH850 liquid crystal instrument according to an embodiment of the present invention includes, but is not limited to, the following steps:
s1, creating a virtual pointer window and a meter element window; wherein the virtual pointer window and the meter element window are Double Buffer (Double Buffer) windows;
and S2, drawing a virtual pointer in a virtual pointer window through the GPU in each VSync period, and drawing a meter element with a preset proportion in a meter element window.
In the present embodiment, the meter element is a meter display element other than the virtual pointer. Herein, meter elements include, but are not limited to, display backgrounds and indicator lights.
Specifically, a virtual pointer window and a meter element window are created first, and foreground and background Double buffers are adopted in both windows. The virtual pointer window is used for drawing a virtual pointer by a GPU carried by the RH850 liquid crystal instrument MCU; the meter element window is used for the GPU to render the meter elements.
Because the GPU rendering capability of the RH850MCU collocation is very limited, in each VSync period, the GPU draws the virtual pointer in the virtual pointer window, and draws the meter element with the preset proportion in the meter element window, where the preset proportion may be 1/3 or 1/4, which is not specifically limited in the embodiment of the present invention. And finally, hardware mixing is carried out on the virtual pointer window and the instrument element window through a hardware Blit Engine of the RH850, and then the virtual pointer window and the instrument element window are output to pixel points on a liquid crystal screen for displaying. Therefore, more GPU rendering capacity can be allocated to the virtual pointer window by reducing the drawing period of other meter element windows, and the rendering frame rate of the virtual pointer is improved.
Fig. 2 is a schematic diagram of a method for optimizing a virtual pointer of an RH850 liquid crystal instrument according to an embodiment of the present invention, and referring to fig. 2, in each VSync period, a GPU is used to draw a preset proportion of instrument elements in an instrument element window according to an embodiment of the present invention. It may be assumed that each frame of the meter element picture is divided equally into three portions, including 1/3 th portion, 2/3 th portion, and 3/3 th portion, and the GPU is set to draw one of the portions of one frame of the meter element picture within one VSync period.
On this basis, referring to fig. 2, step S2 may specifically include the following steps:
s21, during the first VSync cycle, the GPU draws the first frame of virtual pointer picture in the virtual pointer window, taking approximately 8ms of drawing time.
S22, assuming that each frame of the instrument element picture is divided into three parts including a 1/3 part, a 2/3 part and a 3/3 part, setting the GPU to draw one part of the frame of the instrument element picture in one VSync period; after the virtual pointer of the first frame is drawn, drawing 1/3 th partial meter elements of the first frame in a meter element window through the GPU;
specifically, the screen refresh rate of the liquid crystal meter is set to 60HZ, that is, VSync interruption is generated every 16-17 ms, whereas for a meter with 1280 × 480 resolution, the drawing of the meter element needs about 22ms, so after the drawing of the virtual pointer of the first frame is completed, the GPU drawing target Buffer is set to the drawing Buffer of the meter element window, and only the drawing of the 1/3 element consumes about 8 ms.
In this embodiment, the rendering Buffer and display Buffer of the virtual pointer window are swapped each time a VSync interrupt is generated on the LCD after the first VSync cycle.
S23, in the second VSync period, drawing a second frame of virtual pointer picture in the virtual pointer window through the GPU, and simultaneously displaying a first frame of virtual pointer picture in the virtual pointer window; then drawing 2/3 th part of meter elements of the first frame in a meter element window through the GPU;
s24, during a third VSync cycle, drawing a third frame of virtual pointer picture in the virtual pointer window by the GPU while displaying a second frame of virtual pointer picture in the virtual pointer window, and then drawing a 3/3 th part of the meter elements of the first frame in the meter element window by the GPU.
Further, referring to fig. 2, during a fourth VSync period, a fourth frame of virtual pointer picture is rendered in the virtual pointer window by the GPU while a third frame of virtual pointer picture is displayed in the virtual pointer window; the 1/3 th partial meter element of the second frame is then rendered in the meter element window by the GPU while the first frame meter element frame is displayed in the meter element window.
In the embodiment of the invention, the virtual pointers can be drawn and exchanged in each VSync interrupt period process, so that a user can see that the virtual pointers are updated due to angle rotation, and the virtual pointers can reach 60 fps. Referring to fig. 2, the meter display elements may be rendered every 3 VSync periods, and the rendering Buffer and the display Buffer of the meter element window are exchanged every 3 VSync periods, such that the frame rate of the meter element window is reduced to 20 fps.
Compared with the prior art, the method for optimizing the virtual pointer of the RH850 liquid crystal instrument reduces the frame rate of other instrument element pictures except the virtual pointer by means of layered dynamic distribution of GPU resources on the premise of not increasing consumption of external Flash, and can ensure that the frame rate of the virtual pointer of the RH850 liquid crystal instrument is always stably maintained at about 60 fps. The refreshing rate of the virtual pointer of the RH850 liquid crystal instrument is effectively ensured under the condition of limited GPU operation capability.
In an embodiment, fig. 3 is a schematic structural diagram of an RH850 liquid crystal instrument virtual pointer optimization device according to an embodiment of the present invention, and the RH850 liquid crystal instrument virtual pointer optimization device according to the embodiment of the present invention is used for executing an RH850 liquid crystal instrument virtual pointer optimization method in the foregoing method embodiment. As shown in fig. 3, the apparatus includes:
a window creation module 301, configured to create a virtual pointer window and a meter element window; the virtual pointer window and the instrument element window are double buffer windows;
a drawing module 302, configured to draw, by the GPU, a virtual pointer in a virtual pointer window and draw, in each VSync cycle, a meter element in a preset proportion in a meter element window.
Specifically, how to perform the virtual pointer optimization of the RH850 liquid crystal instrument by using the window creating module 301 and the drawing module 302 may refer to the foregoing method embodiment, and details of the embodiment of the present invention are not described herein again.
In an embodiment, an embodiment of the present invention provides an electronic device, where as shown in fig. 4, the electronic device may include: a processor (processor)401, a communication Interface (communication Interface)402, a memory (memory)403 and a communication bus 404, wherein the processor 401, the communication Interface 402 and the memory 403 complete communication with each other through the communication bus 404. The processor 401 may call logic instructions in the memory 403 to execute the steps of the RH850 liquid crystal meter virtual pointer optimization method provided in the foregoing embodiments, for example, including: s1, creating a virtual pointer window and a meter element window; the virtual pointer window and the instrument element window are double buffer windows; and S2, drawing a virtual pointer in a virtual pointer window through the GPU in each VSync period, and drawing a meter element with a preset proportion in a meter element window.
In an embodiment, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented by a processor to perform the steps of the RH850 liquid crystal instrument virtual pointer optimization method provided in the foregoing embodiments, for example, including: s1, creating a virtual pointer window and a meter element window; the virtual pointer window and the instrument element window are double buffer windows; and S2, drawing a virtual pointer in a virtual pointer window through the GPU in each VSync period, and drawing a meter element with a preset proportion in a meter element window.
In summary, embodiments of the present invention provide a method and an apparatus for optimizing a virtual pointer of an RH850 liquid crystal instrument, compared with the prior art, on the premise that external Flash consumption is not increased, frame rates of images of other instrument elements except the virtual pointer are reduced by dynamically allocating GPU resources in a hierarchical manner, and it can be ensured that the frame rate of the virtual pointer of the RH850 liquid crystal instrument is always stably maintained at about 60 fps. The refreshing rate of the virtual pointer of the RH850 liquid crystal instrument is effectively ensured under the condition of limited GPU operation capability.
The embodiments of the present invention can be arbitrarily combined to achieve different technical effects.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, and not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (7)

1. A method for optimizing a virtual pointer of an RH850 liquid crystal instrument is characterized by comprising the following steps:
s1, creating a virtual pointer window and a meter element window; the virtual pointer window and the instrument element window are double buffer windows;
s2, in each VSync period, drawing a virtual pointer in a virtual pointer window through a GPU, and drawing instrument elements with preset proportion in an instrument element window; wherein, step S2 specifically includes:
s21, drawing a first frame of virtual pointer picture in the virtual pointer window by the GPU in the first VSync period;
s22, assuming that each frame of the instrument element picture is divided into three parts including a 1/3 part, a 2/3 part and a 3/3 part, setting the GPU to draw one part of the frame of the instrument element picture in one VSync period; after the first frame of virtual pointer drawing is finished, drawing 1/3 th partial meter elements of the first frame in a meter element window through the GPU;
s23, in the second VSync period, drawing a second frame of virtual pointer picture in the virtual pointer window through the GPU, and simultaneously displaying a first frame of virtual pointer picture in the virtual pointer window; then drawing 2/3 th partial meter elements of the first frame in a meter element window through the GPU;
s24, during a third VSync cycle, drawing a third frame of virtual pointer picture in the virtual pointer window by the GPU while displaying a second frame of virtual pointer picture in the virtual pointer window, and then drawing a 3/3 th part of the meter elements of the first frame in the meter element window by the GPU.
2. The method for optimizing the virtual pointer of the RH850 lcd instrument as claimed in claim 1, wherein the instrument elements in step S2 are other instrument display elements besides the virtual pointer, the instrument elements including but not limited to display background and indicator light.
3. The method for optimizing the virtual pointer of the RH850 lcd instrument of claim 1, wherein after step S22, the method further comprises:
the render Buffer and display Buffer of the virtual pointer window are swapped each VSync interrupt after the first VSync cycle.
4. The method for optimizing the virtual pointer of the RH850 lcd instrument of claim 1, wherein after step S24, the method further comprises:
in a fourth VSync period, drawing a fourth frame of virtual pointer picture in a virtual pointer window through the GPU, and simultaneously displaying a third frame of virtual pointer picture in the virtual pointer window; the 1/3 th partial meter element of the second frame is then rendered in the meter element window by the GPU while the first frame meter element frame is displayed in the meter element window.
5. An RH850 liquid crystal instrument virtual pointer optimizing device is characterized by comprising:
the window creating module is used for creating a virtual pointer window and a meter element window; the virtual pointer window and the instrument element window are double buffer windows;
the drawing module is used for drawing a virtual pointer in a virtual pointer window through a GPU in each VSync period and drawing instrument elements with preset proportion in an instrument element window; the rendering module is specifically configured to: drawing a first frame of virtual pointer picture in a virtual pointer window through a GPU in a first VSync period;
assuming that each frame of the meter element picture is divided into three parts including 1/3 th part, 2/3 th part and 3/3 th part, setting the GPU to draw one part of the frame of the meter element picture in one VSync period; after the virtual pointer of the first frame is drawn, drawing 1/3 th partial meter elements of the first frame in a meter element window through the GPU;
in a second VSync period, drawing a second frame of virtual pointer picture in a virtual pointer window through the GPU, and simultaneously displaying a first frame of virtual pointer picture in the virtual pointer window; then drawing 2/3 th partial meter elements of the first frame in a meter element window through the GPU;
during a third VSync period, a third frame of virtual pointer picture is rendered in the virtual pointer window by the GPU while a second frame of virtual pointer picture is displayed in the virtual pointer window, and then the 3/3 th partial meter element of the first frame is rendered in the meter element window by the GPU.
6. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method for optimizing the virtual pointer of an RH850 liquid crystal meter according to any one of claims 1 to 4 when executing the program.
7. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of the method for virtual pointer optimization of an RH850 liquid crystal meter according to any of claims 1 to 4.
CN202110145378.0A 2021-02-02 2021-02-02 Method and device for optimizing virtual pointer of RH850 liquid crystal instrument Active CN112988294B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110145378.0A CN112988294B (en) 2021-02-02 2021-02-02 Method and device for optimizing virtual pointer of RH850 liquid crystal instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110145378.0A CN112988294B (en) 2021-02-02 2021-02-02 Method and device for optimizing virtual pointer of RH850 liquid crystal instrument

Publications (2)

Publication Number Publication Date
CN112988294A CN112988294A (en) 2021-06-18
CN112988294B true CN112988294B (en) 2022-05-17

Family

ID=76346301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110145378.0A Active CN112988294B (en) 2021-02-02 2021-02-02 Method and device for optimizing virtual pointer of RH850 liquid crystal instrument

Country Status (1)

Country Link
CN (1) CN112988294B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108407758A (en) * 2018-02-06 2018-08-17 深圳市恒晨电器有限公司 A kind of digital instrument pointer display system and method
CN110503702A (en) * 2019-08-19 2019-11-26 武汉蓝星科技股份有限公司 A kind of full liquid crystal digital meter hardware figure layer delamination process and device
CN111145074A (en) * 2019-11-30 2020-05-12 航天科技控股集团股份有限公司 Full liquid crystal instrument image rendering method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8766993B1 (en) * 2005-04-06 2014-07-01 Teradici Corporation Methods and apparatus for enabling multiple remote displays

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108407758A (en) * 2018-02-06 2018-08-17 深圳市恒晨电器有限公司 A kind of digital instrument pointer display system and method
CN110503702A (en) * 2019-08-19 2019-11-26 武汉蓝星科技股份有限公司 A kind of full liquid crystal digital meter hardware figure layer delamination process and device
CN111145074A (en) * 2019-11-30 2020-05-12 航天科技控股集团股份有限公司 Full liquid crystal instrument image rendering method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于DirectX的虚拟仪表技术在飞行仿真中的应用;李俊涛;《空军工程大学学报(自然科学版)》;20041231;正文第1-3页 *

Also Published As

Publication number Publication date
CN112988294A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
KR101952922B1 (en) Exploiting frame to frame coherency in a sort-middle architecture
CN113225427B (en) Image display method and terminal equipment
US10037070B2 (en) Image display method and display system
EP2245598B1 (en) Multi-buffer support for off-screen surfaces in a graphics processing system
CN112655025A (en) Adaptive foveal rendering in processing
CN110989878A (en) Animation display method and device in applet, electronic equipment and storage medium
CN110471731B (en) Display interface drawing method and device, electronic equipment and computer readable medium
CN114648951A (en) Method for controlling dynamic change of screen refresh rate and electronic equipment
CN111796826B (en) Bullet screen drawing method, device, equipment and storage medium
WO2021052100A1 (en) Wayland protocol-based graphics compositing method, apparatus and system, and computer-readable storage medium
CN105426209B (en) A kind of starting up's method and apparatus of mobile terminal
CN114527980A (en) Display rendering method and device, electronic equipment and readable storage medium
CN111951206A (en) Image synthesis method, image synthesis device and terminal equipment
CN111796825B (en) Bullet screen drawing method, bullet screen drawing device, bullet screen drawing equipment and storage medium
CN112988294B (en) Method and device for optimizing virtual pointer of RH850 liquid crystal instrument
CN115423919B (en) Image rendering method, device, equipment and storage medium
CN114428573B (en) Special effect image processing method and device, electronic equipment and storage medium
CN111460342A (en) Page rendering display method and device, electronic equipment and computer storage medium
WO2021102772A1 (en) Methods and apparatus to smooth edge portions of an irregularly-shaped display
CN115826898B (en) Cross-screen display method, system, device, equipment and storage medium
CN115223516B (en) Graphics rendering and LCD driving integrated chip and related method and device
WO2023065100A1 (en) Power optimizations for sequential frame animation
WO2024044936A1 (en) Composition for layer roi processing
CN114845162B (en) Video playing method and device, electronic equipment and storage medium
US9251766B2 (en) Composing stereo 3D windowed content

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant