CN115827073A - Independent display card and method, equipment and storage medium for processing simultaneous display of integrated display - Google Patents

Independent display card and method, equipment and storage medium for processing simultaneous display of integrated display Download PDF

Info

Publication number
CN115827073A
CN115827073A CN202211445950.6A CN202211445950A CN115827073A CN 115827073 A CN115827073 A CN 115827073A CN 202211445950 A CN202211445950 A CN 202211445950A CN 115827073 A CN115827073 A CN 115827073A
Authority
CN
China
Prior art keywords
memory area
card
independent
image data
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211445950.6A
Other languages
Chinese (zh)
Inventor
单晋奎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changsha Jingmei Integrated Circuit Design Co ltd
Changsha Jingjia Microelectronics Co ltd
Original Assignee
Changsha Jingmei Integrated Circuit Design Co ltd
Changsha Jingjia Microelectronics 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 Changsha Jingmei Integrated Circuit Design Co ltd, Changsha Jingjia Microelectronics Co ltd filed Critical Changsha Jingmei Integrated Circuit Design Co ltd
Priority to CN202211445950.6A priority Critical patent/CN115827073A/en
Publication of CN115827073A publication Critical patent/CN115827073A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The application provides a processing method, equipment and a storage medium for simultaneous display of an independent display card and a centralized display, wherein the method outputs image data in a display memory area of the independent display card to the independent display card; outputting the image data in the memory area with the writing state in the system memory to the integrated display card; the system memory comprises two memory areas, wherein one memory area is in a read-only state, and the other memory area is in a write state; the video memory area is synchronized with the image data in the memory area in the writing state. The method comprises the following steps that two memory areas are used, wherein one memory area is in a read-only state, and the other memory area is in a write state; the image data in the memory area in the writing state is synchronized with the image data in the memory area in the writing state, and therefore when the image data in the memory area in the writing state in the system memory is output to the independent display card, the image data in the memory area in the writing state in the system memory is output to the integrated display card, synchronous display of the independent display card and the integrated display card is guaranteed.

Description

