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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com