dxgi Questions
1
Solved
Usually the DirectX11 initialization starts from creating a DirectX11 device:
D3D_DRIVER_TYPE driverTypes[] =
{
D3D_DRIVER_TYPE_HARDWARE,
D3D_DRIVER_TYPE_WARP,
D3D_DRIVER_TYPE_REFERENCE,
};
UIN...
Encampment asked 11/4, 2022 at 15:27
1
Solved
I use Microsoft Desktop Duplication API and if my code runs on the Integrated (Intel) graphic card then everything works fine. But if I run on the dedicated card, I get an error.
I found that Micro...
Adlei asked 18/6, 2019 at 8:47
3
I just stumbled on this little annoying behavior, while adding full screen support on a sample program.
Creating a full screen window works, but as soon as I move any window (from another applicat...
Gere asked 20/10, 2015 at 10:17
1
Solved
There is an option in Windows control panel that allows to set a app to "high performance".
Control Panel -> System -> Display -> Graphics Settings.
On adding my application there, I noticed that,...
Bentwood asked 14/1, 2020 at 10:43
1
Solved
I'm working on an application that would capture the screen through Desktop duplication APIs (using DirectX 11) (only the diff to the previous screen update) and render it on another window (The vi...
Prearrange asked 10/9, 2017 at 20:3
3
I need some help with drawing a text to a texture with GDI and D3D11. I tried using D2D/DirectWrite, but it supports just D3D10 and not D3D11 as I need. Everything I tried failed so far...
Now I wa...
Silvey asked 12/5, 2011 at 14:33
0
The original problem that I ran into, was that I wasn't able to get my game to run in full screen on my 2nd monitor. Going to display settings and swapping main display from 2nd to 1st, lets my gam...
1
Solved
So I'm trying to create a window that only shows its borders and have the rest of the body be see through.
I've created a mockup of what that would look like in my head:
I tried blitting in a b...
1
What is the correct way to wait for VBLANK to present on windows 10 in windowed mode? Currently I'm doing the following:
D3DKMTWaitForVerticalBlankEvent(&waitData);
swapchain->Present(0, 0)...
1
Solved
I am using AcquireNextFrame from the Desktop Duplication API to capture the screen. The refresh rate of the screen is 120Hz. When running a game at 120FPS, the screen capture can capture fram...
Pyx asked 16/1, 2018 at 9:41
0
I'm capturing the screens using desktop duplication APIs (DirectX11). The DuplicateOutput API returns the access denied error and that too happens very rare(may be 10% of the time) on a windows 8.1...
Arvind asked 16/9, 2017 at 19:4
1
I setup a DX12 application that only clears the backbuffer every frame.
It really is barebone : no PSO, no root...
The only particularity is that it waits on the swapChain to be done with Present()...
Liesa asked 4/5, 2017 at 13:32
1
Since Windows 10 doesn't support Mirror drivers, how do I use Desktop Duplication API to capture console at all times i.e. start with logon window, then user's desktop (after the user logs in) and ...
Bluepoint asked 20/9, 2016 at 21:50
1
Solved
The depth-stencil buffer resource is defined as DXGI_FORMAT_D24_UNORM_S8_UINT format.
I would have assumed that to create a shader resource view (SRV) into that resource would require the view f...
Waw asked 13/8, 2016 at 14:11
1
Solved
The problem: calling IDXGIOutput1::DuplicateOutput method returns DXGI_ERROR_UNSUPPORTED when you run an application using discrete graphics controller on a machine with switchable graphics.
This ...
Eliathas asked 20/5, 2016 at 14:31
1
I'm trying to write an app which will capture a video stream of the screen and send it to a remote client. I've found out that the best way to capture a screen on Windows is to use DXGI Desktop Dup...
Emplane asked 13/1, 2016 at 12:53
2
Solved
The MSDN page on DXGI gives instructions on how to handle fullscreen resolutions different from the desktop resolution. It says to call IDXGISwapChain::ResizeTargets() before calling IDXGISwapChain...
1
I have a Direct2D render target created with ID2D1Factory::CreateDxgiSurfaceRenderTarget. When I receive a WM_SIZE message, I try to resize the corresponding swap chain by calling IDXGISwapChain::R...
3
I am creating a multi-monitor full screen DXGI/D3D application. I am enumerating through the available outputs and adapters in preparation of creating their swap chains.
When creating my swap chai...
Crushing asked 23/3, 2013 at 4:19
0
I am trying to decide whether or not to support multiple adapters/monitors in my application as opposed to locking my window to the primary adapter and primary monitor. I have a lot of questions ab...
Fudge asked 7/12, 2014 at 19:30
2
Solved
I'm developing an DirectX11 application. During initialization I enumerate the available graphics adapters as described here.
Now, for one of our customers the number of available adapters appears...
Karate asked 20/6, 2014 at 7:16
1
Solved
I've written an application that can switch between OpenGL, DirectX 9 and DirectX 11 for rendering without restarting or recreating the window. Switching between OpenGL and DirectX 9 as well as to ...
Antonio asked 18/12, 2013 at 0:18
2
Solved
I have found 7 different ways to enumerate the monitors attached to the computer. But all solutions give different results (number of the monitors and information on each monitor).
These solutions...
1
Solved
I am developing a program that needs two full screen Direct3D dispalys. According to the documentation I should create the swap chains in windowed mode and then switch to full screen mode. While th...
Headpin asked 15/3, 2013 at 1:9
1
Solved
What are the thread-safety rules for IDXGISurface1 GetDC/ReleaseDC for textures created with D3D11_RESOURCE_MISC_GDI_COMPATIBLE?
Can I interact with ID3D11Device and ID3D11DeviceContext between Ge...
Erwinery asked 4/2, 2013 at 8:0
1 Next >
© 2022 - 2024 — McMap. All rights reserved.