CN107067453A - A kind of MiniGUI based on linux system is drawn draws the method shown simultaneously with GPU - Google Patents

A kind of MiniGUI based on linux system is drawn draws the method shown simultaneously with GPU Download PDF

Info

Publication number
CN107067453A
CN107067453A CN201710148567.7A CN201710148567A CN107067453A CN 107067453 A CN107067453 A CN 107067453A CN 201710148567 A CN201710148567 A CN 201710148567A CN 107067453 A CN107067453 A CN 107067453A
Authority
CN
China
Prior art keywords
gpu
minigui
buffer zone
linux system
draw
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710148567.7A
Other languages
Chinese (zh)
Inventor
来鑫宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Fruit Technology Co Ltd
Original Assignee
Zhuhai Fruit Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Fruit Technology Co Ltd filed Critical Zhuhai Fruit Technology Co Ltd
Priority to CN201710148567.7A priority Critical patent/CN107067453A/en
Publication of CN107067453A publication Critical patent/CN107067453A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/50Lighting effects
    • G06T15/503Blending, e.g. for anti-aliasing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/28Indexing scheme for image data processing or generation, in general involving image processing hardware
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/52Parallel processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/62Semi-transparency

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Generation (AREA)

Abstract

Technical scheme includes a kind of MiniGUI based on linux system and draws the method shown simultaneously with GPU draftings, it is characterised in that this method includes:Call MiniGUI to draw interface and the object content for needing to draw is plotted to the first frame buffer region, after completing, the object content of drafting is sent to the first buffer zone;The object content for needing to draw is plotted to the second frame buffer region using GPU, after completing, the object content of drafting is sent to the second buffer zone;After GPU completes, the view data to the first buffer zone and the second buffer zone carries out image blend operation, and the final image data that married operation is generated are deposited in into display caching;Final image data are received and shown using the display engine of display device.Beneficial effects of the present invention are:The Image Rendering of complexity can be made of GPU while MiniGUI does interactive interface and is shown simultaneously.

Description

A kind of MiniGUI based on linux system is drawn draws what is shown simultaneously with GPU Method
Technical field
Drawn the present invention relates to a kind of MiniGUI based on linux system and draw the method shown simultaneously with GPU, belonged to Computer realm.
Background technology
MiniGUI(Built-in graphical interface supports system)It can be provided as the component of linux system for Related product Simple interactive interface, but GPU is not supported(Graphics processor)Accelerate, thus it is common to use the product that MiniGUI is interacted GPU can not be used to draw display.Currently, with the fast development of computer vision, GPU is more and more used in a variety of productions On product, in order to provide a kind of interactive interface of lightweight (reduction product cost) and GPU drafting function (increase product can be used Function), it is necessary to MiniGUI and GPU are carried out into close fit on linux system, be finally reached MiniGUI draftings content and The effect that the content that GPU is drawn is shown simultaneously.
The content of the invention
In view of the shortcomings of the prior art, technical scheme provides kind of the MiniGUI based on linux system and drawn The method shown simultaneously is drawn with GPU, supports GPU to draw in the scheme using MiniGUI for realizing, and by MiniGUI The content that the content and GPU of drafting are drawn is shown simultaneously.
Technical scheme includes a kind of MiniGUI based on linux system and draws what is shown simultaneously with GPU draftings Method, it is characterised in that this method includes:A. call MiniGUI to draw interface to be plotted to the object content for needing to draw pair Answer the buffer zone 1 of frame buffer 1;B., the object content for needing to draw is plotted to the buffer zone of correspondence frame buffer 2 using GPU 2;C. after GPU completes, the view data to the first buffer zone and the second buffer zone carries out image blend operation, will The final image data of married operation generation deposit in display caching;D. using the display engine of display device to final image number According to being received and shown.
Drawn according to the MiniGUI based on linux system and draw the method shown simultaneously, described step with GPU Rapid A also includes:Wherein the first buffer zone is a buffer area consistent with display device resolution ratio.
Drawn according to the MiniGUI based on linux system and draw the method shown simultaneously, described step with GPU Rapid B also includes:Wherein the and (two) buffer zone is two buffer areas consistent with display device resolution ratio.
Drawn according to the MiniGUI based on linux system and draw the method shown simultaneously, described step with GPU Rapid C also includes:Wherein married operation can be completed by the hardware figure layer of display device, by self-defined one can also be set to mix Closing processing module is used to perform mixed processing.
Beneficial effects of the present invention are:The Image Rendering of complexity can be made of GPU while MiniGUI does interactive interface And show simultaneously.
Brief description of the drawings
Fig. 1 show the overview flow chart according to embodiment of the present invention.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with the accompanying drawings with specific embodiment pair The present invention is described in detail.A kind of MiniGUI based on linux system of the present invention is drawn draws what is shown simultaneously with GPU Method is applied to the product for interactive interface, such as the field such as communication, medical treatment, industry control, electronics, set top box, vehicle-mounted, multimedia Product.
Fig. 1 show the overview flow chart according to embodiment of the present invention.Shown in its is specific as follows:
(1)The content for needing to draw is plotted to fb0 by MiniGUI drafting interface(First frame buffer region), correspond to continuous Buffer0, buffer0(First buffer area)It is one piece and display screen resolution size identical buffer.
(2)GPU is plotted to fb1 by content is drawn(Second frame buffer region), correspond to continuous buffer1(Second caching Area), buffer1 constitutes by two pieces with display screen resolution size identical buffer.
(3)When GPU, which completes, needs display, alpha blending can be passed through(Married operation)Will Buffer0 and buffer1 carries out married operation, and the result of mixing is stored in display buffer(Display caching)In, it is used for LCD is given to show.
(4)Alpha blending can be realized by software, can also be completed by hardware module, general to use display The hardware figure layer alpha blending of module are completed, to ensure blending efficiency.
MiniGUI:Built-in graphical interface supports system.
GPU:Graphics Processing Unit, graphics processor.
Buffer:Memory cache.
Fb:Framebuffer:Frame buffer, for caching the data of display.Device drives on linux system.
Alpha blending:Alpha married operations, a kind of image processing techniques.
MiniGUI can also be replaced with GPU by technical scheme, and Image Rendering is completely taken over by GPU.
Technical scheme can also be realized MiniGUI drafting by GPU, and Image Rendering is completely taken over by GPU.
It is described above, simply presently preferred embodiments of the present invention, the invention is not limited in above-mentioned embodiment, as long as It reaches the technique effect of the present invention with identical means, should all belong to protection scope of the present invention.In the protection model of the present invention Its technical scheme and/or embodiment can have a variety of modifications and variations in enclosing.

