Geoffrey McRae
f991f994f0
[host] dxgi: rename cpu to tex
2023-11-10 06:28:05 +11:00
Geoffrey McRae
772e0e3b4a
[host] dxgi: fix d3d11 invalid memory allocation for backend struct
2023-11-10 06:28:05 +11:00
Geoffrey McRae
d6519c4486
[host] dxgi: remove unused define
2023-11-10 06:28:05 +11:00
Geoffrey McRae
54bd08c3cb
[host] dxgi: decouple backends from the DXGI main struct
2023-11-10 06:28:05 +11:00
Geoffrey McRae
eb2796d40b
[host] dxgi: move the backend interface into a separate header
2023-11-10 06:28:05 +11:00
Geoffrey McRae
881aa9e179
[host] dxgi: fix the d3d12 copy backend
2023-11-10 06:28:05 +11:00
Geoffrey McRae
561c45bcb9
[host] dxgi: fix support for non 24-bit BGR formats
2023-11-10 06:28:05 +11:00
Tudor Brindus
ea5b6b4026
[host] DXGI: implement damage-aware RGB24 copy
2023-11-10 06:28:05 +11:00
Geoffrey McRae
578d98fd22
[host] DXGI: initial implementation of RGB24 support
...
This commit breaks damage tracking and the dx12 backend and is not in
a state where it should be used by the general public.
2023-11-10 06:28:05 +11:00
Geoffrey McRae
fffac35300
[host] dxgi: update d3d11 backend to make use of comRef
2023-10-27 18:44:17 +11:00
Geoffrey McRae
b94166177f
[host] dxgi: update to make use of comRef (part 1 of 2)
2023-10-27 17:34:34 +11:00
Geoffrey McRae
2e515657dd
[all] update/add license headers
2023-10-20 15:36:34 +11:00
Geoffrey McRae
c8a5293645
[host] dxgi: refactor dxgi_copyFrame
2022-05-04 09:27:52 +10:00
Geoffrey McRae
2eec459b47
[host] dxgi: finish downsample support for d3d11 backend
2022-05-03 12:15:24 +10:00
Geoffrey McRae
947325e00d
[host] dxgi: fix failure to copy to texture with sub resources
...
`CopyResource` will silently fail when trying to copy from a texture
with no subresources to one with. Instead we must use `ResolveSubresource`
2022-05-02 15:53:20 +10:00
Geoffrey McRae
3134ec84de
[host] dxgi: add support for downsampling the capture before sending
...
This is an experimental & incomplete feature for those using
supersampling. Anything > 1200p will be downsampled by 50% before
copying out of the GPU to save on memory bandwidth.
Unfinished! Has issues with damage tracking and currently can not
be configured. Only dx11 has been tested at this point, everything
else will likely have problems/crash.
2022-05-01 19:45:44 +10:00
Chris Spencer
f145225dbc
[host] dxgi: fix d3d11 assertion failure
...
`DEBUG_ASSERT(!this)` in `d3d11_create` is firing on the second
instantiation because we are not clearing `this` in `d3d11_free`.
2022-01-13 08:17:59 +11:00
vmfortress
7da2becfbd
[host] dxgi: Replace standard asserts with DEBUG_ASSERT
2022-01-11 11:11:42 +11:00
Quantum
cf7d501bc4
[host] dxgi: allow copy backend selection
2022-01-10 14:45:51 +11:00
Quantum
68e5b812a9
[host] dxgi: add preRelease callback
...
This is meant to avoid freeing the texture before the copy has finished.
2022-01-10 14:45:51 +11:00
Quantum
137171a8a2
[host] dxgi: refactor to support additional copy backends
2022-01-10 14:45:51 +11:00