Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

The invention discloses an OpenGL multi-nested display list calling method

A display list and nesting technology, applied in the field of OpenGL multiple nested display list calls, can solve the problem of frequent changes of data calling addresses, and achieve the effect of accurate acquisition

Inactive Publication Date: 2019-04-12
西安翔腾微电子科技有限公司
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] OpenGL calls these data through the glCallList command. As long as you know the storage address and total size of the function, you can easily take them out and execute them. Changes and important information storage at the jump site, subsequent supplementary calls, etc. are all technical problems that need to be solved

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
  • The invention discloses an OpenGL multi-nested display list calling method
  • The invention discloses an OpenGL multi-nested display list calling method
  • The invention discloses an OpenGL multi-nested display list calling method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] See figure 1 , figure 1 It is a schematic flowchart of an OpenGL multiple nested display list calling method provided by an embodiment of the present invention. This embodiment provides an OpenGL multiple nested display list calling method, the method comprising:

[0048] S1: Obtain each OpenGL function in the first display list;

[0049] S2: sequentially determine whether each of the OpenGL functions is a glCallList command, if not, output the OpenGL function; if so, execute step S3;

[0050] S3: call the nested display list according to the glCallList command;

[0051] S4: Process unfinished parts in all nested display lists.

[0052] Further, the S1 includes:

[0053] S11: Obtain storage information of the first display list;

[0054] Specifically, step S11 includes:

[0055] S111: Determine the first source address srcAddr1 and the first byte size size1 of the first display list;

[0056] The first source address srcAddr1 and the first byte size size1 of the...

Embodiment 2

[0090] On the basis of the above embodiments, this embodiment provides a TLM model for invoking OpenGL multiple nested display lists.

[0091] See Figure 4 , Figure 4 It is a block diagram of a TLM model used for OpenGL display list calling provided by the embodiment of the present invention. The TLM model of this embodiment includes a display list storage unit 101 for storing a preset display list; a call control unit 102 for calling the display list according to a glCallList command; a direct storage control unit 104 for when the When the call control unit 102 calls the display list, it acquires the display list data in the display list, and when receiving the call instruction sent by the call control unit 102, transmits the display list data to the call control unit 102; a nested table unit 103, configured to acquire and store the pause information in the display list data, and when receiving the call instruction sent by the call control unit 102, feed back the pause in...

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 relates to an OpenGL multi-nested display list calling method. The method comprises the steps that of S1, acquiring each OpenGL function in a first display list is acquired; S; s2, sequentially judging whether each OpenGL function is a glCall command or not, and if not, outputting the OpenGL functions; if yes, executing the step S3; S; s3, calling a nested display list according to the glCall List command; and S4, processing the unfinished parts in all the nested display lists. According to the OpenGL multi-nested display list calling method, the storage information of the display list is obtained; O; obtaining OpenGL data, The calling function of the display list is achieved in the aspects of OpenGL data analysis, glCall command nesting processing and the like, the problem that the address of a data source is frequently changed under the condition of multiple glCall nesting is solved, and the accurate obtaining function of display list data is achieved.

Description

technical field [0001] The invention belongs to the technical field of graphics processing, and in particular relates to an OpenGL multiple nested display list calling method. Background technique [0002] A display list represents a group of OpenGL data stored together, which can be created and called multiple times to improve drawing efficiency and save computer processing resources. When a display list is called, the functions it stores are executed in order. Using the display list, you can define geometry or state changes once and execute them multiple times later. It is a graphics drawing technology proposed by OpenGL to improve performance. [0003] OpenGL calls these data through the glCallList command. As long as you know the storage address and total size of the function, you can easily take them out and execute them. Changes, storage of important information on the jump site, and subsequent supplementary calls are all technical issues that need to be resolved. ...

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
IPC IPC(8): G06F8/30
CPCG06F8/312
Inventor 刘莎李冲杨洋周艺璇张佩张亚琦
Owner 西安翔腾微电子科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products