Rendering optimization method and device

An optimization method and a technology of rendering commands, which are applied in the computer field, can solve problems such as unsmooth machines, unsmooth picture display, and multi-CPU consumption, and achieve the effect of reducing consumption

Active Publication Date: 2017-03-15
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 54 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the prior art, for various types of mobile terminals, after turning on drawing and merging on a specific model, there will be problems of unsmooth picture display or frame drop, and the merging strategy is a unified strategy, and various applications can only be selected when they are released. Draw merge function or turn off draw merge function, this will lead to in order to avoid the problem of the machine not smooth or frame drop problem, and render merge optimization will be turned off on all types of mobile terminals, but turning off draw merge function will take up more CPU consumption, which is obviously not the optimal solution

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
  • Rendering optimization method and device
  • Rendering optimization method and device
  • Rendering optimization method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Embodiments of the present invention provide a rendering optimization method and device, which are used to ensure smooth image display and avoid frame drop when the rendering and merging functions are enabled on various types of mobile terminals.

[0030] In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the following The described embodiments are only some, not all, embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention belong to the protection scope of the present invention.

[0031] The terms "comprising" and "having" in the description and claims of the present invention and the above drawings, as well...

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 invention discloses a rendering optimization method and a device, wherein the display fluency of images is ensured and the frame-dropping phenomenon is avoided when the drawing and merging function is realized for a variety of types of mobile terminals. According to the method, the caching operation is conducted for a plurality of established rendering commands and vertex data associated with each rendering command. After that, the judgment and the analysis on the data volume of the vertex data, the GPU of a display card and a currently adopted operating system are conducted. If the data volume of the currently cached vertex data is smaller than or equal to a vertex data threshold, and / or the GPU belongs to a logic type set and the currently adopted operating system belongs to a system type set, at least two rendering commands among the plurality of rendering commands and having the same material identifier are merged. All merged rendering commands are then drawn. Finally, the vertex data associated with each rendering command are copied into a consecutive system memory and then are sent to a graphic rendering application program interface from the system memory.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a rendering optimization method and device. Background technique [0002] The Open Graphics Library (OpenGL) can be used for two-dimensional images or three-dimensional images, and is a powerful and convenient underlying graphics library. When using OpenGL to draw primitives, if the Vertex Buffer Object (VBO) is not used, the vertex data to be drawn is stored in the memory of the client in the form of a vertex array, and each time the drawing function is called (for example, : glDrawArrays or glDrawElements), when the Graphic Processing Unit (GPU) accesses the system memory to copy the vertex array, it needs to go through the graphics card bus to the motherboard bus and finally to the system memory. This access process is actually very inefficient. The role of VBO is to cache the vertex array that needs to be copied every time in the graphics card memory. Through VBO, ...

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): G06T1/60G06T1/00G06T1/20G06T15/00
CPCG06T1/0007G06T1/20G06T1/60G06T15/005
Inventor 熊智敏
Owner TENCENT TECH (SHENZHEN) 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