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

QT-based two-dimensional/three-dimensional (2D/3D) graph drawing method and device

A graphics rendering and 3D technology, applied in the embedded field, can solve problems such as spending a lot of time and energy, and it is difficult to ensure QT2D rendering, and achieve the effect of short research and development time, simple design, and increased support

Inactive Publication Date: 2012-07-11
SHENZHEN TCL NEW-TECH CO LTD
View PDF1 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Secondly, since the original framework and the graphics acceleration driver code are closely related, it is possible to write it successfully only if you are proficient in the graphics acceleration driver principle and Power VR’s QGLScreen Driver, and it will take a lot of time and effort;
[0007] Again, because the goal of the modification is to draw 3D OpenGL ES EGL, it is difficult to guarantee that QT's 2D drawing will not cause problems

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
  • QT-based two-dimensional/three-dimensional (2D/3D) graph drawing method and device
  • QT-based two-dimensional/three-dimensional (2D/3D) graph drawing method and device
  • QT-based two-dimensional/three-dimensional (2D/3D) graph drawing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The technical solution of the present invention will be further described below in conjunction with the drawings and specific embodiments of the specification. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

[0051] Reference figure 1 and figure 2 , figure 1 It is a schematic diagram of the architecture of OpenGL ES used by QT in the prior art for drawing; figure 2 It is a schematic diagram of the architecture of QT based on the 2D drawing on the graphics library DiretFB in the prior art. by figure 1 and figure 2 It can be seen that in QT, the architecture of 3D rendering and the architecture of 2D rendering have similarities. For example, OpenGL ES is equivalent to PaintEng, and EGL is equivalent to Gfx, so there is the possibility of combining them. Of course, although the architecture is similar, the actual difference is quite big: In 3D drawing, the applic...

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 QT-based two-dimensional / three-dimensional (2D / 3D) graph drawing method and a QT-based 2D / 3D graph drawing device. The method comprises the following steps of: receiving a QT application, and performing corresponding processing according to an inherited object of the QT application; and establishing a corresponding application bottom layer according to the application type of the application, creating a corresponding window according to the application, and returning to a window handle, wherein the application type comprises 2D and 3D types. Support for OpenGL ES is increased in a mode of modifying QDirectFBScreen, and the correctness of drawing a 2D graph according to a principle can be ensured, so that research and development time is short, the design is simple, and a developer is not required to understand the writing mode of a graphics card driver. In addition, the graphics card driver can be written by a method provided by QT in spite of the 2D or 3D graph designed by a QT application layer.

Description

Technical field [0001] The invention relates to the field of embedded technology, in particular to a QT-based 2D / 3D graphics rendering method and device. Background technique [0002] With the more and more extensive applications of embedded systems, especially the application of linux embedded systems, more and more users are pursuing the interaction of graphics systems, and they also put forward higher and higher requirements for graphics systems. QT is a cross-platform C++ application framework, which is widely used in the development of graphical interface programs and provides developers with the functions needed to establish and establish state-of-the-art graphical interfaces. Therefore, QT is widely used as an open source graphics system. For example, the graphics operating environment KDE (Kool Desktop Environment) for Linux operation is developed based on the QT graphics engine. [0003] From the perspective of the development trend in the past few years, 3D technology ha...

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 SHENZHEN TCL NEW-TECH CO LTD
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