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