Claims (4)

1. a kind of MiniGUI based on linux system is drawn draws the method shown simultaneously with GPU, it is characterised in that this method Including:
A. MiniGUI is called to draw the buffer zone 1 that the object content for needing to draw is plotted to correspondence frame buffer 1 by interface;
B., the object content for needing to draw is plotted to the buffer zone 2 of correspondence frame buffer 2 using GPU;
C. after GPU completes, the view data to the first buffer zone and the second buffer zone carries out image blend operation, The final image data that married operation is generated deposit in display caching;
D. final image data are received and shown using the display engine of display device.
2. the MiniGUI according to claim 1 based on linux system is drawn draws the method shown simultaneously with GPU, its It is characterised by, described step A also includes:
Wherein the first buffer zone is a buffer area consistent with display device resolution ratio.
3. the MiniGUI according to claim 1 based on linux system is drawn draws the method shown simultaneously with GPU, its It is characterised by, described step B also includes:
Wherein the and buffer zone is two buffer areas consistent with display device resolution ratio.
4. the MiniGUI according to claim 1 based on linux system is drawn draws the method shown simultaneously with GPU, its It is characterised by, described step C also includes:
Wherein married operation can be completed by the hardware figure layer of display device, can also pass through one mixed processing of self-defined setting Module is used to perform mixed processing.
CN201710148567.7A 2017-03-10 2017-03-10 A kind of MiniGUI based on linux system is drawn draws the method shown simultaneously with GPU Pending CN107067453A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710148567.7A CN107067453A (en) 2017-03-10 2017-03-10 A kind of MiniGUI based on linux system is drawn draws the method shown simultaneously with GPU

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710148567.7A CN107067453A (en) 2017-03-10 2017-03-10 A kind of MiniGUI based on linux system is drawn draws the method shown simultaneously with GPU

Publications (1)

Publication Number Publication Date
CN107067453A true CN107067453A (en) 2017-08-18

Family

ID=59622914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710148567.7A Pending CN107067453A (en) 2017-03-10 2017-03-10 A kind of MiniGUI based on linux system is drawn draws the method shown simultaneously with GPU

Country Status (1)

