libobs-d3d12: Add D3D12 graphics backend support#12899
libobs-d3d12: Add D3D12 graphics backend support#12899wanhongqing123 wants to merge 16 commits intoobsproject:masterfrom
Conversation
79a393c to
d4e9671
Compare
D3D12 is a new api in windows10 and windows11, Direct3D 12 lets apps get closer to hardware than ever before. By being closer to hardware, Direct3D 12 is faster and more efficient. - Implement all interfaces in graphics. - If a device support D3D11On12, then use D3D11On12 Device instead. - Image、duplicator、video、GDI+ source have been tested.
e76225e to
e7e2ba5
Compare
e7e2ba5 to
33c2c46
Compare
836e050 to
8ddd700
Compare
fcde5f0 to
d2ddf3c
Compare
d2ddf3c to
bfd0ae6
Compare
|
How do I format CMakeLists.txt? |
|
How do I format CMakeLists.txt? @PatTheMav |
|
This, again, appears to have been submitted prematurely. Please do not use the main repo of a project as a staging ground for your work. PRs should be feature complete, compliable, and functional before they are opened. Additionally, as mentioned in #12817, this fundamental approach has the same issues and the feedback there was not addressed. A d3d12 renderer should be written from scratch and not just be a modification of d3d11. I suggest looking at what was done with the Metal renderer for an idea on how this should be implemented. Since this is a major addition to the project that you are asking us to accept maintenance for, I would recommend reaching out to have conversations with us first before continuing work. This PR is not likely to be accepted without a complete change of approach. |
Description
D3D12 is a new api in windows10 and windows11, Direct3D 12 lets apps get closer to hardware than ever before. By being closer to hardware, Direct3D 12 is faster and more efficient.
Motivation and Context
As Windows updates and iterates, D3D11 may become obsolete, so D3D12 will be supported here.
How Has This Been Tested?
you can use D3D12 by:
Types of changes
Checklist: