Method and device for improving graphic drawing efficiency

A graphics drawing and graphics technology, applied in the field of image processing, can solve problems such as CPU resource consumption, achieve the effect of reducing CPU resources, reducing the number of redrawing times, and improving graphics drawing efficiency

Inactive Publication Date: 2015-12-09
ALIBABA (CHINA) CO LTD
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, for scenes with infrequent screen changes, such as some chess and card games, the screen after redrawing is often the same as before redrawing. If this redrawing method is also used, it will bring unnecessary consumption of CPU resources, etc.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for improving graphic drawing efficiency
  • Method and device for improving graphic drawing efficiency
  • Method and device for improving graphic drawing efficiency

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

[0046] figure 1 It is a flow chart of a method for improving graphics drawing efficiency according to an exemplary embodiment. The method can be used in terminal devices, such as mobile phones, tablet computers, PCs (personal computers), and the like. see figure 1 As shown, the method may include the following steps:

[0047] S101. Obtain the display attributes of each node on the current fr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a method and a device for improving the graphic drawing efficiency. The method comprises the following steps of obtaining the display attribute of each node on the graph of the current frame; detecting the change condition of the display attribute of each node through comparison with the display attribute of each node at the previous frame; re-drawing the graph according to the display attribute of each node only when the condition that the display attribute of each node changes is detected; and for a first preset number of subsequent frames, directly re-drawing the graph according to the obtained display attribute of each node after the obtaining of the display attribute of each node every time. The graphic drawing mode according to the embodiment has the advantages that the number of re-drawing times can be reduced; and the number of times for detecting whether the display attribute of the node changes or not can be reduced, so that the graphic drawing efficiency is really improved, and unnecessary consumption of CPU (Central Processing Unit) resources and the like can be reduced.

Description

technical field [0001] The invention relates to the technical field of image processing, in particular to a method and device for improving graphics drawing efficiency. Background technique [0002] In order to display a dynamic picture on the terminal device, the drawing program usually redraws the graphics at a certain frequency or frame rate, that is, to erase the old graphics and draw new graphics to ensure that the switching of graphics can be controlled. Real-time display, thus forming a smooth dynamic picture effect. Taking HTML5-based games as an example, the current common method is to redraw the graphics X times per second through the Canvas container to ensure the smoothness of the game screen, where X is usually greater than 30 and less than 60. [0003] In the process of implementing the present invention, the inventors found that the graphics redrawing method in the prior art is suitable for scenes where the picture is constantly changing, such as in action ga...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
Inventor 常小军
Owner ALIBABA (CHINA) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products