diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-09-09 01:04:58 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-09-09 01:04:58 +0000 |
| commit | a85347704ba95234da16298f28ba2b431c4f569c (patch) | |
| tree | e1ca567d87bd81106731c4b97fa511b55db770af /Graphics/GraphicsEngineMetal | |
| parent | Added IDeviceContext::WaitForIdle() method (updated API version to 240028) (diff) | |
| download | DiligentCore-a85347704ba95234da16298f28ba2b431c4f569c.tar.gz DiligentCore-a85347704ba95234da16298f28ba2b431c4f569c.zip | |
Added IRenderDevice::IdleGPU() method (updated API version to 240029)
Diffstat (limited to 'Graphics/GraphicsEngineMetal')
| -rw-r--r-- | Graphics/GraphicsEngineMetal/include/RenderDeviceMtlImpl.h | 2 | ||||
| -rw-r--r-- | Graphics/GraphicsEngineMetal/src/RenderDeviceMtlImpl.mm | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineMetal/include/RenderDeviceMtlImpl.h b/Graphics/GraphicsEngineMetal/include/RenderDeviceMtlImpl.h index 0b10967f..5b49c291 100644 --- a/Graphics/GraphicsEngineMetal/include/RenderDeviceMtlImpl.h +++ b/Graphics/GraphicsEngineMetal/include/RenderDeviceMtlImpl.h @@ -61,6 +61,8 @@ public: virtual void ReleaseStaleResources(bool ForceRelease = false)override final {} + virtual void IdleGPU()override final; + size_t GetCommandQueueCount()const { return 1; } Uint64 GetCommandQueueMask()const { return Uint64{1};} diff --git a/Graphics/GraphicsEngineMetal/src/RenderDeviceMtlImpl.mm b/Graphics/GraphicsEngineMetal/src/RenderDeviceMtlImpl.mm index 181314db..42783161 100644 --- a/Graphics/GraphicsEngineMetal/src/RenderDeviceMtlImpl.mm +++ b/Graphics/GraphicsEngineMetal/src/RenderDeviceMtlImpl.mm @@ -171,4 +171,9 @@ void RenderDeviceMtlImpl::CreateFence(const FenceDesc& Desc, IFence** ppFence) ); } +void RenderDeviceMtlImpl::IdleGPU() +{ + LOG_ERROR_MESSAGE("RenderDeviceMtlImpl::IdleGPU() is not implemented"); +} + } |