Independent display card and method, equipment and storage medium for processing simultaneous display of integrated display
Technical Field
The present application relates to the field of GPU driver design technologies, and in particular, to a processing method, device, and storage medium for simultaneous display of an independent graphics card and a centralized display.
Background
A GPU (Graphics Processing Unit) is a microprocessor applied to terminals such as mobile devices and personal computers, and is used for executing a corresponding drawing task according to a drawing task command sent by a host.
The independent display card is a display card device with an independent display memory and a GPU, and the performance of the device is much higher than that of an integrated display card. The independent display cards comprise JM7 and JM9 series display cards.
The integrated video card is a video card device which is not provided with an independent video memory and only has a GPU. The device uses a system memory as a video memory during operation, and the integrated video cards comprise AST, X100, 7A1000, 7A2000 and other video cards.
The patent application with the application number of 201911373071.5 discloses a synchronous display device and method for double independent display cards of a Feiteng platform, and the method aims to achieve parallel cooperative work of the double independent display cards in an alternate frame mode after a system is started, finally display is carried out through 1 display output port, the number of pixels rendered by a single display card is reduced, rendering time is reduced, and the purpose of improving the overall display performance of a domestic computing platform is achieved.
The method can finally display with 1 display output port, and cannot realize the common display of the independent display card and the integrated display card.
Disclosure of Invention
In order to solve one of the technical defects, the application provides a processing method, a device and a storage medium for simultaneous display of an independent display card and an integrated display.
In a first aspect of the present application, a method for processing simultaneous display of an independent display card and a collective display is provided, where the method includes:
outputting the image data in the video memory area of the independent video card to the independent video card;
outputting the image data in the memory area with the writing state in the system memory to the integrated display card;
the system memory comprises two memory areas, wherein one memory area is in a read-only state, and the other memory area is in a write state; and the video memory area is synchronous with the image data in the memory area with the writing state.
Optionally, before outputting the image data in the memory area of the independent graphics card to the independent graphics card in a mirror image manner, the method further includes:
acquiring first interface information output and displayed by an independent display card;
and acquiring second interface information output and displayed by the integrated display card.
Optionally, the outputting the image data in the video memory area of the independent graphics card to the independent graphics card includes:
and outputting the image data in the video memory area of the independent video card to each outlet of the independent video card in a mirror image mode.
Optionally, after the second interface information that is output and displayed by the integrated display card is acquired, the method further includes:
acquiring the resolution of a main screen;
according to the resolution of the main screen, applying for a video memory area in an independent video card;
and applying for two system memory areas in the system memory according to the resolution of the main screen.
Optionally, the outputting the image data in the video memory area of the independent video card to the independent video card includes:
and outputting the image data in the video memory area of the independent video card to each outlet of the independent video card in sequence.
Optionally, after the second interface information that is output and displayed by the integrated display card is acquired, the method further includes:
calculating and saving the size of an output image according to the first interface information and the second interface information;
applying for a video memory area in the independent video card according to the size;
and applying for two system memory areas in the system memory according to the second interface information.
Optionally, the method further comprises:
determining the current refreshing times N according to the refreshing rate period of the main screen;
if N%2= =0, marking a first block memory area of the system memory as read-only, and marking a second block memory area of the system memory as write;
if N%2! If =0, the second block memory area of the system memory is marked as read only, and the first block memory area of the system memory is marked as write.
Optionally, the method further comprises:
storing image data in the video memory area;
and copying the image data in the video memory area to a memory area with a writing state.
In a second aspect of the present application, there is provided an electronic device comprising:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method according to the first aspect.
In a third aspect of the present application, there is provided a computer-readable storage medium having a computer program stored thereon; the computer program is executed by a processor to implement the method according to the first aspect as described above.
The application provides a processing method, equipment and a storage medium for simultaneous display of an independent display card and a collective display, wherein the method comprises the following steps: outputting the image data in the video memory area of the independent video card to the independent video card; outputting the image data in the memory area with the writing state in the system memory to the integrated display card; the system memory comprises two memory areas, wherein the state of one memory area is read-only, and the state of the other memory area is write; the video memory area is synchronous with the image data in the memory area in the writing state. The method comprises the following steps that two memory areas are used, wherein one memory area is in a read-only state, and the other memory area is in a write state; the image data in the memory area in the write state and the image data in the memory area in the write state are synchronized, and therefore when the image data in the memory area in the write state in the system memory is output to the integrated display card, the independent display card and the integrated display card are synchronously displayed at the same time.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flowchart of a processing method for simultaneous display and collection of independent display cards according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another processing method for simultaneous display and collection of independent display cards according to an embodiment of the present application;
fig. 3 is a structure diagram of a copy mode framework of an independent graphics card and an integrated graphics card according to an embodiment of the present application;
fig. 4 is a structure diagram of an extended mode framework of an independent graphics card and an integrated graphics card according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions and advantages of the embodiments of the present application more apparent, the following further detailed description of the exemplary embodiments of the present application with reference to the accompanying drawings makes it clear that the described embodiments are only a part of the embodiments of the present application, and are not exhaustive of all embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
In the process of implementing the application, the inventor finds that the existing synchronous display device and method for the double independent display cards of the Feiteng platform aim at realizing parallel cooperative work by adopting an alternate frame mode by the double display cards after a system is started, and finally display is carried out by 1 display output port, so that the number of pixels rendered by a single display card is reduced, the rendering time is reduced, and the purpose of improving the whole display performance of a domestic computing platform is achieved. The method can finally display with 1 display output port, and cannot realize the common display of the independent display card and the integrated display card.
In view of the foregoing problems, an embodiment of the present application provides a processing method, device, and storage medium for simultaneous display of an independent display card and a collective display, where the method includes: outputting the image data in the video memory area of the independent video card to the independent video card; outputting the image data in the memory area with the writing state in the system memory to the integrated display card; the system memory comprises two memory areas, wherein one memory area is in a read-only state, and the other memory area is in a write state; the video memory area is synchronized with the image data in the memory area in the writing state. The method comprises the following steps that two memory areas are used, wherein one memory area is in a read-only state, and the other memory area is in a write state; the image data in the memory area in the writing state is synchronized with the image data in the memory area in the writing state, and therefore when the image data in the memory area in the writing state in the system memory is output to the independent display card, the image data in the memory area in the writing state in the system memory is output to the integrated display card, synchronous display of the independent display card and the integrated display card is guaranteed.
Referring to fig. 1, the processing method for simultaneous display and collection of independent display cards provided in this embodiment is implemented as follows:
and 101, outputting the image data in the video memory area of the independent video card to the independent video card.
And 102, outputting the image data in the memory area with the writing state in the system memory to the integrated display card.
The system memory comprises two memory areas, wherein one memory area is in a read-only state, and the other memory area is in a write state. The video memory area is synchronized with the image data in the memory area in the writing state.
Optionally, before outputting the image data in the video memory area of the independent video card to the independent video card in a mirror image manner, the method further includes:
and acquiring first interface information output and displayed by the independent display card.
And acquiring second interface information output and displayed by the integrated display card.
Optionally, outputting the image data in the video memory area of the independent video card to the independent video card includes:
and outputting the image data in the video memory area of the independent video card to each outlet of the independent video card in a mirror image mode.
Optionally, after obtaining the second interface information that the integrated display card outputs and displays, the method further includes:
and acquiring the resolution of the main screen.
And applying for a video memory area in the independent video card according to the resolution of the main screen.
And applying for two system memory areas in the system memory according to the resolution of the main screen.
Optionally, outputting the image data in the video memory area of the independent video card to the independent video card includes:
and outputting the image data in the video memory area of the independent video card to each outlet of the independent video card in sequence.
Optionally, after obtaining the second interface information that the integrated display card outputs and displays, the method further includes:
and calculating and saving the size of the output image according to the first interface information and the second interface information.
And applying for a video memory area in the independent video card according to the size.
And applying for two system memory areas in the system memory according to the second interface information.
Optionally, the method further includes:
and determining the current refreshing times N according to the refreshing rate period of the main screen.
If N%2= =0, the first block memory region of the system memory is marked as read-only, and the second block memory region of the system memory is marked as write.
If N%2! And =0, the second block memory area of the system memory is marked as read only, and the first block memory area of the system memory is marked as write.
Optionally, the method further includes:
storing the image data in the video memory area.
And copying the image data in the video memory area to the memory area with the writing state.
In the method provided by this embodiment, two memory areas are used, where one memory area is in a read-only state, and the other memory area is in a write state; the image data in the memory area in the writing state is synchronized with the image data in the memory area in the writing state, and therefore when the image data in the memory area in the writing state in the system memory is output to the independent display card, the image data in the memory area in the writing state in the system memory is output to the integrated display card, synchronous display of the independent display card and the integrated display card is guaranteed.
Referring to fig. 2, the implementation process of the processing method for simultaneous display and collection of the independent graphics card provided by this embodiment is as follows:
and 201, acquiring first interface information output and displayed by the independent display card.
And 202, acquiring second interface information output and displayed by the integrated display card.
And 203, applying for a storage area in the independent display card and the system memory.
The processing method for simultaneous display and collection of the independent display card provided by this embodiment can be implemented in two ways, one is a copy mode, and the other is an extension mode.
For the copy mode, the implementation process of this step is:
1. and acquiring the resolution of the main screen.
2. And applying for a video memory area in the independent video card according to the resolution of the main screen.
3. And applying for two system memory areas in the system memory according to the resolution of the main screen.
For the extended mode, the implementation process of the step is as follows:
1. and calculating and saving the size of the output image according to the first interface information and the second interface information.
2. And applying for a video memory area in the independent video card according to the size.
3. And applying for two system memory areas in the system memory according to the second interface information.
In any mode, after the step 203 of applying for the storage area is executed, the current refresh time N is determined according to the main screen refresh rate period. If N%2= =0, the first block memory region of the system memory is marked as read-only, and the second block memory region of the system memory is marked as write. If N%2! If =0, the second block memory area of the system memory is marked as read only, and the first block memory area of the system memory is marked as write.
In addition, the image data is stored in the video memory area. And copying the image data in the video memory area to the memory area with the writing state.
And 204, outputting the image data in the video memory area of the independent video card to the independent video card.
For example, for the copy mode, the implementation procedure of this step is: and outputting the image data in the video memory area of the independent video card to each outlet of the independent video card in a mirror image mode. For the extended mode, the implementation process of the step is as follows: and outputting the image data in the video memory area of the independent video card to each outlet of the independent video card in sequence.
And 205, outputting the image data in the memory area with the writing state in the system memory to the integrated display card.
The system memory comprises two memory areas, wherein the state of one memory area is read-only, and the state of the other memory area is write. The video memory area is synchronized with the image data in the memory area in the writing state.
In the processing method for simultaneous display of the independent video card and the integrated display provided by this embodiment, the image data in the video memory of the independent video card is copied to the system memory in a copying manner; and then two system memories are used as the shadow memories, one system memory is used for providing a display image for the integrated display card in one clock cycle, and the other system memory is used for receiving the image data of the independent display card, so that the problem that the integrated display card acquires the image data to be displayed from the independent display memory can be effectively solved, and the problem of tearing of the display of the integrated display card is solved through switching reading and writing of the two shadow memories.
The processing method for simultaneous display of the independent graphics card and the integrated graphics card provided by the embodiment supports the display of the copy mode (shown in fig. 3) and the expansion mode (shown in fig. 4) of the independent graphics card and the integrated graphics card.
The following explains the implementation process of the processing method for simultaneous display and independent display provided in this embodiment with respect to two modes.
For the copy mode, the implementation process of the processing method for simultaneous display of the independent display card and the collective display provided by the embodiment is as follows.
501, acquiring interface information needing to be output and displayed by the independent display card.
The interface information acquired in step 501 is the first interface information in step 201.
And 502, acquiring interface information which needs to be output and displayed by the integrated display card.
The interface information obtained in step 502 is the second interface information in step 202.
And 503, acquiring home screen information.
The home screen information in step 503 includes, but is not limited to: the home screen resolution.
And 504, applying for a video memory area in the video memory of the independent video card according to the resolution of the main screen.
The video memory area is used for storing the image data output by the independent video card.
And 505, applying for two system memory areas in the system memory according to the resolution of the main screen.
For example, a system memory region 1 and a system memory region 2 are applied.
The system memory area is used for storing image data output by the integrated display card.
And 506, storing the image data in a video memory area and a system memory area.
The storage process is as follows:
and determining the current refreshing time number N according to the main screen refreshing rate period, and determining whether the current refreshing time number is the Nth 2= =0 arrival time. If nth% 2= =0 times, the system memory area 1 is marked as read-only, and the system memory area 2 is writable. If N%2! If the number of times is =0, the system memory area 2 is marked as read-only, and the system memory area 1 is marked as writable.
Storing the image data in the video memory area. And copying the image data in the video memory area to the memory area with the writing state. That is, when N%2= =0 times, the image data in the video memory area is copied to the system memory area 2, and when N%2! =0 times, the image data in the video memory area is copied to the system memory area 1.
And 507, displaying according to the display memory area and the system memory area.
On the independent display card, the graphic output content in the display memory is provided to different output ports in a mirror image mode, and the different output ports convert the output content into output signals to be output on different displays.
And on the integrated display card, outputting the image data in the memory area with the writing state in the system memory to the integrated display card. That is, when N%2= =0 times, the content of the system memory area 1 is converted into an output signal and output on the display. In N%2! And the number of times is =0, the content of the system memory area 2 is converted into an output signal, and the output signal is output on the display.
For the extended mode, the implementation process of the processing method for simultaneous display of the independent display card and the collective display provided by the embodiment is as follows.
601, acquiring interface information which needs to be output and displayed by the independent display card.
The interface information acquired in step 601 is the first interface information in step 201. The interface information includes, but is not limited to, resolution.
And 602, acquiring interface information which needs to be output and displayed by the integrated display card.
The interface information obtained in step 602 is the second interface information in step 202. The interface information includes, but is not limited to, resolution.
603, the size of the output port images is calculated and stored according to the resolution of all the outputs.
604, a video memory area with the size calculated in step 603 is applied in the independent video card.
The video memory area is used for storing the image data output by the independent video card.
605, according to the second interface information (i.e. the resolution of the integrated graphics card), two system memory areas are applied in the system memory.
For example, a system memory region 1 and a system memory region 2 are applied.
The system memory area is used for storing image data output by the integrated display card.
And 606, storing the image data in a video memory area and a system memory area.
The storage process is as follows:
and determining the current refreshing time N according to the main screen refreshing rate period, and determining whether the current refreshing time is the arrival of the Nth 2= =0 time. If nth% 2= =0 times, the system memory area 1 is marked as read-only, and the system memory area 2 is writable. If N%2! If the number of times is =0, the system memory area 2 is marked as read-only, and the system memory area 1 is marked as writable.
And storing the image data in the video memory area. And copying the image data in the video memory area to the memory area with the writing state. That is, when N%2= =0 times, the image data in the video memory area is copied to the system memory area 2, and when N%2! =0 times, the image data in the video memory area is copied to the system memory area 1.
607, displaying according to the display memory area and the system memory area.
On the independent display card, different image output contents in the display memory are sequentially sent to different output ports, and the different output ports convert the output contents into output signals to be output on different displays.
And on the integrated display card, outputting the image data in the memory area with the writing state in the system memory to the integrated display card. That is, when N%2= =0 times, the content of the system memory area 1 is converted into an output signal and output on the display. In N%2! And the number of times is =0, the content of the system memory area 2 is converted into an output signal, and the output signal is output on the display.
According to the processing method for simultaneous display of the independent display card and the integrated display, the data of the display memory of the independent display card is copied to the system memory in a copying mode, so that the integrated display card can acquire image data from the system memory, and the problem that the integrated display card cannot directly acquire the data of the display memory of the independent display card is solved. In addition, according to the processing method for simultaneous display of the independent display card and the integrated display card provided by the embodiment, two pieces of display memory data of the independent display card are alternately stored in the system memory, so that the memory data of the integrated display card in the display output process can not be modified, and the problems of data synchronization and display tearing of the independent display card and the integrated display card are solved.
The embodiment provides a processing method for simultaneous display of an independent display card and a centralized display, which is used for outputting image data in a display memory area of the independent display card to the independent display card; outputting the image data in the memory area with the writing state in the system memory to the integrated display card; the system memory comprises two memory areas, wherein one memory area is in a read-only state, and the other memory area is in a write state; the video memory area is synchronized with the image data in the memory area in the writing state. In the method provided by this embodiment, two memory areas are used, wherein one memory area is in a read-only state, and the other memory area is in a write state; the image data in the memory area in the writing state is synchronized with the image data in the memory area in the writing state, and therefore when the image data in the memory area in the writing state in the system memory is output to the independent display card, the image data in the memory area in the writing state in the system memory is output to the integrated display card, synchronous display of the independent display card and the integrated display card is guaranteed.
Based on the same inventive concept of the independent display card and the processing method for simultaneous display and simultaneous display, the embodiment provides an electronic device, which includes: memory, processor, and computer programs.
Wherein the computer program is stored in the memory and configured to be executed by the processor to implement the processing method of the independent graphics card and the simultaneous display with the graphics.
In particular, the method comprises the following steps of,
and outputting the image data in the video memory area of the independent video card to the independent video card.
And outputting the image data in the memory area with the writing state in the system memory to the integrated display card.
The system memory comprises two memory areas, wherein one memory area is in a read-only state, and the other memory area is in a write state. The video memory area is synchronized with the image data in the memory area in the writing state.
Optionally, before outputting the image data in the display memory area of the independent display card to the independent display card in a mirror image manner, the method further includes:
and acquiring first interface information output and displayed by the independent display card.
And acquiring second interface information output and displayed by the integrated display card.
Optionally, outputting the image data in the video memory area of the independent graphics card to the independent graphics card includes:
and outputting the image data in the video memory area of the independent video card to each outlet of the independent video card in a mirror image mode.
Optionally, after obtaining the second interface information that the integrated display card outputs and displays, the method further includes:
and acquiring the resolution of the main screen.
And applying for a video memory area in the independent video card according to the resolution of the main screen.
And applying for two system memory areas in the system memory according to the resolution of the main screen.
Optionally, outputting the image data in the video memory area of the independent video card to the independent video card includes:
and outputting the image data in the video memory area of the independent video card to each outlet of the independent video card in sequence.
Optionally, after obtaining the second interface information that the integrated display card outputs and displays, the method further includes:
and calculating and saving the size of the output image according to the first interface information and the second interface information.
And applying for a video memory area in the independent video card according to the size.
And applying for two system memory areas in the system memory according to the second interface information.
Optionally, the method further includes:
and determining the current refreshing times N according to the refreshing rate period of the main screen.
If N%2= =0, the first block memory region of the system memory is marked as read-only, and the second block memory region of the system memory is marked as write.
If N%2! If =0, the second block memory area of the system memory is marked as read only, and the first block memory area of the system memory is marked as write.
Optionally, the method further includes:
storing the image data in the video memory area.
And copying the image data in the video memory area to the memory area with the writing state.
In the electronic device provided in this embodiment, the computer program is executed by the processor to pass through the two memory areas, where one memory area is in a read-only state and the other memory area is in a write state; the image data in the memory area in the writing state is synchronized with the image data in the memory area in the writing state, and therefore when the image data in the memory area in the writing state in the system memory is output to the independent display card, the image data in the memory area in the writing state in the system memory is output to the integrated display card, synchronous display of the independent display card and the integrated display card is guaranteed.
The present embodiment provides a computer based on the same inventive concept of the independent graphic card and the processing method of simultaneous display with collective display, and a computer program is stored thereon. The computer program is executed by the processor to realize the processing method of the independent display card and the simultaneous display of the integrated display.
In particular, the method comprises the following steps of,
and outputting the image data in the video memory area of the independent video card to the independent video card.
And outputting the image data in the memory area with the writing state in the system memory to the integrated display card.
The system memory comprises two memory areas, wherein one memory area is in a read-only state, and the other memory area is in a write state. The video memory area is synchronized with the image data in the memory area in the writing state.
Optionally, before outputting the image data in the display memory area of the independent display card to the independent display card in a mirror image manner, the method further includes:
and acquiring first interface information output and displayed by the independent display card.
And acquiring second interface information output and displayed by the integrated display card.
Optionally, outputting the image data in the video memory area of the independent video card to the independent video card includes:
and outputting the image data in the video memory area of the independent video card to each outlet of the independent video card in a mirror image mode.
Optionally, after obtaining the second interface information that the integrated display card outputs and displays, the method further includes:
and acquiring the resolution of the main screen.
And applying for a video memory area in the independent video card according to the resolution of the main screen.
And applying for two system memory areas in the system memory according to the resolution of the main screen.
Optionally, outputting the image data in the video memory area of the independent video card to the independent video card includes:
and outputting the image data in the video memory area of the independent video card to each outlet of the independent video card in sequence.
Optionally, after obtaining the second interface information that the integrated display card outputs and displays, the method further includes:
and calculating and saving the size of the output image according to the first interface information and the second interface information.
And applying for a video memory area in the independent video card according to the size.
And applying for two system memory areas in the system memory according to the second interface information.
Optionally, the method further includes:
and determining the current refreshing times N according to the refreshing rate period of the main screen.
If N%2= =0, the first block memory region of the system memory is marked as read-only, and the second block memory region of the system memory is marked as write.
If N%2! If =0, the second block memory area of the system memory is marked as read only, and the first block memory area of the system memory is marked as write.
Optionally, the method further includes:
and storing the image data in the video memory area.
And copying the image data in the video memory area to the memory area with the writing state.
In the computer-readable storage medium provided in this embodiment, the computer program executed by the processor passes through two memory areas, where one memory area is in a read-only state and the other memory area is in a write state; the image data in the memory area in the write state and the image data in the memory area in the write state are synchronized, and therefore when the image data in the memory area in the write state in the system memory is output to the integrated display card, the independent display card and the integrated display card are synchronously displayed at the same time.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein. The scheme in the embodiment of the application can be implemented by adopting various computer languages, such as object-oriented programming language Java and transliterated scripting language JavaScript.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A processing method for simultaneous display of independent display cards and collective displays is characterized by comprising the following steps:
outputting the image data in the video memory area of the independent video card to the independent video card;
outputting the image data in the memory area with the writing state in the system memory to the integrated display card;
the system memory comprises two memory areas, wherein the state of one memory area is read-only, and the state of the other memory area is write; and the video memory area is synchronous with the image data in the memory area with the writing state.
2. The method according to claim 1, wherein before outputting the image data in the video memory area of the independent video card to the independent video card in a mirror image manner, the method further comprises:
acquiring first interface information output and displayed by an independent display card;
and acquiring second interface information output and displayed by the integrated display card.
3. The method according to claim 2, wherein outputting the image data in the video memory area of the independent video card to the independent video card comprises:
and outputting the image data in the video memory area of the independent video card to each outlet of the independent video card in a mirror image mode.
4. The method according to claim 3, wherein after the obtaining the second interface information output and displayed by the integrated graphics card, the method further comprises:
acquiring the resolution of a main screen;
according to the resolution of the main screen, applying for a video memory area in an independent video card;
and applying for two system memory areas in the system memory according to the resolution of the main screen.
5. The method according to claim 2, wherein outputting the image data in the video memory area of the independent video card to the independent video card comprises:
and outputting the image data in the video memory area of the independent video card to each outlet of the independent video card in sequence.
6. The method of claim 5, wherein after the obtaining the second interface information output and displayed by the integrated graphics card, further comprising:
calculating and saving the size of an output image according to the first interface information and the second interface information;
applying for a video memory area in the independent video card according to the size;
and applying for two system memory areas in the system memory according to the second interface information.
7. The method of claim 4 or 6, further comprising:
determining the current refreshing times N according to the refreshing rate period of the main screen;
if N%2= =0, marking a first block memory area of the system memory as read-only, and marking a second block memory area of the system memory as write;
if N%2! If =0, the second block memory area of the system memory is marked as read only, and the first block memory area of the system memory is marked as write.
8. The method of claim 7, further comprising:
storing image data in the video memory area;
and copying the image data in the video memory area to a memory area with a writing state.
9. An electronic device, comprising:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any one of claims 1-8.
10. A computer-readable storage medium, having stored thereon a computer program; the computer program is executed by a processor to implement the method of any one of claims 1-8.
CN202211445950.6A 2022-11-18 2022-11-18 Independent display card and method, equipment and storage medium for processing simultaneous display of integrated display Pending CN115827073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211445950.6A CN115827073A (en) 2022-11-18 2022-11-18 Independent display card and method, equipment and storage medium for processing simultaneous display of integrated display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211445950.6A CN115827073A (en) 2022-11-18 2022-11-18 Independent display card and method, equipment and storage medium for processing simultaneous display of integrated display

