Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Optimal drawing method for graph library of embedded system development platform

An embedded system and development platform technology, applied in the direction of program control devices, etc., can solve the problems of not giving full play to Qtopia's customizability and increasing the limitation of optimization methods, so as to reduce the cost of reading and writing, reduce the start-up time, and improve the efficiency.

Inactive Publication Date: 2007-08-08
ZHEJIANG UNIV
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Using Intel's compiler, improving the performance of hot functions, and increasing the cache can optimize Qtopia. However, with these optimizations, Qtopia is basically not modified. Only external tools are used, which does not give full play to the potential of Qtopia. Customization also increases the limits of these optimization methods

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
  • Optimal drawing method for graph library of embedded system development platform
  • Optimal drawing method for graph library of embedded system development platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In conjunction with the accompanying drawings, the present invention will be described in detail below through specific embodiments.

[0026] A method for optimizing graphics of an embedded system development platform graphics library, comprising the following steps:

[0027] (1) Optimized position judgment function bool QGfxRasterBase::inClip(irnt x, int y, QRect*cr, bool known_to_be_outside):

[0028] The role of the function is to judge whether the point (x, y) is within the rectangle determined by cr.

[0029] In the original function, if cr is not empty, the content in another address is directly assigned to the memory address pointed to by cr, as shown in the code on the left of Figure 1. After this statement is compiled into machine instructions, it takes 8 clock cycles during the actual execution process, and there is a delay loss of 6 clock cycles. However, this instruction may block the pipeline execution of the CPU, which will bring great system loss.

[0...

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 involves graphics library field on embedded system development platform, aiming to provide an optimal graphics drawing method for graphic libraries on embedded system development platform. The method includes the following steps: the optimal graphics drawing method for graphic libraries on embedded system development platform, whose characteristic including following steps: (a) judge the location of the painting point; (2) According to the feedback information about paintings position, paint the point; (3) In accordance with the determined point, paint the coarse line; (4) In accordance with the established line, paint the line; (5) use the color of current pen to color. Firstly, the invention first uses the pipeline to improve performance. Secondly, the function of painting points and drawing coarse lines are rewritten inline to reduce the start-up time. Finally, the function of painting and filling function remove a lot of unnecessary memory loading, increasing cache utilization, improving efficiency, and reducing the read / write costs.

Description

technical field [0001] The invention relates to the field of graphics library of embedded system development platform, more specifically, relates to a method for optimizing graphics of the graphics library of embedded system development platform. Background technique [0002] Qtopia is the first embedded window environment and application developed by Trolltech based on Qt / Embedded. There are two different versions of PDA and PHONE. It is widely used in PDAs, mobile phones, network facilities, handheld devices, etc. It includes a full set of personal information management PIM (Personal Information Management), such as address book, computer, schedule, MPEG player, image display, browser, etc., and of course Email, games, and configuration tools. [0003] Currently, the performance of QT on PC is very good. With qvfb, Qtopia programs can also run on Intel XScale PXA 255. On PC, the startup time of the whole Qt / Qtopia taskbar is less than 1 second, of which the first start...

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/44
Inventor 陈天洲马吉军黄江伟郑臻炜
Owner ZHEJIANG UNIV
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
Eureka Blog
Learn More
PatSnap group products