CN110517184A - A kind of graphic display method and device based on screen layering - Google Patents
A kind of graphic display method and device based on screen layering Download PDFInfo
- Publication number
- CN110517184A CN110517184A CN201910678503.7A CN201910678503A CN110517184A CN 110517184 A CN110517184 A CN 110517184A CN 201910678503 A CN201910678503 A CN 201910678503A CN 110517184 A CN110517184 A CN 110517184A
- Authority
- CN
- China
- Prior art keywords
- screen
- graph
- graphics cache
- application program
- program
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000015654 memory Effects 0.000 claims abstract description 29
- 230000015572 biosynthetic process Effects 0.000 claims abstract description 15
- 238000003786 synthesis reaction Methods 0.000 claims abstract description 15
- 238000010586 diagram Methods 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 6
- 230000001052 transient effect Effects 0.000 claims description 3
- 238000000151 deposition Methods 0.000 claims 1
- 238000004891 communication Methods 0.000 description 6
- 230000000739 chaotic effect Effects 0.000 description 3
- 230000007423 decrease Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/60—Memory management
Abstract
The present invention relates to a kind of graphic display methods and device based on screen layering, wherein, this method comprises: display screen is divided into the first screen figure layer and the second screen figure layer, the first graphics cache and second graph caching are respectively created in the first screen figure layer and the second screen figure layer;Multiple application programs to be shown are run, are cached the multiple application assigned to be shown to the first graphics cache and second graph according to preset rules, so that multiple application programs to be shown are drawn in corresponding graphics cache respectively;Second graph caching by the first graphics cache after drawing and after drawing synthesizes, and is shown in the display screen.Compared with prior art, the present invention being not required to reduce the demand of graphics cache to each application assigned graphics cache, to reduce EMS memory occupation, reduces the workload of multiple graphics cache synthesis, improve the graphical display speed of screen.
Description
Technical field
The present invention relates to Display Technique of Computer Graphics field more particularly to a kind of graphical display sides based on screen layering
Method and device.
Background technique
In the human-computer interaction graphical interfaces display system of computer, the corresponding one piece of memory of the display content of a screen is slow
It deposits, each display color put corresponds to several bytes in memory cache on screen.General 4 byte representation screens
The color (red, green, blue, transparency respectively account for 1 byte) of upper each point, it follows that the screen that a resolution ratio is 1920x1080
It is the graphics cache of 1920x1080x4 byte (being approximately equal to 8MB) that curtain, which just needs a size,.
Often exist simultaneously multiple application programs for needing graphical interfaces to show in a system, multiple application programs it
Between be independent from each other, each application program thinks it oneself is exclusive screen, it is not known that other side.If multiple application programs are all
The graphic display interface independent that oneself is directly drawn into screen cache, the screen content that user sees will be chaotic.
How to coordinate to show on the screen while multiple application programs, the method that most systems are taken at present be exactly to
Each application program is individually reallocated a graphics cache, this caching is big as the graphics cache of screen.Then each
Application program is all drawn in respective graphics cache.Finally all graphics caches are synthesized in the graphics cache of screen,
Existing graphic display method is as shown in Figure 1, program 1, program 2 and program 3 all individually distribute a graphics cache, 3 applications
Program is drawn in respective graphics cache.The show levels of application graphical caching are considered during synthesis, if
There is overlapping in the display area of distinct program on the screen, guarantees that level is shown above content and covers following display content, or
Person is operated by transparency overlay, and following display content can be seen through display content above.Since it is desired that the figure of synthesis
Caching is general all bigger, and the number of graphics cache is relatively more, so needing hardware accelerator just to complete synthesis
Work.The shortcomings that traditional graph display mode includes: that 1. memory consumptions are larger, every to increase a program operation, it is necessary to account for more
With the memory of 8MB.2. the workload of synthesis is bigger, every to increase a program operation, it is necessary to mostly one graphics cache of synthesis.
Summary of the invention
The present invention for the technical problems in the prior art, provides a kind of graphic display method based on screen layering
And device, solve that traditional graph display mode memory consumption is larger, and the big problem of synthetic work amount of graphics cache.
The technical scheme to solve the above technical problems is that
In a first aspect, the present invention provides a kind of graphic display method based on screen layering, comprising:
Display screen is divided into the first screen figure layer and the second screen figure layer, in the first screen figure layer and second by S1
The first graphics cache and second graph caching are respectively created in screen figure layer;
S2 runs multiple application programs to be shown, according to preset rules by the multiple application assigned to be shown extremely
First graphics cache and second graph caching, for multiple application programs to be shown respectively in corresponding graphics cache into
Row is drawn;
S3, the second graph caching by the first graphics cache after drawing and after drawing synthesizes, and is shown in described
Show screen.
The beneficial effects of the present invention are: computer display screens are divided into two layers by the present invention, and two screen figure layers all
Configure corresponding graphics cache.When there is multiple application programs to be shown to need to show respective graphical interfaces, by multiple to aobvious
Show application assigned to the corresponding graphics cache of two screen figure layers.Multiple application programs are drawn in two graphics caches respectively
Figure finally synthesizes two graphics caches after drawing.Compared with prior art, the present invention being not required to each application assigned
Graphics cache, reduces the demand of graphics cache, to reduce EMS memory occupation, reduces the work of multiple graphics cache synthesis
It measures, improves the graphical display speed of screen.
Further, the multiple application program to be shown includes at least the first application program and the second application program;
Correspondingly, the step S2 is specifically included:
S21 runs first application program, by first application assigned to the first graphics cache, for institute
It states the first application program and draws the first graph data in the first graphics cache;
S22 runs second application program, second application assigned to second graph is cached, for institute
It states the second application program and draws second graph data in second graph caching.
Further, the multiple application program to be shown further includes third application program;Correspondingly, after step s 22,
The method also includes:
S23 runs the third application program, the third application assigned to second graph is cached, for institute
It states third application program and draws third graph data in second graph caching.
Further, the second graph data and third graph data divide the corresponding viewing area of the second screen figure layer equally
Domain.
Further, the multiple application program to be shown further includes the 4th application program, correspondingly, after step S23,
The method also includes:
It is not the 4th application assigned graphics cache when the 4th application program operation.
Further, described that the first figure is respectively created in the first screen figure layer and the second screen figure layer in step S1
Shape caching and second graph caching specifically include:
Based on the size of display screen corresponding diagram shape caching, in the first screen figure layer and the second screen figure layer respectively
Create the first graphics cache and second graph caching.
Second aspect, the present invention provide a kind of graphics device based on screen layering, comprising:
Hierarchical block, for that will show that screen is divided into the first screen figure layer and the second screen figure layer, in first screen
The first graphics cache and second graph caching are respectively created in figure layer and the second screen figure layer;
Distribution module, for running multiple application programs to be shown, according to preset rules by the multiple application to be shown
Program is distributed to the first graphics cache and second graph caching, so that multiple application programs to be shown are respectively in corresponding figure
It draws in shape caching;
Synthesis module is synthesized for the second graph caching by the first graphics cache after drawing and after drawing, and
It is shown in the display screen.
Further, the multiple application program to be shown includes at least the first application program, second using journey
Sequence and third application program;
Correspondingly, the distribution module is specifically used for:
First application program is run, by first application assigned to the first graphics cache, for described
One application program draws the first graph data in the first graphics cache;
Second application program is run, second application assigned to second graph is cached, for described the
Two application programs draw second graph data in second graph caching.
The third application program is run, the third application assigned to second graph is cached, for described the
Three application programs draw third graph data in second graph caching.
The third aspect, the present invention provides a kind of electronic equipment, including memory, processor and storage are on a memory and can
The computer program run on a processor, the processor realize the method as provided by first aspect when executing described program
The step of.
Fourth aspect, the present invention provide a kind of non-transient computer readable storage medium, are stored thereon with computer program,
It is realized when the computer program is executed by processor as provided by first aspect the step of method.
Detailed description of the invention
Fig. 1 is the graphic display method schematic diagram that the prior art provides;
Fig. 2 is the graphic display method flow diagram provided in an embodiment of the present invention based on screen layering;
Fig. 3 is the graphical interface display method flow diagram of multiple application programs provided in an embodiment of the present invention;
Fig. 4 is that the graphics cache of two screen figure layers provided in an embodiment of the present invention synthesizes schematic diagram;
Fig. 5 is the graphics device structural schematic diagram provided in an embodiment of the present invention based on screen layering;
Fig. 6 is the entity structure schematic diagram of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
The principle and features of the present invention will be described below with reference to the accompanying drawings, and the given examples are served only to explain the present invention, and
It is non-to be used to limit the scope of the invention.
Fig. 2 is the graphic display method flow diagram provided in an embodiment of the present invention based on screen layering, such as Fig. 2 institute
Show, this method includes;
Display screen is divided into the first screen figure layer and the second screen figure layer, in the first screen figure layer and second by S1
The first graphics cache and second graph caching are respectively created in screen figure layer;
Wherein, screen figure layer indicates a straton screen of display screen.Graphics cache is a memory cache, every on screen
The display color of one point corresponds to several bytes in graphics cache.The general face with point each on 4 byte representation screens
Color (red, green, blue and transparency respectively account for 1 byte), it follows that the screen that a resolution ratio is 1920x1080 just needs one
A size is the graphics cache of 1920x1080x4 byte (about 8MB).Graphics cache is used to store displayable graphical information,
It determines displayable highest resolution and maximum colored quantity.It is understood that the present invention can also will show screen
It is divided into more than two screen figure layers, and configures a graphics cache in each screen figure layer, is not specifically limited herein.
S2 runs multiple application programs to be shown, according to preset rules by the multiple application assigned to be shown extremely
First graphics cache and second graph caching, for multiple application programs to be shown respectively in corresponding graphics cache into
Row is drawn;
In the description of the embodiment of the present invention, display screen is also referred to as " screen ", and application program to be shown is also referred to as
" application program ".
S3, the second graph caching by the first graphics cache after drawing and after drawing synthesizes, and is shown in described
Show screen.
Multiple need to carry out the application that graphical interfaces is shown it is understood that often existing simultaneously in computer systems
Program is independent from each other between multiple application programs, if multiple application programs are all independent in the corresponding figure of display screen
Graphing data in shape caching, the screen content that user sees will be chaotic.It is respective when there is multiple application programs needs to show
When corresponding graphical interfaces, the method that the prior art is taken is that a graphics cache is individually distributed to each application program, this
The size of a graphics cache is identical with the graphics cache size of screen.Then each application program is in respective graphics cache
It draws.Finally all graphics caches are synthesized in the graphics cache of screen.Existing graphic display method as shown in Figure 1,
All individually one graphics cache of distribution, 3 application programs are drawn in corresponding graphics cache for program 1, program 2 and program 3
Figure.The number of the graphics cache as needed for the prior art is more, causes memory consumption larger, every to increase a program operation,
With regard to needing the memories for occupying a graphics cache more.
In the present embodiment, multiple application assigneds to be shown to the first graphics cache and second graph are cached, wherein
Each graphics cache at least distributes an application program to be shown.Compared with prior art, the present invention being not required to each using journey
Sequence distributes graphics cache, reduces the demand of graphics cache.
For example, the prior art needs to be three when needing to carry out graphical interfaces display there are three application program to be shown
Application program to be shown distributes a graphics cache respectively, with the size of graphics cache for 1920x1080x4 byte (about 8MB)
For, the prior art needs to call the graphics cache of 24MB, and EMS memory occupation is larger.And graphical display provided in an embodiment of the present invention
Method draws an application assigned to be shown into the first graphics cache, to be shown using journey by other two
Sequence is distributed into second graph caching and is drawn, it is only necessary to which the graphics cache of 16MB reduces EMS memory occupation, after decreasing
The workload for continuing multiple graphics cache synthesis, improves the graphical display speed of screen.
Computer display screens are divided into two by the graphic display method provided in an embodiment of the present invention based on screen layering
Layer, and corresponding graphics cache is all configured in two screen figure layers.It is respectively right when there is multiple application programs needs to be shown to show
When the graphical interfaces answered, by multiple application assigneds to be shown to the corresponding graphics cache of two screen figure layers.Multiple applications
Program is drawn in two graphics caches respectively, finally synthesizes two graphics caches after drawing.The present invention and the prior art
It compares, is not required to reduce the demand of graphics cache to each application assigned graphics cache, account for reduce memory
With reducing the workload of multiple graphics caches synthesis, improve the graphical display speed of screen.
Content based on the above embodiment, as a kind of alternative embodiment, the multiple application program to be shown is at least wrapped
Include the first application program and the second application program;
Correspondingly, the step S2 is specifically included:
S21 runs first application program, by first application assigned to the first graphics cache, for institute
It states the first application program and draws the first graph data in the first graphics cache;
S22 runs second application program, second application assigned to second graph is cached, for institute
It states the second application program and draws second graph data in second graph caching.
Specifically, in the present embodiment, when the quantity of application program to be shown is two, first is run first and applies journey
Sequence, by the first application assigned to the first graphics cache, the first application program executes corresponding in the first graphics cache
One drawing for order draws the first graph data.
Then, the second application program is run, the second application assigned to second graph is cached, the second application program exists
Corresponding second drawing for order is executed in second graph caching, draws second graph data.
Further, the multiple application program to be shown further includes third application program;Correspondingly, step S22 it
Afterwards, the method also includes:
S23 runs the third application program, the third application assigned to second graph is cached, for institute
It states third application program and draws third graph data in second graph caching.
Specifically, the graphical interface display method process that Fig. 3 is multiple application programs provided in an embodiment of the present invention is illustrated
Scheme, in Fig. 3, program 1, program 2 and program 3 respectively indicate the first application program, the second application program in the embodiment of the present invention
With third application program.After the operation of the second application program, third application program is run, by the third application assigned
It is cached to second graph, third application program executes corresponding third drawing for order in second graph caching, draws third figure
Graphic data.Compared with prior art, the present invention is not required to reduce the need of graphics cache to each application assigned graphics cache
The amount of asking.For example, the prior art needs to divide respectively for three application programs to be shown when there are three application program to be shown operation
With a graphics cache, by taking the size of graphics cache is 1920x1080x4 byte (about 8MB) as an example, the prior art needs to adjust
With the graphics cache of 24MB, EMS memory occupation is larger.And graphic display method provided in an embodiment of the present invention, by the first application program
Distribution is drawn into the first graphics cache, by the second application program and third application assigned into second graph caching
It draws, it is only necessary to which the graphics cache of 16MB reduces EMS memory occupation, decreases the work of subsequent multiple graphics cache synthesis
It measures, improves the graphical display speed of screen.
Content based on the above embodiment, as a kind of alternative embodiment, Fig. 4 is two provided in an embodiment of the present invention screens
The graphics cache of curtain figure layer synthesizes schematic diagram, as shown in figure 4, second graph data and third graph data divide second screen equally
The corresponding display area of curtain figure layer.In Fig. 4, figure layer 1 and figure layer 2 respectively indicate the first screen figure layer and the second screen figure layer.
Second graph caching of the present embodiment by the first graphics cache after drawing and after drawing is synthesized to display screen pair
The graphics cache answered, and it is shown in the display screen.It wherein, include the first figure number in the first graphics cache after drawing
According to including second graph data and third graph data in second graph after drawing caching.
Content based on the above embodiment, as a kind of alternative embodiment, the multiple application program to be shown further includes
4th application program, correspondingly, after step S23, the method also includes:
It is not the 4th application assigned graphics cache when the 4th application program operation.
In the present embodiment, when having more than three application programs and needing to carry out graphical interfaces display, journey is not applied for the 4th
Sequence distributes graphics cache, so that corresponding 4th graph data of the 4th application program does not appear in screen, to avoid display screen
The content of display is excessively chaotic.
Content based on the above embodiment, it is described in first screen map in step S1 as a kind of alternative embodiment
The first graphics cache is respectively created in layer and the second screen figure layer and second graph caching specifically includes:
Based on the size of display screen corresponding diagram shape caching, in the first screen figure layer and the second screen figure layer respectively
Create the first graphics cache and second graph caching.
In the present embodiment, size and the display screen corresponding diagram shape of the first graphics cache and second graph caching cache big
It is small identical.
Content based on the above embodiment, as a kind of alternative embodiment, Fig. 5 is provided in an embodiment of the present invention based on screen
The graphics device structural schematic diagram of curtain layering, as shown in figure 5, the device includes:
Hierarchical block 501, for that will show that screen is divided into the first screen figure layer and the second screen figure layer, in first screen
The first graphics cache and second graph caching are respectively created in curtain figure layer and the second screen figure layer.
It is understood that display screen can also be divided into more than two screen figure layers by the present invention, and in each screen
A graphics cache is configured in curtain figure layer, is not specifically limited herein.
Distribution module 502 to be shown is answered according to preset rules by the multiple for running multiple application programs to be shown
It is distributed with program to the first graphics cache and second graph caching, so that multiple application programs to be shown are respectively corresponding
It draws in graphics cache.
Synthesis module 503 is synthesized for the second graph caching by the first graphics cache after drawing and after drawing,
And it is shown in the display screen.
Computer display screens are divided into two by the graphics device provided in an embodiment of the present invention based on screen layering
Layer, and corresponding graphics cache is all configured in two screen figure layers.It is respectively right when there is multiple application programs needs to be shown to show
When the graphical interfaces answered, by multiple application assigneds to be shown to the corresponding graphics cache of two screen figure layers.Multiple applications
Program is drawn in two graphics caches respectively, finally synthesizes two graphics caches after drawing.The present invention and the prior art
It compares, is not required to reduce the demand of graphics cache to each application assigned graphics cache, account for reduce memory
With reducing the workload of multiple graphics caches synthesis, improve the graphical display speed of screen.
Further, the multiple application program to be shown includes at least the first application program, the second application program and third
Application program;
Correspondingly, the distribution module 502 is specifically used for:
First application program is run, by first application assigned to the first graphics cache, for described
One application program draws the first graph data in the first graphics cache;
Second application program is run, second application assigned to second graph is cached, for described the
Two application programs draw second graph data in second graph caching.
The third application program is run, the third application assigned to second graph is cached, for described the
Three application programs draw third graph data in second graph caching.
Specifically, the graphical interface display method process that Fig. 3 is multiple application programs provided in an embodiment of the present invention is illustrated
Scheme, in Fig. 3, program 1, program 2 and program 3 respectively indicate the first application program, the second application program in the embodiment of the present invention
With third application program.After the operation of the second application program, third application program is run, by the third application assigned
It is cached to second graph, third application program executes corresponding third drawing for order in second graph caching, draws third figure
Graphic data.Compared with prior art, the present invention is not required to reduce the need of graphics cache to each application assigned graphics cache
The amount of asking.For example, the prior art needs to divide respectively for three application programs to be shown when there are three application program to be shown operation
With a graphics cache, by taking the size of graphics cache is 1920x1080x4 byte (about 8MB) as an example, the prior art needs to adjust
With the graphics cache of 24MB, EMS memory occupation is larger.And graphic display method provided in an embodiment of the present invention, by the first application program
Distribution is drawn into the first graphics cache, by the second application program and third application assigned into second graph caching
It draws, it is only necessary to which the graphics cache of 16MB reduces EMS memory occupation, decreases the work of subsequent multiple graphics cache synthesis
It measures, improves the graphical display speed of screen.
Fig. 6 is the entity structure schematic diagram of electronic equipment provided in an embodiment of the present invention, as shown in fig. 6, the electronic equipment
It may include: processor (processor) 601,602, memory communication interface (Communications Interface)
(memory) 603 and communication bus 604, wherein processor 601, communication interface 602, memory 603 pass through communication bus 604
Complete mutual communication.Processor 401 can call the meter that is stored on memory 603 and can run on processor 601
Calculation machine program, to execute the graphic display method based on screen layering of the various embodiments described above offer, for example, by display screen
Curtain is divided into the first screen figure layer and the second screen figure layer, and the is respectively created in the first screen figure layer and the second screen figure layer
One graphics cache and second graph caching;Multiple application programs to be shown are run, it will be the multiple to be shown according to preset rules
Application assigned to the first graphics cache and second graph caches, so that multiple application programs to be shown are respectively corresponding to respectively
Graphics cache in draw;Second graph caching by the first graphics cache after drawing and after drawing synthesizes, and
It is shown in the display screen.
In addition, the logical order in above-mentioned memory 603 can be realized by way of SFU software functional unit and conduct
Independent product when selling or using, can store in a computer readable storage medium.Based on this understanding, originally
The technical solution of the inventive embodiments substantially part of the part that contributes to existing technology or the technical solution in other words
It can be embodied in the form of software products, which is stored in a storage medium, including several fingers
It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes the present invention respectively
The all or part of the steps of a embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory
(ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk
Etc. the various media that can store program code.
The embodiment of the present invention also provides a kind of non-transient computer readable storage medium, is stored thereon with computer program,
The computer program is implemented to carry out the graphical display based on screen layering of the various embodiments described above offer when being executed by processor
Method, for example, display screen is divided into the first screen figure layer and the second screen figure layer, in the first screen figure layer and the
The first graphics cache and second graph caching are respectively created in two screen figure layers;Multiple application programs to be shown are run, according to pre-
If rule caches the multiple application assigned to be shown to the first graphics cache and second graph, for multiple to be shown
Application program is drawn in corresponding graphics cache respectively;The by the first graphics cache after drawing and after drawing
Two graphics caches are synthesized, and are shown in the display screen.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member
It is physically separated with being or may not be, component shown as a unit may or may not be physics list
Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs
In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness
Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on
Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should
Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers
It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation
Method described in certain parts of example or embodiment.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of graphic display method based on screen layering characterized by comprising
Display screen is divided into the first screen figure layer and the second screen figure layer, in the first screen figure layer and the second screen by S1
The first graphics cache and second graph caching are respectively created in figure layer;
S2 runs multiple application programs to be shown, according to preset rules by the multiple application assigned to be shown to first
Graphics cache and second graph caching, so that multiple application programs to be shown are drawn in corresponding graphics cache respectively
Figure;
S3, the second graph caching by the first graphics cache after drawing and after drawing synthesizes, and is shown in the display
Screen.
2. being answered the method according to claim 1, wherein the multiple application program to be shown includes at least first
With program and the second application program;
Correspondingly, the step S2 is specifically included:
S21 runs first application program, by first application assigned to the first graphics cache, for described the
One application program draws the first graph data in the first graphics cache;
S22 runs second application program, will second application assigned to second graph caching, for described the
Two application programs draw second graph data in second graph caching.
3. according to the method described in claim 2, it is characterized in that, the multiple application program to be shown further includes third application
Program;Correspondingly, after step s 22, the method also includes:
S23 runs the third application program, and the third application assigned to second graph is cached, for described the
Three application programs draw third graph data in second graph caching.
4. according to the method described in claim 3, it is characterized in that, the second graph data and third graph data divide institute equally
State the corresponding display area of the second screen figure layer.
5. according to the method described in claim 3, it is characterized in that, the multiple application program to be shown further includes the 4th application
Program, correspondingly, after step S23, the method also includes:
It is not the 4th application assigned graphics cache when the 4th application program operation.
6. described in the first screen figure layer and the method according to claim 1, wherein in step S1
The first graphics cache is respectively created in two screen figure layers and second graph caching specifically includes:
Based on the size of display screen corresponding diagram shape caching, it is respectively created in the first screen figure layer and the second screen figure layer
First graphics cache and second graph caching.
7. a kind of graphics device based on screen layering characterized by comprising
Hierarchical block, for that will show that screen is divided into the first screen figure layer and the second screen figure layer, in the first screen figure layer
Be respectively created in the second screen figure layer the first graphics cache and second graph caching;
Distribution module, for running multiple application programs to be shown, according to preset rules by the multiple application program to be shown
Distribution to the first graphics cache and second graph caches, so that multiple application programs to be shown are slow in corresponding figure respectively
It draws in depositing;
Synthesis module is synthesized for the second graph caching by the first graphics cache after drawing and after drawing, and is shown
In the display screen.
8. device according to claim 7, which is characterized in that the multiple application program to be shown includes at least first and answers
With program, the second application program and third application program;
Correspondingly, the distribution module is specifically used for:
First application program is run, first application assigned to the first graphics cache is answered for described first
The first graph data is drawn in the first graphics cache with program;
Second application program is run, second application assigned to second graph is cached, is answered for described second
Second graph data are drawn in second graph caching with program;
The third application program is run, the third application assigned to second graph is cached, so that the third is answered
Third graph data is drawn in second graph caching with program.
9. a kind of electronic equipment including memory, processor and stores the calculating that can be run on a memory and on a processor
Machine program, which is characterized in that the processor is realized as described in any one of claim 1 to 6 when executing described program based on screen
The step of graphic display method of curtain layering.
10. a kind of non-transient computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer
The step of the graphic display method based on screen layering as described in any one of claim 1 to 6 is realized when program is executed by processor
Suddenly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910678503.7A CN110517184A (en) | 2019-07-25 | 2019-07-25 | A kind of graphic display method and device based on screen layering |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910678503.7A CN110517184A (en) | 2019-07-25 | 2019-07-25 | A kind of graphic display method and device based on screen layering |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110517184A true CN110517184A (en) | 2019-11-29 |
Family
ID=68624059
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910678503.7A Pending CN110517184A (en) | 2019-07-25 | 2019-07-25 | A kind of graphic display method and device based on screen layering |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110517184A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112346804A (en) * | 2020-10-28 | 2021-02-09 | 武汉蓝星科技股份有限公司 | Status bar display system and method for linux-android dual-system terminal |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1886779A (en) * | 2003-12-18 | 2006-12-27 | 苹果电脑有限公司 | Composite graphics rendered using multiple frame buffers |
CN103247068A (en) * | 2013-04-03 | 2013-08-14 | 上海晨思电子科技有限公司 | Rendering method and device |
CN103809972A (en) * | 2014-02-10 | 2014-05-21 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104731721A (en) * | 2015-02-10 | 2015-06-24 | 深圳酷派技术有限公司 | Sharing method and device for memory for display |
CN106454236A (en) * | 2016-10-09 | 2017-02-22 | 珠海全志科技股份有限公司 | Method and system for increasing multi-path video acquisition front-end processing efficiency |
CN106951055A (en) * | 2017-03-10 | 2017-07-14 | 广东欧珀移动通信有限公司 | A kind of display control method of mobile terminal, device and mobile terminal |
CN109992347A (en) * | 2019-04-10 | 2019-07-09 | Oppo广东移动通信有限公司 | Interface display method, device, terminal and storage medium |
-
2019
- 2019-07-25 CN CN201910678503.7A patent/CN110517184A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1886779A (en) * | 2003-12-18 | 2006-12-27 | 苹果电脑有限公司 | Composite graphics rendered using multiple frame buffers |
CN103247068A (en) * | 2013-04-03 | 2013-08-14 | 上海晨思电子科技有限公司 | Rendering method and device |
CN103809972A (en) * | 2014-02-10 | 2014-05-21 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104731721A (en) * | 2015-02-10 | 2015-06-24 | 深圳酷派技术有限公司 | Sharing method and device for memory for display |
CN106454236A (en) * | 2016-10-09 | 2017-02-22 | 珠海全志科技股份有限公司 | Method and system for increasing multi-path video acquisition front-end processing efficiency |
CN106951055A (en) * | 2017-03-10 | 2017-07-14 | 广东欧珀移动通信有限公司 | A kind of display control method of mobile terminal, device and mobile terminal |
CN109992347A (en) * | 2019-04-10 | 2019-07-09 | Oppo广东移动通信有限公司 | Interface display method, device, terminal and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112346804A (en) * | 2020-10-28 | 2021-02-09 | 武汉蓝星科技股份有限公司 | Status bar display system and method for linux-android dual-system terminal |
CN112346804B (en) * | 2020-10-28 | 2022-10-11 | 武汉蓝星科技股份有限公司 | Status bar display system and method for linux-android dual-system terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106599493A (en) | Visual implementation method of BIM model in three-dimensional large scene | |
US7940266B2 (en) | Dynamic reallocation of processing cores for balanced ray tracing graphics workload | |
US6317137B1 (en) | Multi-threaded texture modulation for axis-aligned volume rendering | |
CN103077070B (en) | Cloud computing management system and management method for cloud computing systems | |
CN109603155A (en) | Merge acquisition methods, device, storage medium, processor and the terminal of textures | |
CN105528207A (en) | Virtual reality system, and method and apparatus for displaying Android application images therein | |
CN105023234B (en) | Figure accelerated method based on embedded system storage optimization | |
CN110298780B (en) | Map rendering method, map rendering device and computer storage medium | |
CN109448094A (en) | A kind of texture maps set dispatching method | |
CN103679813B (en) | The construction method of three-dimensional digital earth and three-dimensional digital earth system | |
CN107077375A (en) | For the display methods of multiple operating system, device and electronic equipment | |
WO2008037615A1 (en) | Workload distribution in a ray tracing image processing system | |
CN110333946A (en) | One kind being based on artificial intelligence cpu data processing system and method | |
EP3746941A1 (en) | Controlling image display via mapping of pixel values to pixels | |
CN110377209A (en) | A kind of method and device for realizing visible process configuration by pulling | |
CN109671147A (en) | Texture mapping generation method and device based on threedimensional model | |
CN103268253A (en) | Intelligent scheduling management method for multi-scale parallel rendering jobs | |
Loring et al. | A screen space GPGPU surface LIC algorithm for distributed memory data parallel sort last rendering infrastructures | |
CN106796536A (en) | Memory pool access method, device and electronic equipment for multiple operating system | |
DE102019121200A1 (en) | MOTION-ADAPTIVE RENDERING BY SHADING WITH A VARIABLE RATE | |
CN110517184A (en) | A kind of graphic display method and device based on screen layering | |
CN109933383A (en) | Adjust the method and apparatus of game APP operation frame per second | |
CN108290071A (en) | For determining program, electronic device, system and method for executing the resource allocation drawn in the case of the intention of forecasting game person | |
CN110209756A (en) | A kind of the map exchange method and system of O&M of transmitting electricity | |
CN107277483B (en) | A kind of virtual reality display methods, device and virtual reality glasses |
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: 20191129 |