Method and device for copying GPU video memory textures to system memories and electronic equipment
A system memory and texture technology, applied in the computer field, can solve problems such as reduced video frames, unsmooth, idle time, etc., to achieve the effect of improving fluency and efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] figure 1 It is a schematic flowchart of a method for copying GPU memory textures to system memory provided by Embodiment 1 of the present invention. The method for copying GPU memory textures to system memory in this embodiment can be performed by a device for copying GPU memory textures to system memory, wherein the device can be implemented by software and / or hardware, and is generally integrated in a computer. For details, see figure 1 As shown, the method may include the following steps:
[0047] 110. Copy the image data frames stored in the GPU video memory texture to different target textures stored in the system memory in sequence.
[0048] Specifically, for example, in DirectX11's Direct3D11, the image data frames stored in the GPU memory texture can be sequentially copied to different target textures stored in the system memory by calling the CopyResource function function of the ID3D11DeviceContext interface. A frame of image data stored in the GPU memory t...
Embodiment 2
[0081] image 3 A schematic structural diagram of a device for copying GPU memory textures to system memory provided in Embodiment 2 of the present invention; see image 3 As shown, the device includes: a copy module 310 and a mapping module 320 .
[0082]Wherein, the copy module 310 is used to copy the image data frames stored in the GPU video memory texture to different target textures stored in the system memory in sequence; the mapping module 320 is used to copy at least one frame of image data based on The sequential relationship of copying time performs address mapping on the image data frames copied to the different target textures stored in the system memory in sequence.
[0083] Optionally, copy module 310, including:
[0084] The first copy unit is used to judge whether the frame index identification number can be divisible by 2, if so, copy a frame of image data corresponding to the frame index identification number stored in the GPU video memory texture to the fi...
Embodiment 3
[0097] Figure 4 It is a schematic structural diagram of an electronic device provided by Embodiment 5 of the present invention. Such as Figure 4 As shown, the electronic device includes: a first processor 670, a first memory 671, and a computer program stored on the first memory 671 and operable on the first processor 670; wherein, the number of the first processors 670 can be is one or more, Figure 4 A first processor 670 is used as an example; when the first processor 670 executes the computer program, the method for copying the GPU texture to the system memory as described in the first embodiment above is implemented. Such as Figure 4 As shown, the electronic device may further include a first input device 672 and a first output device 673 . The first processor 670, the first memory 671, the first input device 672 and the first output device 673 may be connected via a bus or in other ways, Figure 4 Take connection via bus as an example.
[0098] As a computer-rea...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com