Microsoft DirectX Graphics Infrastructure (DXGI) is often used in combination with Direct3D and is responsible for enumerating graphics adapters and display modes, selecting buffer formats, sharing resources between processes and presenting rendered frames to the monitor.
Questions tagged [dxgi]
248 questions
-1
votes
1 answer
Sharing ID3D11Texture2D between processes yields invalid argument error
I'm attempting to share a ID3D11Texture2D between processes using named shared handle. My tests work fine between threads, but when I do the same between two running applications, I get E_INVALIDARG back, as if the texture was not properly created…

BartW
- 29
- 5
-1
votes
1 answer
(Nvidia Codec SDK) nvEncOpenEncodeSessionEx() errors with unknown nvencstatus code (15)
I'm trying to set up an nvenc encode session that accepts d3d11 textures using nvidia codec SDK in visual c++, Below is the beginning of my code up to that point. At line 93, nvEncOpenEncodeSessionEx() fails with nvencstatus code 15, I set my code…

Tiger Yang
- 61
- 4
-1
votes
1 answer
How to pass an existing IDXGIAdapter to D3D11CreateDevice() to create a D3D11Device for a specific adapter?
Goal:
I would like to pass a previously instantiated IDXGIAdapter to ID3D11CreateDevice(...) so that I have the control which adapter is used when creating the D3D11 device.
Setup:
I am using the following sources of inspiration and in-dept…

rbaleksandar
- 8,713
- 7
- 76
- 161
-1
votes
2 answers
what is multisample per pixel in directx11 DXGI_SAMPLE_DECS
I was reading documentation about DXGI_SWAP_CHAIN_DESC and i came across with DXGI_SAMPLE_DESC
Count
Type: UINT
The number of multisamples per pixel.
now what exactly is multisamples per pixel?
user18618593
-1
votes
1 answer
When to use IDXGIFactory3::GetCreationFlags
i found not much sample programs use IDXGIFactory3, and its function GetCreationFlags, so when to use it?

MiC
- 185
- 7
-1
votes
1 answer
IDXGISwapChain can't present in window sub portion, or a sub rectangle?
d3d9 can present to a subrect by paramater.
but cann't found any way in d3d11.
even create swap chain in sub portion in window , swapchain fill all window.
-4
votes
1 answer
Screen Recording with Desktop Duplication API
I am building an application in WPF using .NetFramework. It can record full or partial desktop along with Audio to an mp4 file. Right now I am using ffmpeg for that which works fine but has certain issues.
I want to give a try to Desktop Duplication…

Riz
- 6,746
- 16
- 67
- 89