Country Link
CN (1) CN107067453A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107678874A (en) * 2017-09-27 2018-02-09 珠海研果科技有限公司 A kind of method that MINIGUI flower screens are prevented based on LINUX system
CN109634707A (en) * 2018-12-21 2019-04-16 深圳开立生物医疗科技股份有限公司 Ultrasonic system GUI display method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110242131A1 (en) * 2010-04-01 2011-10-06 Samsung Electronics Co., Ltd. Image Display Devices and Methods of Displaying Image
CN104765595A (en) * 2014-01-08 2015-07-08 联发科技(新加坡)私人有限公司 Method and device for displaying graphical user interface
CN104951260A (en) * 2014-03-31 2015-09-30 奥视电子科技(海南)有限公司 Implementation method of mixed interface based on Qt under embedded-type Linux platform
CN105453130A (en) * 2013-08-12 2016-03-30 三星电子株式会社 Graphics processing apparatus and graphics processing method
CN106326186A (en) * 2015-06-29 2017-01-11 深圳市中兴微电子技术有限公司 System on chip, graph drawing method, intermediate layer and embedded equipment
CN106339061A (en) * 2015-07-16 2017-01-18 华为技术有限公司 Mobile terminal and method of run application thereof
US20170024924A1 (en) * 2015-07-21 2017-01-26 Ingo Wald Distributed frame buffer and api for scalable parallel rendering

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110242131A1 (en) * 2010-04-01 2011-10-06 Samsung Electronics Co., Ltd. Image Display Devices and Methods of Displaying Image
CN105453130A (en) * 2013-08-12 2016-03-30 三星电子株式会社 Graphics processing apparatus and graphics processing method
CN104765595A (en) * 2014-01-08 2015-07-08 联发科技(新加坡)私人有限公司 Method and device for displaying graphical user interface
CN104951260A (en) * 2014-03-31 2015-09-30 奥视电子科技(海南)有限公司 Implementation method of mixed interface based on Qt under embedded-type Linux platform
CN106326186A (en) * 2015-06-29 2017-01-11 深圳市中兴微电子技术有限公司 System on chip, graph drawing method, intermediate layer and embedded equipment
CN106339061A (en) * 2015-07-16 2017-01-18 华为技术有限公司 Mobile terminal and method of run application thereof
US20170024924A1 (en) * 2015-07-21 2017-01-26 Ingo Wald Distributed frame buffer and api for scalable parallel rendering

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
余才雄 等: "基于STLinux和MiniGUI的OSD设计", 《应用科技》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107678874A (en) * 2017-09-27 2018-02-09 珠海研果科技有限公司 A kind of method that MINIGUI flower screens are prevented based on LINUX system
CN109634707A (en) * 2018-12-21 2019-04-16 深圳开立生物医疗科技股份有限公司 Ultrasonic system GUI display method and device

Similar Documents

Publication Publication Date Title
US8384738B2 (en) Compositing windowing system
CN100583022C (en) Method for capturing computer screen image
US11403121B2 (en) Streaming per-pixel transparency information using transparency-agnostic video codecs
CN103269416A (en) Device and method for achieving video image tiled display by adoption of parallel processing mode
CN104020937A (en) Display method and electronic devices
US11763440B2 (en) Electronic apparatus and control method thereof
CN107067453A (en) A kind of MiniGUI based on linux system is drawn draws the method shown simultaneously with GPU
WO2023029243A1 (en) Online electronic whiteboard content synchronization and sharing system
WO2020140794A1 (en) Display panel and device, image processing method and device, and virtual reality system
GB2538797B (en) Managing display data
US20140204005A1 (en) System, method, and computer program product for distributed processing of overlapping portions of pixels
KR20210006130A (en) Display apparatus and control method thereof
US20120188270A1 (en) Method and system for blending rendered images from multiple applications
CN103135955A (en) Splicing screen synchronizer with a large resolution ratio
CN108496366A (en) Dual-screen display device, method and device, video glass, chip and processor
CN114930446A (en) Method and apparatus for partial display of frame buffer
CN109889765A (en) Method for processing video frequency, video process apparatus and conference system
CN104156188A (en) High-frame-frequency infrared scene generating and outputting system and method
CN104951260B (en) The implementation method of the mixed interface based on Qt under embedded Linux platform
CN102368211A (en) Method for implementing hardware mouse by using acceleration of OSD (on-screen display)
CN113971070B (en) Method and system suitable for multi-virtual machine on-screen display
US11361488B2 (en) Image display method and apparatus, and storage medium
US9239699B2 (en) Enabling hardware acceleration in a computing device during a mosaic display mode of operation thereof
US11605364B2 (en) Line-based rendering for graphics rendering systems, methods, and devices
WO2024044936A1 (en) Composition for layer roi processing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170818