CN106326186B - A kind of system on chip, pattern drawing method, middle layer and embedded device - Google Patents

A kind of system on chip, pattern drawing method, middle layer and embedded device Download PDF

Info

Publication number
CN106326186B
CN106326186B CN201510368425.2A CN201510368425A CN106326186B CN 106326186 B CN106326186 B CN 106326186B CN 201510368425 A CN201510368425 A CN 201510368425A CN 106326186 B CN106326186 B CN 106326186B
Authority
CN
China
Prior art keywords
middle layer
configuration information
graph data
processing task
graphics processor
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.)
Active
Application number
CN201510368425.2A
Other languages
Chinese (zh)
Other versions
CN106326186A (en
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.)
Shenzhen ZTE Microelectronics Technology Co Ltd
Original Assignee
Shenzhen ZTE Microelectronics 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 Shenzhen ZTE Microelectronics Technology Co Ltd filed Critical Shenzhen ZTE Microelectronics Technology Co Ltd
Priority to CN201510368425.2A priority Critical patent/CN106326186B/en
Priority to PCT/CN2016/077924 priority patent/WO2017000605A1/en
Publication of CN106326186A publication Critical patent/CN106326186A/en
Application granted granted Critical
Publication of CN106326186B publication Critical patent/CN106326186B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Image Generation (AREA)

Abstract

The invention discloses a kind of systems on chip, comprising: central processing unit, for running middle layer;Graphics processor, for obtaining configuration information, graph data to be drawn and processing task corresponding with the graph data from the middle layer, the graph data is drawn according to the processing task and the configuration information, the first graphic picture is obtained, and first graphic picture is exported to framebuffer device;Framebuffer device obtains the configuration information, graph data and the processing task for the middle layer, buffers the configuration information, graph data and the processing task;Central processing unit is also used to obtain the configuration information, the graph data and the processing task from framebuffer device, is drawn according to the processing task and the configuration information to the graph data, obtain second graph picture.The present invention also discloses a kind of pattern drawing method, middle layer and embedded devices.

Description

