Unlock instant, AI-driven research and patent intelligence for your innovation.

Graphical data processing method

A processing method and graphics data technology, applied in the direction of image memory management, processor architecture/configuration, etc., can solve the problems of insufficient resources, inability to allocate storage space, time-consuming and other problems, and achieve the effect of increasing usage efficiency and slowing down the shortage of storage space

Inactive Publication Date: 2015-11-04
ALI CORP
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the case of insufficient storage resources, when the operating system is running a drawing program, the operating system will inevitably wait for other programs to release storage space under certain conditions, but it will take a lot of time; in the worst case, the operating system may not always be able to Allocate storage space so that the operating system is forced to quit the drawing program
On the other hand, if the drawing program can be executed in a self-defined dedicated memory block, the graphics processing program will not be interfered by other programs; but if multi-threads or multi-process (multi-process) execute drawing When programming, it is still possible to encounter a serious shortage of resources, resulting in the failure to allocate storage resources successfully. Similarly, it is still possible to forcibly jump out of the drawing program

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
  • Graphical data processing method
  • Graphical data processing method
  • Graphical data processing method

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0031] figure 2 is a flow chart of the graphic data processing method according to the first embodiment of the present invention. The present invention is applicable to an imaging device having a storage device and a two-dimensional (2D) or three-dimensional (3D) graphics accelerator. For example, the imaging device may be included in a Personal Digital Assistant (PDA) with a user interface (user interface, UI). ), mobile phone, smart phone (Smart Phone), laptop computer, notebook computer, tablet computer or wireless communication device, or one of the similar, but not limited to.

[0032] This embodiment describes the parallelism between the graphics control software and the graphics accelerator (hardware), and how the graphics control software and the graphics accelerator dynamically use storage devices. The graphics control software is partially executed by an independent microprocessor. Please note that an independent processor generally refers to a controller with prog...

no. 2 example

[0039] In the second embodiment, check whether the hardware is busy with "polling operation" (polling is a check method at a fixed time point)

[0040] image 3 is a schematic diagram of graphics data polling processing according to the second embodiment of the present invention. Please refer to image 3 . The second embodiment is another embodiment taught based on the spirit of the invention disclosed in the present invention. The drawing control software can check whether the graphics accelerator (hardware) is busy at the boundary time point of each new drawing instruction and data stored in the storage device during the software preparation instruction period 310 . For example, the drawing control software stores the time point t1 between the end time point of the first drawing command and the start time point of storing the second drawing command, and polls to check whether the graphics accelerator (hardware) is busy. Similarly, at time points t2, t3, t4, and t5, polli...

no. 3 example

[0054] The third embodiment uses "interrupt operation" to check whether the hardware is busy:

[0055] Figure 4 is a schematic diagram of graphics data interruption processing according to the third embodiment of the present invention. Please refer to Figure 4 . The third embodiment is another embodiment based on the content disclosed and taught by the first embodiment. During hardware execution instruction period 420, when the graphics accelerator has finished part of the work of the previous drawing, the graphics accelerator (hardware) notifies the drawing control software with an "interrupt operation", so that the drawing control software knows that the hardware is idle, and triggers drawing at the same time The interrupt service program of the control software checks whether there are any unexecuted instructions, and if so, sends the instruction to submit the operation, so that the hardware continues to execute new drawing instructions and data.

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 graphic data processing method which includes the steps of checking whether a graphics accelerator is busy or not, checking whether memory space of a storing device is enough or not, accumulating new drawing commands and data in the storing device when checking results are that the graphics accelerator is busy and the memory space of the storing device is still enough, executing the commands in the storing device and releasing the drawing commands and the data executed by the graphics accelerator in the storing device when the checking results are that the graphics accelerator is not used or the memory space of the storing device is full. Under the condition of not changing a hardware structure or condition, the graphic data processing method is capable of effectively increasing parallel execution efficiency of software and hardware, and easing condition of insufficient memory space of the storing device.

Description

technical field [0001] The invention relates to a graphics processing, and more specifically, to a graphics data processing technology for parallel processing software and hardware. Background technique [0002] Traditional graphics processing includes OpenVG specification and OpenGL specification. The OpenVG specification is an application programming interface (Application Programming Interface, API) specification developed under the auspices of the Khronos organization, and is used in hardware-accelerated two-dimensional (Two-dimension, 2D) vector and bitmap graphics. In addition, OpenGL defines an application programming interface for writing to generate three-dimensional (Three-dimension, 3D) and 2D graphics. [0003] figure 1 It is a traditional graph processing data schematic diagram. A traditional graphics processing program includes a software preparation instruction period 110 and a hardware execution instruction period 120, wherein the main work of the software...

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 Patents(China)
IPC IPC(8): G06T1/20G06T1/60
Inventor 陈亘志
Owner ALI CORP