Approved: Fortect
Here are some simple steps that should help resolve the Directx video memory request issue.
No Answer You Are Looking For? Browse Other DirectX Dotted Graphics Windows Or Ask Your Own Question.
According to Game Coding Complete 3, there are few possibilities:
- DX7s GetAvailableVidMem () – generally good. Also does not project onto maps with shared space.
- WMI Management (Windows Interface) has a similar approach to that described above.
- DxDiag uses both to give you the best result.
- There is one function in D3D9, getavailabletexturememory (), but it can only be used on Windows Vista / 7.
Find a sample DX from March 8thor later called “VideoMemory” SDK.
posted on Oct 8, 2010 5:21 pm
10.3k
-
$ start group $ The DX example for video memory is actually great – I had to find it before the question;) $ final group $-Vincent Scheib October 8, 2010 5:38 PM
-
$ start group $ Since many computers use shared memory, I would not recommend the DX7 version. Where might the D3D9 version be available? Vista + D3D9 would be there under XP … $ final group $â € “Bahbar October 12, 2010 8:57 PM
$ start group $ DX sample for video memory is really great – I should have found it a long time agobefore the question;) $ final group $-Vincent Scheib October 8, 2010 5:38 PM
$ start group $ Given the number of computers that are likely to use shared memory, I would not rely on the DX7 version. How could the D3D9 version be available? Vista + D3D9 was in XP … $ final group $â € “Bahbar 12 Oct ’10 Concern 20:57
Approved: Fortect
Fortect is the world's most popular and effective PC repair tool. It is trusted by millions of people to keep their systems running fast, smooth, and error-free. With its simple user interface and powerful scanning engine, Fortect quickly finds and fixes a broad range of Windows problems - from system instability and security issues to memory management and performance bottlenecks.
IDXGIDevice - pDXGIDevice;hr = g_pd3dDevice-> QueryInterface (__ uuidof (IDXGIDevice), (void **) & pDXGIDevice);IDXGIAdapter pDXGIAdapter;pDXGIDevice-> GetAdapter (& pDXGIAdapter);DXGI_ADAPTER_DESC adapterDesc;pDXGIAdapter-> GetDesc (& adapterDesc);Return adapterDesc.DedicatedVideoMemory;
answered Oct 8, 2010 at 5:30 pm.
-
$ start group $ If you do not call
Release ()
inpDXGIDevice
after a successful call when you want to useQueryInterface ()
, it will waste memoryand . $ final group $- Winz 17 Nov ’18, possibly at 12:01
$ start group $ Failure to call Release ()
after successfully calling QueryInterface ()
on pDXGIDevice
results in a RAM memory leak. $ final group $- Winz 17 Nov ’18 indoors 0:01
Speed up your computer's performance now with this simple download.