A kind of system on chip, pattern drawing method, middle layer and embedded device
Technical field
The present invention relates to graphic plotting and display technology more particularly to a kind of system on chip, pattern drawing method, middle layers And embedded device.
Background technique
As mobile network is Embedded universal and development, system on chip (SoC, the System in embedded device Chip function) is stronger and stronger, and therefore, the application of embedded device is also just more and more extensive, such as user can will be various Multimedia application (APP, application) such as graphics process APP, game APP is installed in embedded system, with logical It crosses graphics process APP (also known as image procossing APP) and carries out graphics process, various game are played by game APP.It is with game Example, the game APP being much getting larger and larger is very high to graphical display effect and graphical display rate request, in order to play game ratio Smoothly, graphical display effect and graphical display speed are the important indicators that people measured and bought embedded device.
Above-mentioned multimedia APP in the process of running, is all based on mbedded GUI (GUI, Graphical User Interface, also known as graphical user interface), in other words, embedded (GUI) is an important set of embedded system At part.It is different from the operating system on personal computer (PC), since the condition of embedded system hardware itself limits, commonly use The GUI system of PC machine be not suitable for running in embedded system, therefore produce many especially embedding based on embedded system Enter the GUI of formula Linux.Current Embedded GUI mainly has OpenGUI, Microwindows, QT/Embedded, MiniGUI Etc..However the graphical display effect and graphical display speed of embedded device are unsatisfactory at present, for example, figure is used Family interface (GUI, Graphical User Interface, also known as graphical user interface) system is related to many graphic operations, than Such as draw point, setting-out, filling, transparency processing, smoothness processing, the superposition of layer, Font processing, textures.If these figures Shape operation is all handled by central processing unit (CPU), this will be one to CPU very big load.
In the prior art, at the figure that there is no special for carrying out graphics process in the system on chip of embedded device It manages device (Graphics Processing Unit, GPU), all gives CPU so as to cause all graphic plotting operations to locate Reason, increases the load of CPU in this way, thereby reduces the overall performance of system, especially when carrying out complicated game operation Interface display meeting Caton, the final experience for influencing user.
Summary of the invention
In view of this, the embodiment of the present invention be solve the problems, such as it is existing in the prior art at least one and a kind of on piece is provided System, pattern drawing method, middle layer and embedded device, can be improved the overall performance of system on chip and then raising figure is aobvious The speed shown, finally improves user experience.
The technical solution of the embodiment of the present invention is achieved in that
In a first aspect, the embodiment of the present invention provides a kind of system on chip, the system on chip includes central processing unit, figure Processor and framebuffer device, in which:
Central processing unit, for running middle layer;
Graphics processor, for from the middle layer obtain configuration information, graph data to be drawn and with the figure The corresponding processing task of graphic data;
Graphics processor is also used to draw the graph data according to the processing task and the configuration information System, obtains the first graphic picture, and first graphic picture is exported to framebuffer device;
Framebuffer device obtains the configuration information, graph data and the processing task for the middle layer;
Framebuffer device is also used to buffer the configuration information, graph data and the processing task;
Central processing unit, be also used to from obtained in framebuffer device the configuration information, the graph data and it is described from Reason task draws the graph data according to the processing task and the configuration information, obtains second graph picture;
Framebuffer device is also used to obtain second graph picture from the central processing unit, and the second graph is drawn Face output;And the first graphic picture is obtained from the graphics processor, and first graphic picture is exported.
Second aspect, the embodiment of the present invention provide a kind of pattern drawing method, which comprises
Middle layer receives the call request of application layer, carries graph data to be drawn in the call request and to institute State the corresponding processing task of graph data;
Middle layer responds the call request, and the initialization for carrying out itself obtains configuration information;
After the initialization is completed, it is hardware-accelerated to judge whether system on chip is supported for middle layer;
When the system on chip supports hardware-accelerated, middle layer is by the configuration information, the graph data and described Processing task transfers to graphics processor to be drawn;
Middle layer obtains the first response message from the graphics processor, and first response message is for showing figure Whether processor draw successfully to the graph data using the processing task and the configuration information,;
First response message is carried in calling response by middle layer, and calling response is returned to the application Layer.
The third aspect, the embodiment of the present invention provide a kind of middle layer, and the middle layer includes the first receiving unit, initialization Unit, judging unit, drawing unit, first acquisition unit and output unit, in which:
First receiving unit carries in the call request wait draw for receiving the call request of application layer Graph data with to the corresponding processing task of the graph data;
The initialization unit, for responding the call request, the initialization for carrying out itself obtains configuration information;
The judging unit, for after the initialization is completed, it is hardware-accelerated to judge whether system on chip is supported;
The drawing unit is used for when the system on chip supports hardware-accelerated, by the configuration information, the figure Data and the processing task transfer to graphics processor to be drawn;
The first acquisition unit, for obtaining the first response message, first response from the graphics processor Information is for showing whether graphics processor draws the graph data using the processing task and the configuration information Function is made;
The output unit returns calling response for first response message to be carried in calling response Back to the application layer.
Fourth aspect, the embodiment of the present invention provide a kind of embedded device, and the embedded device includes display screen and piece Upper system, in which:
The system on chip includes central processing unit, graphics processor and framebuffer device, in which:
Central processing unit, for running middle layer;
Graphics processor, for from the middle layer obtain configuration information, graph data to be drawn and with the figure The corresponding processing task of graphic data;
Graphics processor is also used to draw the graph data according to the processing task, obtains the first figure Picture, and first graphic picture is exported to framebuffer device;
Framebuffer device obtains the configuration information, the graph data and the processing task for the middle layer;
Framebuffer device is also used to buffer the configuration information, the graph data and the processing task;
Central processing unit is also used to obtain the configuration information, graph data and the processing from framebuffer device and appoints Business, draws the graph data according to the processing task and the configuration information, obtains second graph picture;
Framebuffer device is also used to obtain second graph picture from the central processing unit, and the second graph is drawn Face output;And the first graphic picture is obtained from the graphics processor, and first graphic picture is exported;
The display screen, for showing the first graphic picture or second graph picture.
System on chip, pattern drawing method, middle layer and embedded device provided in an embodiment of the present invention, wherein center Processor, for running middle layer;Graphics processor, for obtaining configuration information, figure to be drawn from the middle layer Data and processing task corresponding with the graph data;Graphics processor is also used to according to the processing task and described matches Confidence breath draws the graph data, obtains the first graphic picture, and first graphic picture is exported and is delayed to frame Rush equipment;Framebuffer device obtains the configuration information, graph data and the processing task for the middle layer;Frame is slow Equipment is rushed, is also used to buffer the configuration information, graph data and the processing task;Central processing unit is also used to slow from frame It rushes in equipment and obtains the configuration information, the graph data and the processing task, according to the processing task and described match Confidence breath draws the graph data, obtains second graph picture;Framebuffer device is also used to from the central processing Device obtains second graph picture, and the second graph picture is exported, and obtain the first figure from the graphics processor Picture, and first graphic picture is exported;It so, it is possible to improve the overall performance of system on chip and then improve graphical display Speed, finally improve user experience.
Detailed description of the invention
Fig. 1-1 is system architecture schematic diagram of the system on chip when carrying out graphic plotting in the related technology;
Fig. 1-2 is system architecture schematic diagram of the system on chip when carrying out graphic plotting in the embodiment of the present invention;
Fig. 2 is the composed structure schematic diagram of graphics processor in the embodiment of the present invention;
Fig. 3 is the implementation process schematic diagram of three pattern drawing method of the embodiment of the present invention;
Fig. 4 is the implementation process schematic diagram of four pattern drawing method of the embodiment of the present invention;
Fig. 5-1 is the composed structure schematic diagram one of nine middle layer of the embodiment of the present invention;
Fig. 5-2 is the composed structure schematic diagram two of nine middle layer of the embodiment of the present invention;
Fig. 6 is the composed structure schematic diagram of ten embedded device of the embodiment of the present invention.
Specific embodiment
In the prior art, there is no special GPU in the system on chip of embedded device, draw so as to cause all figures System operation all gives CPU to handle, and specifically, as Figure 1-1, the application program (APP) 11 of application layer is needing figure When shape is drawn, drawing engine 12 can be called;Then drawing engine 12 realizes graphic plotting by DirectFB shape library 14, All graph datas can be first buffered on framebuffer device 15 by DirectFB shape library 14 during graphing, Then CPU 13 obtains graph data from framebuffer device 15, carries out graphic operation processing by operation operating system;Operation is complete At rear CPU15, by treated, graph data returns to framebuffer device 15, and then framebuffer device 15 returns to DirectFB Shape library 14.In Fig. 1-1, operating system (linux) includes the driving of the bottom hardwares such as CPU, VOU, and drawing engine 12 can be straight The interface of call operation system (13) offer is provided, is drawn to carry out operation hardware.DirectFB shape library is one special Accelerate middle layer for the figure of Linux shape library design, which is the offer Hardware graphics acceleration, defeated an of lightweight Enter equipment treatment characteristic and abstract shape library.The realization principle of DirectFB shape library is: with software encapsulation Current hardware without The pattern algorithm that method is supported is hardware-accelerated to complete, therefore, DirectFB shape library support translucent windows system and Multi-level display on frame buffering (Frame Buffer) driving of Linux, the upper layer of DirectFB shape library is directly facing one The shape library such as QT of a little application layers can provide the clothes such as display, picture, input device controls for the shape library of application layer Business.From Fig. 1-1 as can be seen that current graphic plotting depends on DirectFB shape library, therefore, scheme shown in Fig. 1-1 Shape draws mode and is also referred to as passing through the plotting mode of DirectFB shape library.
In framework shown in Fig. 1-1, this plotting mode by DirectFB shape library is a kind of drawing of pure software Mode, which give all graphic operations to CPU all to handle, increase the load of CPU in this way, to reduce and be The overall performance of system causes the speed of graphical display slow in turn.In order to solve the technical problems existing in the prior art, the present invention Embodiment will provide a kind of plotting mode based on graphics processor, and the plotting mode based on graphics processor can overcome on piece The slow-footed problem of graphical display existing for system.
The technical solution of the present invention is further elaborated in the following with reference to the drawings and specific embodiments.
Embodiment one
Fig. 1-2 is system architecture schematic diagram of the system on chip when carrying out graphic plotting in the embodiment of the present invention, such as Fig. 1-2 Shown, application program (APP) 11 of application layer can call drawing engine 12 when needing graphic plotting;Then it draws and draws It holds up 12 and graphic plotting is realized by DirectFB shape library 14, DirectFB shape library 14 can incite somebody to action during graphing All graph datas are buffered in framebuffer device 15, and then framebuffer device 15 gives graph data to be processed at figure It manages device (GPU) 16 and carries out graphic operation processing;By treated, graph data returns to frame to graphics processor 16 after the completion of operation Equipment 15 is buffered, DirectFB shape library 14 is then returned to by framebuffer device 15.
In Fig. 1-2, central processing unit and graphics processor belong to linux operating system floor portions.Both may be used To draw, unlike, corresponding central processing unit is that software is drawn, and the corresponding person of graphics processor is that hardware is drawn, intermediate Layer can be DirectFB, and DirectFB is whether drawn by central processing unit or graphics processor, drafting As a result framebuffer device is all given, framebuffer device is finally transported to the display screen of embedded device, is then inserted into formula equipment Display screen carries out display graphic picture.
It, in this way can be big from Fig. 1-2 as can be seen that system on chip provided in an embodiment of the present invention increases graphics processor 16 The big speed for improving graphic operation can reduce the load of CPU in system on chip at the same time, to improve the entirety of system Performance and then the speed for improving graphical display, finally improve user experience.If a graphic operation by graphics processor come into Row operation, probably needs 1 to 2 clock cycle (CLK), and same graphic operation at least needs if allowing CPU to carry out operation 20 clock cycle, it is seen then that the speed of graphic operation can be greatly improved by increasing graphics processor in system on chip.In addition, For Embedded SoC, the frequency and synchronous DRAM (SDRAM, Synchronous of CPU Dynamic Random Access Memory) or dynamic random access memory (DRAM, Dynamic Random Access Memory the bandwidth between) is the bottleneck of graphic operation always, so whether there is or not graphics processor and graphics process for system on chip The acceleration capacity of device whether there is or not and height, the final quality for determining GUI.
If some softwares must be needed it should be noted that graphics processor will behave in target GUI system Middle layer such as DirectFB shape library be it is different it is hardware-accelerated unified interface is provided, middle layer DirectFB shape library is position GUI on itself provides service, and DirectFB shape library is that the figure that can not be supported using software encapsulation Current hardware is calculated Method is hardware-accelerated to complete.The upper layer of DirectFB shape library is directly facing the shape library such as QT of application layer, DirectFB figure Library provides such as display, picture, input device controls service for the shape library of application layer, and the lower layer of DirectFB shape library is direct Graphics-oriented (GFX) accelerating hardware, it is desirable that hardware driving realizes all or part of scheduled Picture function, and wherein GFX accelerates hard Part can be the graphics processor in the embodiment of the present invention.
Graphics processor in Fig. 1-2 can use various graphics processors in the prior art, for example, by using Vivante 2D GPU realizes that wherein Vivante 2D GPU is mainly that the display of upper layer pattern provides hardware-accelerated, Vivante 2D GPU is that a high performance 2D figure for extensive electronic equipment for consumption renders accelerator module.Wherein, these are consumer Electronic equipment planar dimension can be from the smallest smart phone to the electronic equipment of 1080p.
In Fig. 1-2, application layer needs to call DirectFB shape library during carrying out mapping operation, DirectFB shape library relies at frame buffered-display driver (also known as buffer device, including/dev/fb0 etc.) the access figure of kernel Manage device.
In the embodiment of the present invention, the framebuffer device (also known as frame buffered-display driver) used in system on chip can be using view Frequency output unit (VOU, Video Output Unit) driving is completed, and during specific implementation, can be shown using screen Unit (OSD, On Screen Display) driving is completed, it should be noted that since OSD itself is deposited in hardware scaling part Requirement in limitation, therefore in terms of causing system on chip to be unable to satisfy zooming effect and quality.In addition, graphic operation operation is such as When fruit is using mode shown in Fig. 1-1, the demand of user is not achieved in the performance of system on chip;Based on the considerations of the above, figure The function of shape arithmetic operation and scaling part can be completed by graphics processor.The realization of comparison diagram 1-1 and Fig. 1-2 below Journey.
Fig. 1's -1 is achieved in that application layer calls DirectFB shape library, and DirectFB shape library is buffered by frame (Frame Buffer) driving obtains the parameters such as address, the display pattern of hardware display area, then by software mode to upper After the graph data brought of layer such as is decoded, scales, filling, carrying at the relational graphs arithmetic operation, it is sent to display memory and supplies OSD drives the display screen for being output to embedded device.Wherein, the software mode refers to the DirectFB shape library in Fig. 1-1 Implementation between 14 and frame buffered-display driver 15.
Fig. 1-2's is achieved in that application layer calls DirectFB shape library, and DirectFB shape library passes through Frame Buffer driving obtains the parameters such as address, the display pattern of hardware display area, then passes through software mode or hardware mode After the data that upper layer is brought be decoded, scaled, filled, carried etc. with relevant operations, be sent to display memory driven for OSD it is defeated Screen is arrived out.Wherein, the software mode refers to the reality between the DirectFB shape library 14 in Fig. 1-2 and frame buffered-display driver 15 Existing mode, the hardware mode refer to the implementation between the DirectFB shape library 14 in Fig. 1-2 and graphics processor 16.
From the comparison of the front and back of above-mentioned Fig. 1-1 and Fig. 1-2 as can be seen that the realization side of Fig. 1-2 provided in an embodiment of the present invention Formula is added to hardware mode while remaining the operation of original software mode.It needs to add figure from the angle of hardware design Shape processor;Need to realize kernel state driving and User space driving from software respective;Kernel state is for realizing Linux system framework When required operation graphics processor, User space is for completing and the docking operation of DirectFB shape library.
Embodiment two
Based on embodiment one above-mentioned, the embodiment of the present invention provides a kind of graphics processor, and Fig. 2 is in the embodiment of the present invention The composed structure schematic diagram of graphics processor, as shown in Fig. 2, graphics processor 16 includes:
Host interface (main interface) 163, for providing the interface between graphics processor and external apparatus interface, specifically Ground passes through advanced extensible interface bus (AXI, Advanced Extensible Interface Bus) 162 and system on chip Memory (such as DRAM/SDRAM) communicated, pass through Advanced High-Performance Bus interface bus (AHB, Advanced High Performance Bus) it 161 is communicated with the CPU in system on chip.In general, Host interface is in transmitting graphics data Process be cross clock domain boundary, that is, need the more than one clock cycle could data be transferred out or be transmitted into Come.
Memory Controller Hub 166, memory request mainly as graphics pipeline processing and is communicated with Host interface 163 Interface, wherein when Memory Controller Hub 166 is communicated with Host interface 163, the first Memory control channel 164 can be passed through It is communicated with 165 two, the second Memory control channel channel with Host interface 163.In addition, Memory Controller Hub 166 is also responsible for handle High-level element and order is inserted into graphics pipeline.
Pattern data memory 167, for storing graph data to be drawn, and storage complete after figure number According to;
Drawing engine 168, for being drawn using the graph data being stored in pattern data memory 167, and Rasterized pattern data.
Pixel engine, pixel engine are used to carry out rendering figure progress pixel operation and filtering;Including pixel engine point Device 169 and pixel engine buffer 170 are sent out, wherein pixel engine distributor 169 is for being distributed the pixel of figure, pixel Engine cache device 170 leads to for caching to pixel, and between pixel engine distributor 169 and pixel engine buffer 170 Cross the connection of pixel pipeline.Figure or image are made of each pixel, and therefore, pixel engine is that unit is handled according to pixel, During drawing, pixel data is distributed to pixel pipeline and handled by pixel engine distributor, and pixel engine buffer will Treated in each channel, and pixel data is cached.
Embodiment three
Based on embodiment above-mentioned, the embodiment of the present invention provides a kind of pattern drawing method, and this method is applied to embedded Equipment, the function that this method is realized can realize by the CPU caller code in embedded device, certain program generation Code can be stored in computer storage medium, it is seen then that the embedded device includes at least pocessor and storage media.
Fig. 3 is the implementation process schematic diagram of three pattern drawing method of the embodiment of the present invention, as shown in figure 3, the graphic plotting Method includes:
Step 301, middle layer receives the call request of application layer, carries figure number to be drawn in the call request According to the corresponding processing task of the graph data;
Here, the middle layer refers to the middle layer software, and during specific implementation, middle layer can be DirectFB Shape library, and with DirectFB shape library functionally similar software.
Here, the graph data includes one and more than one graphic element and each graphic element Position coordinates, the processing task include graphic operation corresponding with the graphic element.Wherein, the graphic operation include but It is not limited to picture point, setting-out, filling, transparency processing, smoothness processing, the superposition of layer, Font processing, textures etc. operation behaviour Make.
Step 302, middle layer responds the call request, and the initialization for carrying out itself obtains configuration information;
Here, the configuration information refers to that the configuration information of frequency output unit (VOU) register, the configuration information include Show the parameter informations such as address, display resolution.
Here, the middle layer responds the call request, and the initialization for carrying out itself obtains configuration information, comprising: in Interbed responds the call request, and middle layer control frame buffer memory device obtains the configuration information of video output unit VOU register, The configuration information includes display address, display resolution.
Step 303, after the initialization is completed, it is hardware-accelerated to judge whether system on chip is supported for middle layer;
Here, during specific implementation, judge whether system on chip supports that hardware-accelerated includes a series of step, For example, first determine whether system on chip includes graphics processor, when system on chip does not include graphics processor, then on piece system System is supported hardware-accelerated;When system on chip includes graphics processor, judge whether the graphics processor of system on chip is normal, when When normal, then system on chip supports hardware-accelerated that when abnormal, then system on chip is not supported hardware-accelerated.
Step 304, when the system on chip supports hardware-accelerated, middle layer is by the configuration information, the figure number Graphics processor is transferred to be drawn according to the processing task;
Here, the graphics processor draws the graph data according to the processing task and the configuration information System, obtains the first graphic picture, comprising:
The position coordinates for determining all graphic elements in the graph data or a part in the graph data Graphic element position coordinates;
Corresponding element is drawn according to the graphic operation of graphic element on the position coordinates of the graphic element, Obtain the first graphic picture;Wherein first graphic picture is the graphics processor according to the processing task and described matches Confidence ceases the picture to be shown after completing to the graph data.
Here, graphics processor can export first graphic picture to framebuffer device, then by framebuffer device It is finally transported to the display screen of embedded device, is then carried out showing first diagram plots by the display screen of embedded device Face.
Step 305, middle layer obtains the first response message from the graphics processor;
Here, first response message is for showing whether graphics processor utilizes the processing task and the configuration Information draw successfully to the graph data;
Step 306, first response message is carried in calling response by middle layer, and calling response is returned to The application layer.
Here, application layer refers to the shape library in application layer, such as Embedded GUI, wherein Embedded GUI mainly has OpenGUI, Microwindows, QT/Embedded, MiniGUI etc..
In the embodiment of the present invention, the method also includes steps 307 to step 309, in which:
Step 307, when the system on chip does not support hardware-accelerated, middle layer is by the configuration information, the figure Data and the processing task are buffered in framebuffer device;
Step 308, middle layer obtains the second response message from the framebuffer device, and second response message is used for Show whether central processing unit draw successfully to the graph data using the processing task and the configuration information;
Here, the central processor draws the graph data according to the processing task and the configuration information System, obtains second graph picture;Wherein the second graph picture is central processing unit according to the processing task and described matches Confidence ceases the picture to be shown after completing to the graph data, and the central processing unit obtains second graph picture Process it is similar with the process that above-mentioned graphics processor obtains the first graphic picture, therefore which is not described herein again.
Step 309, second response message is carried in calling response by middle layer, and calling response is returned to The application layer.
Here, first graphic picture can be same or different with second graph picture.
In the embodiment of the present invention, before the middle layer exports first graphic picture to framebuffer device, institute State method further include: after the middle layer carries out anti-flashing processing to first graphic picture, obtain third graphic picture;It is right Ying Di, the middle layer export the third graphic picture to framebuffer device.
Example IV
Based on embodiment three above-mentioned, the embodiment of the present invention provides a kind of pattern drawing method, and this method is applied to insertion Formula equipment, the function that this method is realized can call the program generation of DirectFB shape library by the CPU in embedded device Code realizes that the program code of certain DirectFB shape library can be stored in computer storage medium, it is seen then that this is embedded Equipment includes at least pocessor and storage media.
Fig. 4 is the implementation process schematic diagram of four pattern drawing method of the embodiment of the present invention, as shown in figure 4, the graphic plotting Method includes:
Step 401, DirectFB shape library receives the call request of application layer;
Step 402, DirectFB shape library responds the call request and is initialized;
Specifically, when DirectFB shape library carries out the initialization operation of figure, what is finally called is DirectFBInit (&argc, &argv) function and DirectFBCreate (&dfb) function.The effect of the two functions is just The entire DirectFB shape library of beginningization, and be ready for practical operations such as subsequent pictures.(ginseng during initialization See step 421,422,423 and 424), DirectFB shape library can control Frame Buffer driving and obtain linux kernel The relevant configuration information of OSD register, the relevant configuration information is for storage allocation etc., and wherein configuration information mainly includes showing Show the parameter informations such as address, display resolution.Wherein, DirectFBInit () function, mainly reading system is fixed with user The configuration information (configuration) of justice, processing order line, read environmental variance etc..DirectFBCreate () function, It is use in the data structure that IDirectFB is directed toward for completing a series of initialization, and by the information preservation of various needs The subsequent use in family.
Step 403, DirectFB shape library judges that whether system on chip is supported hardware-accelerated, when being, enters step 404, Conversely, entering step 405;
Step 404, DirectFB shape library carries out Software on Drawing;
Here, graphic plotting is carried out by the plotting mode of DirectFB shape library based on framework shown in Fig. 1-1.
Step 405, DirectFB shape library carries out hardware drafting;
Specifically, graphic plotting is carried out by graphics processor based on framework shown in Fig. 1-2.
Step 406, DirectFB shape library judges whether that anti-flashing is supported to handle, and when being, enters step 407, conversely, into Enter step 408;
Step 407, DirectFB shape library carries out anti-flashing processing.
Step 408, process terminates.
Above-mentioned 403 into step 405, DirectFB shape library can check whether system has depositing for graphics processor Hardware drawing is being carried out if having, it's not true carries out software drawing.In addition, the premise that hardware is drawn is to need accordingly firmly Part module realizes the interface function that DirectFB shape library provides.During specific implementation, graphics processor can be according to Corresponding acceleration function is realized in the requirement of DirectFB shape library, and certainly, DirectFB shape library can pass through configuration file (directfbrc) file opens or closes no-hardware option manually further to choose whether that hardware is needed to draw.
Embodiment five
The mode that DirectFB shape library combination software mode carries out graphics process is described below.The software mode Disadvantage is that performance is relatively low, carry out complex scene graphical display when, there is a problem of picture show not enough smoothness. The software mode mainly calls following function, these functions are that the canonical function that DirectFB shape library provides is as follows:
void gFillRectangle(CardState*state,DFBRectangle*rect);
void gDrawLine(CardState*state,DFBRegion*line);
void gBlit(CardState*state,DFBRectangle*rect,int dx,int dy);
void gStretchBlit(CardState*state,DFBRectangle*srect,DFBRectangle* drect);
Embodiment six
DirectFB shape library combination hardware (i.e. graphics processor) mode is described below and carries out graphics process.Relatively For software mode, the advantages of hardware mode, is: improving the speed of graphics process, system performance significantly improves.It should The function that hardware mode mainly calls is the hardware docking function that DirectFB is provided, and needs 2D Hardware drive module specific It realizes, the function which mainly calls is as follows:
bool(*Blit)(void*driver_data,void*device_data,DFBRectangle*rect,int dx,int dy);
bool(*DrawLine)(void*driver_data,void*device_data,DFBRegion*line);
bool(*FillTriangle)(void*driver_data,void*device_data,DFBTriangle* tri);
bool(*StretchBlit)(void*driver_data,void*device_data,DFBRectangle* srect,DFBRectangle*drect);
Embodiment five and six two ways of embodiment are compared below as shown in table 1:
Table 1
In table 1, what is shown from the 07th row to the 18th row is software mode as environment is locating for hardware mode, from The effect that the software mode and hardware mode that 01st row to the 06th row shows are completed, wherein from the 01st row to the 06th row this six Index can be seen that hardware mode and be far superior to software mode.
Embodiment seven
Anti- flashing processing is described below, due to OSD hardware itself, if interlaced video output, figure Shape shows apparent shake, and anti-flashing processing is carried out on the basis of software mode and hardware mode, and anti-flashing handles energy Enough improve the quality of interlacing graphical display.Anti- flashing algorithm is realized particular by following function.
void cvbs_anti_shake_neon(u8*src_addr,u8*dst_addr,u32pitch, DFBRectangle*rect,u8factor_1,u8factor_2,u8factor_3);
Comparison example five and embodiment six, from the point of view of intuitively, screen does not have flashing and trembles such anti-flashing mode Dynamic phenomenon.
Embodiment eight
Based on embodiment above-mentioned, the embodiment of the present invention provides a kind of system on chip, which includes central processing Device, graphics processor and framebuffer device, in which:
The system on chip includes central processing unit, graphics processor and framebuffer device, in which:
Central processing unit, for running middle layer;
Graphics processor, for from the middle layer obtain configuration information, graph data to be drawn and with the figure The corresponding processing task of graphic data;
Graphics processor is also used to draw the graph data according to the processing task and the configuration information System, obtains the first graphic picture, and first graphic picture is exported to framebuffer device;
Framebuffer device obtains the configuration information, graph data and the processing task for the middle layer;
Framebuffer device is also used to buffer the configuration information, graph data and the processing task;
Central processing unit, be also used to from obtained in framebuffer device the configuration information, the graph data and it is described from Reason task draws the graph data according to the processing task and the configuration information, obtains second graph picture;
Framebuffer device is also used to obtain second graph picture from the central processing unit, and the second graph is drawn Face output;And the first graphic picture is obtained from the graphics processor, and first graphic picture is exported.
In the embodiment of the present invention, graphics processor and central processing unit are by the graphic picture completed (such as the first figure Shape picture, second graph picture and third graphic picture) it all may be output to framebuffer device, then graphic picture directly passes through The display screen that other display interfaces are directly output to embedded device is docked in the OSD driving of VOU.In general, middle layer can incite somebody to action It draws success or not information to be carried in calling response, response will be called to return to application layer.
In the embodiment of the present invention, the graphics processor is Vivante 2D graphics processor.
In the embodiment of the present invention, the framebuffer device is video output unit driving.
In the embodiment of the present invention, the second graph picture and first graphic picture are identical or different.
In the embodiment of the present invention, the graph data includes one and more than one graphic element and each described The position coordinates of graphic element, the processing task include graphic operation corresponding with the graphic element.
In the embodiment of the present invention, the middle layer carries in the call request for receiving the call request of application layer Need the graph data drawn with to the corresponding processing task of the graph data;
Middle layer is also used to respond the call request, carries out the initialization of itself;
After the initialization is completed, it is hardware-accelerated to be also used to judge whether system on chip is supported for middle layer;
When the system on chip supports hardware-accelerated, middle layer is also used to appoint the graph data and the processing Business transfers to graphics processor to be drawn;
Middle layer, is also used to obtain the first response message from the graphics processor, and first response message is used for Show whether graphics processor draw successfully to the graph data using the processing task and the configuration information;
Middle layer is also used to for first response message being carried in calling response, calling response is returned to The application layer.
Embodiment nine
Based on embodiment above-mentioned, the embodiment of the present invention provides a kind of middle layer again, and Fig. 5-1 is in the embodiment of the present invention nine The composed structure schematic diagram one of interbed, as shown in fig. 5-1, the middle layer 500 include the first receiving unit 501, initialization unit 502, judging unit 503, drawing unit 504, first acquisition unit 505 and output unit 506, in which:
First receiving unit 501 carries in the call request wait draw for receiving the call request of application layer The graph data of system with to the corresponding processing task of the graph data;
The initialization unit 502, for responding the call request, the initialization for carrying out itself obtains configuration information;
Here, the initialization unit responds the call request for middle layer, and middle layer control frame buffer memory device obtains The configuration information of video output unit (VOU) register is taken, the configuration information includes display address, display resolution.
The judging unit 503, for after the initialization is completed, it is hardware-accelerated to judge whether system on chip is supported;
The drawing unit 504, for when the system on chip supports hardware-accelerated, by the configuration information, described Graph data and the processing task transfer to graphics processor to be drawn;
The first acquisition unit 505, for obtaining the first response message, first sound from the graphics processor Information is answered to be used to show whether graphics processor to carry out the graph data using the processing task and the configuration information It draws successfully;
The output unit 506 responds the calling for first response message to be carried in calling response Return to the application layer.
In the embodiment of the present invention, as shown in Fig. 5-2, the middle layer 500 further includes that buffer cell 507, second obtains list Member 508, in which:
The buffer cell 508, for when the system on chip does not support hardware-accelerated, by configuration information, the figure Graphic data and the processing task are buffered in framebuffer device;
The second acquisition unit 509, for obtaining the second response message, second sound from the framebuffer device Information is answered to be used to show whether central processing unit to carry out the graph data using the processing task and the configuration information It draws successfully;
Accordingly, the output unit, for second response message to be carried in calling response, by the calling Response returns to the application layer.
In the embodiment of the present invention, the middle layer further includes processing unit, for resisting to first graphic picture After flashing processing, third graphic picture is obtained;Accordingly, the third graphic picture is exported and is set to frame buffering by the middle layer It is standby.
It need to be noted that: the description of the above middle layer embodiment is similar, tool with the description of above-described embodiment There is the similar beneficial effect of same above-described embodiment, therefore does not repeat them here.For undisclosed skill in middle layer embodiment of the present invention Art details please refers to the description of the above embodiment of the present invention and understands, to save length, therefore repeats no more.
Embodiment ten
Based on embodiment above-mentioned, the embodiment of the present invention provides a kind of embedded device, and Fig. 6 is that the embodiment of the present invention ten is embedding Enter the composed structure schematic diagram of formula equipment, as shown in fig. 6, the embedded device 600 includes display screen 601 and system on chip 500, Wherein: the system on chip further comprises central processing unit, graphics processor and framebuffer device, in which:
Central processing unit, for running middle layer;
Graphics processor, for obtaining graph data to be drawn and corresponding with the graph data from the middle layer Processing task;
Graphics processor is also used to draw the graph data according to the processing task, obtains the first figure Picture, and first graphic picture is exported to framebuffer device;
Framebuffer device obtains the graph data and the processing task for the middle layer;
Framebuffer device is also used to buffer the graph data and the processing task;
Central processing unit is also used to obtain the graph data and the processing task from framebuffer device, according to institute It states processing task to draw the graph data, obtains second graph picture;
Framebuffer device is also used to obtain second graph picture from the central processing unit, and the second graph is drawn Face output, and the first graphic picture is obtained from the graphics processor, and first graphic picture is exported;
The display screen, for showing the first graphic picture or second graph picture.
In the embodiment of the present invention, embedded device includes set-top box, smart phone, tablet computer, navigator, vehicle mounted electric Depending on terminal devices such as, personal digital assistants.
It need to be noted that: the above embedded device implements the description of item, is similar with above-described embodiment description , there is with above-described embodiment identical beneficial effect, therefore do not repeat them here.For in embedded device embodiment of the present invention not The technical detail of disclosure, those skilled in the art please refer to the description of the above embodiment of the present invention and understand, to save length, Which is not described herein again.
It should be understood that " one embodiment " or " embodiment " that specification is mentioned in the whole text mean it is related with embodiment A particular feature, structure, or characteristic is included at least one embodiment of the present invention.Therefore, occur everywhere in the whole instruction " in one embodiment " or " in one embodiment " not necessarily refer to identical embodiment.In addition, these specific features, knot Structure or characteristic can combine in any suitable manner in one or more embodiments.It should be understood that in various implementations of the invention In example, magnitude of the sequence numbers of the above procedures are not meant that the order of the execution order, the execution sequence Ying Yiqi function of each process It can determine that the implementation process of the embodiments of the invention shall not be constituted with any limitation with internal logic.The embodiments of the present invention Serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can combine, or It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion Mutual coupling or direct-coupling or communication connection is divided to can be through some interfaces, the INDIRECT COUPLING of equipment or unit Or communication connection, it can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit The component shown can be or may not be physical unit;Both it can be located in one place, and may be distributed over multiple network lists In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated in one processing unit, it can also To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can store in computer-readable storage medium, which exists When execution, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: movable storage device, read-only deposits The various media that can store program code such as reservoir (Read Only Memory, ROM), magnetic or disk.
If alternatively, the above-mentioned integrated unit of the present invention is realized in the form of software function module and as independent product When selling or using, it also can store in a computer readable storage medium.Based on this understanding, the present invention is implemented Substantially the part that contributes to existing technology can be embodied in the form of software products the technical solution of example in other words, The computer software product is stored in a storage medium, including some instructions are used so that computer equipment (can be with It is personal computer, server or network equipment etc.) execute all or part of each embodiment the method for the present invention. And storage medium above-mentioned includes: various Jie that can store program code such as movable storage device, ROM, magnetic or disk Matter.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. a kind of system on chip, which is characterized in that the system on chip includes that central processing unit, graphics processor and frame buffering are set It is standby, in which:
Central processing unit, for running middle layer;
Graphics processor, for from the middle layer obtain configuration information, graph data to be drawn and with the figure number According to corresponding processing task;
Graphics processor is also used to draw the graph data according to the processing task and the configuration information, obtain It exports to the first graphic picture, and by first graphic picture to framebuffer device;
Framebuffer device obtains the configuration information, the graph data and the processing task for the middle layer;
Framebuffer device is also used to buffer the configuration information, graph data and the processing task;
Central processing unit is also used to obtain the configuration information, the graph data and the processing from framebuffer device and appoints Business, draws the graph data according to the processing task and the configuration information, obtains second graph picture;
Framebuffer device is also used to obtain second graph picture from the central processing unit, and the second graph picture is defeated Out;The first graphic picture is obtained from the graphics processor, and first graphic picture is exported.
2. system on chip according to claim 1, which is characterized in that the second graph picture and first diagram plots Face is identical or different.
3. system on chip according to claim 1 or 2, which is characterized in that the graph data includes more than one figure The position coordinates of shape element and each graphic element, the processing task include figure corresponding with the graphic element Shape operation.
4. system on chip according to claim 1 or 2, which is characterized in that the middle layer, for receiving the tune of application layer With request, carried in the call request graph data to be drawn with to the corresponding processing task of the graph data;
Middle layer is also used to respond the call request, carries out the initialization of itself;
After the initialization is completed, it is hardware-accelerated to be also used to judge whether system on chip is supported for middle layer;
When the system on chip supports hardware-accelerated, middle layer is also used to hand over the graph data and the processing task It is drawn by graphics processor;
Middle layer is also used to obtain the first response message from the graphics processor, and first response message is for showing Whether graphics processor draw successfully to the graph data using the processing task and the configuration information;
Middle layer is also used to for first response message being carried in calling response, calling response is returned to described Application layer.
5. a kind of pattern drawing method, which is characterized in that the described method includes:
Middle layer receives the call request of application layer, carries graph data to be drawn in the call request and to the figure The corresponding processing task of graphic data;
Middle layer responds the call request, and the initialization for carrying out itself obtains configuration information;
After the initialization is completed, it is hardware-accelerated to judge whether system on chip is supported for middle layer;
When the system on chip supports hardware-accelerated, middle layer is by the configuration information, the graph data and the processing Task transfers to graphics processor to be drawn;
Middle layer obtains the first response message from the graphics processor, and first response message is for showing graphics process Whether device draw successfully to the graph data using the processing task and the configuration information;
First response message is carried in calling response by middle layer, and calling response is returned to the application layer;
When the system on chip does not support hardware-accelerated, middle layer is by the configuration information, the graph data and the place Reason task is buffered in framebuffer device;
Middle layer obtains the second response message from the framebuffer device, and second response message is for showing central processing Whether device draw successfully to the graph data using the processing task and the configuration information;
Second response message is carried in calling response by middle layer, and calling response is returned to the application layer.
6. according to the method described in claim 5, it is characterized in that, the method also includes: when the system on chip is not supported When hardware-accelerated, the configuration information, the graph data and the processing task are buffered in framebuffer device by middle layer;
Middle layer obtains the second response message from the framebuffer device, and second response message is for showing central processing Whether device draw successfully to the graph data using the processing task and the configuration information;
Second response message is carried in calling response by middle layer, and calling response is returned to the application layer.
7. according to the method described in claim 5, it is characterized in that, the middle layer response call request, carries out itself Initialization obtain configuration information, comprising:
Middle layer responds the call request, and middle layer control frame buffer memory device obtains matching for video output unit VOU register Confidence breath, the configuration information include display address, display resolution.
8. according to the described in any item methods of claim 5 to 7, which is characterized in that in the middle layer by the first graphic picture It exports to before in framebuffer device, the method also includes:
After the middle layer carries out anti-flashing processing to first graphic picture, third graphic picture is obtained;Accordingly, described Middle layer exports the third graphic picture to framebuffer device.
9. a kind of middle layer, which is characterized in that the middle layer includes the first receiving unit, initialization unit, judging unit, draws Unit, buffer cell, first acquisition unit, second acquisition unit and output unit processed, in which:
First receiving unit carries figure to be drawn for receiving the call request of application layer in the call request Graphic data with to the corresponding processing task of the graph data;
The initialization unit, for responding the call request, the initialization for carrying out itself obtains configuration information;
The judging unit, for after the initialization is completed, it is hardware-accelerated to judge whether system on chip is supported;
The drawing unit is used for when the system on chip supports hardware-accelerated, by the configuration information, the graph data Graphics processor is transferred to be drawn with the processing task;
The first acquisition unit, for obtaining the first response message, first response message from the graphics processor For showing whether graphics processor using the processing task and the configuration information is depicted as the graph data Function;
The output unit returns to calling response for first response message to be carried in calling response The application layer;
The buffer cell, for when the system on chip does not support hardware-accelerated, middle layer is by the configuration information, described Graph data and the processing task are buffered in framebuffer device;
The second acquisition unit obtains the second response message for the middle layer from the framebuffer device, and described Two response messages are for showing whether central processing unit utilizes the processing task and the configuration information to the graph data Draw successfully;
The output unit is also used to the middle layer and second response message is carried in calling response, by the tune The application layer is returned to response.
10. a kind of embedded device, which is characterized in that the embedded device includes display screen and system on chip, in which:
The system on chip includes central processing unit, graphics processor and framebuffer device, in which:
Central processing unit, for running middle layer;
Graphics processor, for from the middle layer obtain configuration information, graph data to be drawn and with the figure number According to corresponding processing task;
Graphics processor is also used to draw the graph data according to the processing task, obtains the first graphic picture, And first graphic picture is exported to framebuffer device;
Framebuffer device obtains the configuration information, the graph data and the processing task for the middle layer;
Framebuffer device is also used to buffer the configuration information, the graph data and the processing task;
Central processing unit is also used to obtain the configuration information, graph data and the processing task, root from framebuffer device The graph data is drawn according to the processing task and the configuration information, obtains second graph picture;
Framebuffer device is also used to obtain second graph picture from the central processing unit, and the second graph picture is defeated Out;
The display screen, for showing the first graphic picture or second graph picture.
CN201510368425.2A 2015-06-29 2015-06-29 A kind of system on chip, pattern drawing method, middle layer and embedded device Active CN106326186B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510368425.2A CN106326186B (en) 2015-06-29 2015-06-29 A kind of system on chip, pattern drawing method, middle layer and embedded device
PCT/CN2016/077924 WO2017000605A1 (en) 2015-06-29 2016-03-30 System on chip, graphic plotting method, intermediate layer, embedded device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510368425.2A CN106326186B (en) 2015-06-29 2015-06-29 A kind of system on chip, pattern drawing method, middle layer and embedded device

