dxgi

DirectX Resize shows win32 background at Edges

风格不统一 提交于 2020-08-06 07:11:05
问题 When resizing down in DirectX I noticed a flicker along the bottom/right edges. If you fix the size of the swapchain (in red), and set the win32 background to green you will get the following on a resize down: It appears that the window size lags behind the mouse position ("Drag Rectangle") but the area DirectX fills (in red and black) matches the Drag Rectangle, with the remainder to be painted with the window background color (green). The DirectX Utility Toolkit (DXUT) didn't have this

ID3D11Texture2D to ID2D1Bitmap, is it possible?

你离开我真会死。 提交于 2020-05-11 03:04:10
问题 I am working on a extension to a game which only opens a HDC for addon developers to draw on. However, I have exhausted GDI+/Direct2D drawing possibilities that is fast enough for what I want to accomplish - image effects(Additive, Blend, Multiply Blend etc). I am well aware that Direct2D offers a effects toolkit however, that requires a platform update (for Windows 7) and that is not ideal at all. Hence I am left with only Direct3D. MSDN/Google Search offers lots of ways to do D2D -> D3D,

ID3D11Texture2D to ID2D1Bitmap, is it possible?

我怕爱的太早我们不能终老 提交于 2020-05-11 02:59:51
问题 I am working on a extension to a game which only opens a HDC for addon developers to draw on. However, I have exhausted GDI+/Direct2D drawing possibilities that is fast enough for what I want to accomplish - image effects(Additive, Blend, Multiply Blend etc). I am well aware that Direct2D offers a effects toolkit however, that requires a platform update (for Windows 7) and that is not ideal at all. Hence I am left with only Direct3D. MSDN/Google Search offers lots of ways to do D2D -> D3D,

ID3D11Texture2D to ID2D1Bitmap, is it possible?

跟風遠走 提交于 2020-05-11 02:59:14
问题 I am working on a extension to a game which only opens a HDC for addon developers to draw on. However, I have exhausted GDI+/Direct2D drawing possibilities that is fast enough for what I want to accomplish - image effects(Additive, Blend, Multiply Blend etc). I am well aware that Direct2D offers a effects toolkit however, that requires a platform update (for Windows 7) and that is not ideal at all. Hence I am left with only Direct3D. MSDN/Google Search offers lots of ways to do D2D -> D3D,