Image processing method and device

A graphics processing and graphics technology, applied in the Internet field, can solve problems such as time-consuming and graphics rendering efficiency reduction, and achieve the effect of improving efficiency

Inactive Publication Date: 2016-08-10
ALIBABA (CHINA) CO LTD
View PDF17 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, the present invention provides a method and device for graphics processing, which can solve the following problem: when an application program rendered by a fixed rendering pipeline is run on a device based on a programmable rendering pipeline, since each rendering needs to generate an AST Tree, and generate and compile the program through the AST tree to obtain the vertex program and fragment program required by the programmable rendering pipeline, so the whole process takes a long time, resulting in a greatly reduced graphics rendering efficiency

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
  • Image processing method and device
  • Image processing method and device
  • Image processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0027] In order to solve the problem of low graphics rendering efficiency in the prior art when an application program rendered by a fixed rendering pipeline is run on a device based on a programmable rendering pipeline, an embodiment of the present invention provides a graphics processing method. It is mainly used on the OpenGL ES server side, such as figure 1 As shown, the method mainly includes:

[0028] 101. After receiving a ...

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 an image processing method and device, and relates to the internet technology field. The method can solve the problem of low efficiency of graph rendering and comprises the steps of obtaining the state data carried by a rendering instruction after receiving the rendering instruction, wherein the state data is used for describing the starting states corresponding to different rendering attributes of the to-be-rendered graph; traversing a preset decision tree according to the state data, wherein from a second layer node of the decision tree, the node of each layer represents the on-off states of one rendering attribute; when a leaf node is traversed, obtaining a corresponding program object from the leaf node, wherein the program object is the program which conforms with the state combination condition defined by the traversal path, and the program object includes a compiled top program and a compiled fragment program; sending the program object to a graphics card, so that the graphics card can process the program object according to a programmable render pipeline to realize graph rendering. The method is mainly adaptive to a scene based on an OpenGL ES rendering graph.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and device for graphics processing. Background technique [0002] OpenGL ES (Open Graphics Library for Embedded Systems, Open Graphics Library for Embedded Systems) is a graphics application program interface designed for embedded devices such as mobile phones, PADs (Personal Digital Assistant, handheld computers), and game consoles. With the development of Internet technology, OpenGL ES has gradually developed from a fixed rendering pipeline to a programmable rendering pipeline, that is, from a method of fixed processing of vertices and fragments to a method of programmable processing of vertices and fragments, thereby improving Graphics processing flexibility. [0003] In practical applications, although graphics cards based on programmable rendering pipelines are gradually replacing graphics cards based on fixed rendering pipelines and widely used in devices, th...

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
CPCG06F9/451
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