Publications (2)

Publication Number Publication Date
CN106326186A CN106326186A (en) 2017-01-11
CN106326186B true CN106326186B (en) 2019-04-30

Family

ID=57607650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510368425.2A Active CN106326186B (en) 2015-06-29 2015-06-29 A kind of system on chip, pattern drawing method, middle layer and embedded device

Country Status (2)

Country Link
CN (1) CN106326186B (en)
WO (1) WO2017000605A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107067453A (en) * 2017-03-10 2017-08-18 珠海研果科技有限公司 A kind of MiniGUI based on linux system is drawn draws the method shown simultaneously with GPU
CN108283804A (en) * 2017-12-28 2018-07-17 天脉聚源(北京)科技有限公司 A kind of image processing method and device
CN112379875A (en) * 2020-11-13 2021-02-19 武汉蓝星科技股份有限公司 TD GUIE graphic system and QT graphic rendering library data interaction method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1890660A (en) * 2003-11-19 2007-01-03 路西德信息技术有限公司 Method and system for multiple 3-d graphic pipeline over a PC bus
CN103946789A (en) * 2011-05-16 2014-07-23 高通股份有限公司 Rendering mode selection in graphics processing units

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004004796A (en) * 2002-04-25 2004-01-08 Matsushita Electric Ind Co Ltd Image processor
KR100652705B1 (en) * 2004-12-30 2006-12-01 엘지전자 주식회사 Apparatus and method for enhancing image quality of mobile communication terminal
JP2007065758A (en) * 2005-08-29 2007-03-15 Toshiba Corp Information processing apparatus and system control method
CN102880587B (en) * 2012-10-09 2014-12-24 无锡江南计算技术研究所 Embedded accelerating core based independent graphics card architecture
US9261935B2 (en) * 2013-07-01 2016-02-16 Advanced Micro Devices, Inc. Allocating power to compute units based on energy efficiency
KR102109130B1 (en) * 2013-08-12 2020-05-08 삼성전자주식회사 Graphics processing unit, method thereof, and devices having the same

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1890660A (en) * 2003-11-19 2007-01-03 路西德信息技术有限公司 Method and system for multiple 3-d graphic pipeline over a PC bus
CN103946789A (en) * 2011-05-16 2014-07-23 高通股份有限公司 Rendering mode selection in graphics processing units