Publications (1)

Publication Number Publication Date
CN115827073A true CN115827073A (en) 2023-03-21

Family

ID=85529070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211445950.6A Pending CN115827073A (en) 2022-11-18 2022-11-18 Independent display card and method, equipment and storage medium for processing simultaneous display of integrated display

Country Status (1)

Country Link
CN (1) CN115827073A (en)

Similar Documents

Publication Publication Date Title
US7889202B2 (en) Transparent multi-buffering in multi-GPU graphics subsystem
CN108984137B (en) Double-screen display method and system and computer readable storage medium
CN110415161B (en) Graphics processing method, device, equipment and storage medium
CN105630507A (en) Method and device for drawing WebView control interface
CN111866408A (en) Graphic processing chip and video decoding display method
CA2711583A1 (en) Multi-buffer support for off-screen surfaces in a graphics processing system
CN110641382B (en) Vehicle-mounted interface display method and device, electronic equipment and storage medium
CN112511816A (en) Video delay test system, method, device, equipment and storage medium
CN108241211A (en) One kind wears display equipment and image rendering method
CN106156132B (en) Picture loading display method and device
CN114527980A (en) Display rendering method and device, electronic equipment and readable storage medium
CN111882480A (en) Method, device and system for processing block data and storage medium
US10789913B2 (en) Arbitrary block rendering and display frame reconstruction
JPH1115463A (en) Graphic processor and graphic processing method
CN115827073A (en) Independent display card and method, equipment and storage medium for processing simultaneous display of integrated display
JPH0227393A (en) Image information display device
CN106796535A (en) Image display method, device, electronic equipment and computer program product
CN112005209A (en) Mechanism for atomically rendering a single buffer covering multiple displays
CN111246140A (en) Digital mark display method and digital mark display system
CN113066450B (en) Image display method, device, electronic equipment and storage medium
CN114510406B (en) Method for detecting frame rate and related equipment
CN111198858A (en) File processing method and device, computer storage medium and terminal
JP2006106983A (en) Display device and display method
CN113971070B (en) Method and system suitable for multi-virtual machine on-screen display
CN116414478A (en) Image synthesis method and device and electronic equipment

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