diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2021-03-04 08:16:25 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2021-03-19 00:38:14 +0000 |
| commit | 5d11bc3700658755a37eb0add40deb4f167c2084 (patch) | |
| tree | 07f506d19191f59f4b590f28f48814118f8dd531 /Graphics/GraphicsEngineNextGenBase | |
| parent | GL backend: some cosmetic code changes (diff) | |
| download | DiligentCore-5d11bc3700658755a37eb0add40deb4f167c2084.tar.gz DiligentCore-5d11bc3700658755a37eb0add40deb4f167c2084.zip | |
Unified device object creation in D3D12, Vulkan and OpenGL
Diffstat (limited to 'Graphics/GraphicsEngineNextGenBase')
| -rw-r--r-- | Graphics/GraphicsEngineNextGenBase/include/RenderDeviceNextGenBase.hpp | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/Graphics/GraphicsEngineNextGenBase/include/RenderDeviceNextGenBase.hpp b/Graphics/GraphicsEngineNextGenBase/include/RenderDeviceNextGenBase.hpp index 55e71a21..c143aa74 100644 --- a/Graphics/GraphicsEngineNextGenBase/include/RenderDeviceNextGenBase.hpp +++ b/Graphics/GraphicsEngineNextGenBase/include/RenderDeviceNextGenBase.hpp @@ -49,16 +49,13 @@ template <class TBase, typename CommandQueueType> class RenderDeviceNextGenBase : public TBase { public: - using typename TBase::DeviceObjectSizes; - - RenderDeviceNextGenBase(IReferenceCounters* pRefCounters, - IMemoryAllocator& RawMemAllocator, - IEngineFactory* pEngineFactory, - size_t CmdQueueCount, - CommandQueueType** Queues, - Uint32 NumDeferredContexts, - const DeviceObjectSizes& ObjectSizes) : - TBase{pRefCounters, RawMemAllocator, pEngineFactory, NumDeferredContexts, ObjectSizes}, + RenderDeviceNextGenBase(IReferenceCounters* pRefCounters, + IMemoryAllocator& RawMemAllocator, + IEngineFactory* pEngineFactory, + size_t CmdQueueCount, + CommandQueueType** Queues, + Uint32 NumDeferredContexts) : + TBase{pRefCounters, RawMemAllocator, pEngineFactory, NumDeferredContexts}, m_CmdQueueCount{CmdQueueCount} { m_CommandQueues = ALLOCATE(this->m_RawMemAllocator, "Raw memory for the device command/release queues", CommandQueue, m_CmdQueueCount); |
