mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-11-30 04:24:11 +01:00
parent
1784b8c44d
commit
99813a7778
@ -11,7 +11,7 @@ namespace dxvk {
|
||||
|
||||
D3D11DeviceContext::D3D11DeviceContext(
|
||||
D3D11Device* pParent,
|
||||
Rc<DxvkDevice> Device)
|
||||
const Rc<DxvkDevice>& Device)
|
||||
: m_parent (pParent),
|
||||
m_device (Device),
|
||||
m_csChunk (new DxvkCsChunk()) {
|
||||
|
@ -17,7 +17,7 @@ namespace dxvk {
|
||||
|
||||
D3D11DeviceContext(
|
||||
D3D11Device* pParent,
|
||||
Rc<DxvkDevice> Device);
|
||||
const Rc<DxvkDevice>& Device);
|
||||
~D3D11DeviceContext();
|
||||
|
||||
HRESULT STDMETHODCALLTYPE QueryInterface(
|
||||
|
@ -4,7 +4,7 @@ namespace dxvk {
|
||||
|
||||
D3D11DeferredContext::D3D11DeferredContext(
|
||||
D3D11Device* pParent,
|
||||
Rc<DxvkDevice> Device,
|
||||
const Rc<DxvkDevice>& Device,
|
||||
UINT ContextFlags)
|
||||
: D3D11DeviceContext(pParent, Device),
|
||||
m_contextFlags(ContextFlags),
|
||||
|
@ -25,7 +25,7 @@ namespace dxvk {
|
||||
|
||||
D3D11DeferredContext(
|
||||
D3D11Device* pParent,
|
||||
Rc<DxvkDevice> Device,
|
||||
const Rc<DxvkDevice>& Device,
|
||||
UINT ContextFlags);
|
||||
|
||||
D3D11_DEVICE_CONTEXT_TYPE STDMETHODCALLTYPE GetType() final;
|
||||
|
@ -7,7 +7,7 @@ namespace dxvk {
|
||||
|
||||
D3D11ImmediateContext::D3D11ImmediateContext(
|
||||
D3D11Device* pParent,
|
||||
Rc<DxvkDevice> Device)
|
||||
const Rc<DxvkDevice>& Device)
|
||||
: D3D11DeviceContext(pParent, Device),
|
||||
m_csThread(Device->createContext()) {
|
||||
EmitCs([cDevice = m_device] (DxvkContext* ctx) {
|
||||
|
@ -13,7 +13,7 @@ namespace dxvk {
|
||||
|
||||
D3D11ImmediateContext(
|
||||
D3D11Device* pParent,
|
||||
Rc<DxvkDevice> Device);
|
||||
const Rc<DxvkDevice>& Device);
|
||||
~D3D11ImmediateContext();
|
||||
|
||||
ULONG STDMETHODCALLTYPE AddRef() final;
|
||||
|
Loading…
Reference in New Issue
Block a user