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