Also Published As

Publication number Publication date
CN106326186A (en) 2017-01-11
WO2017000605A1 (en) 2017-01-05

Similar Documents

Publication Publication Date Title
EP3185217B1 (en) Allocation of tiles to processing engines in a graphics processing system
CN105630441B (en) A kind of GPU system based on unified staining technique
US10535186B2 (en) Multi-resolution deferred shading using texel shaders in computing environments
US7805589B2 (en) Relative address generation
US10229470B2 (en) Mechanism to accelerate graphics workloads in a multi-core computing architecture
US10192281B2 (en) Graphics command parsing mechanism
US7724263B2 (en) System and method for a universal data write unit in a 3-D graphics pipeline including generic cache memories
US20170154403A1 (en) Triple buffered constant buffers for efficient processing of graphics data at computing devices
US20180268514A1 (en) Ray compression for efficient processing of graphics data at computing devices
US10565670B2 (en) Graphics processor register renaming mechanism
CN106575442A (en) Bandwidth reduction using texture lookup by adaptive shading
WO2022089592A1 (en) Graphics rendering method and related device thereof
US10593095B2 (en) Facilitating increased precision in mip-mapped stitched textures for graphics computing devices
WO2017039865A1 (en) Facilitating efficient scheduling of graphics workloads at computing devices
EP3374961A2 (en) Facilitating efficeint centralized rendering of viewpoint-agnostic graphics workloads at computing devices
WO2017160383A1 (en) Facilitating execution-aware hybrid preemption for execution of tasks in computing environments
WO2017099882A1 (en) Accelerated touch processing at computing devices
CN106326186B (en) A kind of system on chip, pattern drawing method, middle layer and embedded device
US9196014B2 (en) Buffer clearing apparatus and method for computer graphics
CN109844802B (en) Mechanism for improving thread parallelism in a graphics processor
WO2017200672A1 (en) Triangle rendering mechanism
CN109478137B (en) Apparatus and method for shared resource partitioning by credit management
US9881352B2 (en) Facilitating efficient graphics commands processing for bundled states at computing devices
US11615504B2 (en) Methods and apparatus for scalable primitive rate architecture for geometry processing
US20230252717A1 (en) Ray tracing processor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20170111

Assignee: Xi'an Chris Semiconductor Technology Co. Ltd.

Assignor: SHENZHEN ZTE MICROELECTRONICS TECHNOLOGY CO., LTD.

Contract record no.: 2019440020036

Denomination of invention: System on chip, graph drawing method, intermediate layer and embedded equipment

Granted publication date: 20190430

License type: Common License

Record date: 20190619