Non-blocking graph command processing method

A technology of graphics commands and processing methods, applied in image data processing, image data processing, instruction analysis, etc., can solve problems such as low performance and restrict the performance of graphics processors, and achieve the effect of accelerating the execution of instructions

Inactive Publication Date: 2017-05-24
XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The execution speed of graphics processing API commands directly determines the performance of graphics processing. The processing methods of graphics API commands currently in p

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
  • Non-blocking graph command processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0020] The invention is a non-blocking graphics command processing method, which is characterized in that the method includes (1) a graphics command analysis method, (2) a graphics function analysis method.

[0021] (1) Graphical instruction analysis method, its characteristics are as follows:

[0022] ① Obtain a graphics API command from the host, and analyze the graphics command;

[0023] ② Pre-judge the resource lock required by the graphics API command, if the resource lock required by the graphics API command is locked, cache the graphics API command locally, and then process the next graphics API command;

[0024] ③ When there is no command from the host or the local buffer is full, update the resource lock status.

[0025] (2) Graphics command analysis method, characterized in that:

[0026] The graphics functions are classified and processed into parameter configuration, function operation and DMA transfer. The parameter configuration and function operation are cache...

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 belongs to the field of computer graphics, and relates to a non-blocking graph command processing method. The method comprises the following steps that: (1) obtaining one graphic API (Application Program Interface) command from a host, and analyzing the graphic command; (2) prejudging a resource lock required by the API command, if the resource lock required by the API command is not under a locking state, issuing and executing the graphic API command, otherwise, caching the graphic API command to locality, and processing a next graphic API command; (3) carrying out graphic command function analysis on the issued graphic API command, carrying out classification processing on graphic functions, dividing the graphic functions into parameter configuration, function operations and DMA (Direct Memory Access) transportation, adopting a caching way for the parameter configuration and the function operations, and executing an initiating operation for the DAM transportation; and (4) when a host side does not have a command or a local buffer zone is full, updating the state of the resource lock. By use of the method, on the basis of guaranteeing correct functions, out-of-order execution among commands is executed and parallel execution among graphic tasks are realized, and graphic command processing efficiency is improved.

Description

technical field [0001] The invention belongs to the field of computer graphics and relates to a non-blocking graphics command processing method. Background technique [0002] The execution speed of graphics processing API commands directly determines the performance of graphics processing. The processing methods of graphics API commands currently in public research are all serial execution, and the transmission between data does not even have DMA, resulting in low performance and directly restricting graphics processors. performance. Contents of the invention [0003] The purpose of the present invention is: [0004] The invention mainly provides a non-blocking graphics command processing method, which improves the analysis and processing efficiency of graphics API commands. [0005] The solution of the present invention is: [0006] A non-blocking graphics command processing method, comprising: [0007] (1) Obtain a graphics API command from the host, and analyze the ...

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): G06F9/30G06T1/00
CPCG06F9/30145G06T1/00
Inventor 夏大鹏刘晖马城城张琛张骏黎小玉
Owner XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
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