diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2019-12-25 02:03:09 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2019-12-25 02:03:09 +0000 |
| commit | d94d8e0cc5e5c3bc12da4216209982a636f03144 (patch) | |
| tree | 57f4136cd3fdf62cbd601c4599279cdcdd1b97f0 /Graphics/GraphicsEngineVulkan | |
| parent | Added SetSwapChain method to IDeviceContextGL interface (diff) | |
| download | DiligentCore-d94d8e0cc5e5c3bc12da4216209982a636f03144.tar.gz DiligentCore-d94d8e0cc5e5c3bc12da4216209982a636f03144.zip | |
Minor formatting updates
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/src/FenceVkImpl.cpp | 16 | ||||
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/src/TextureVkImpl.cpp | 12 |
2 files changed, 14 insertions, 14 deletions
diff --git a/Graphics/GraphicsEngineVulkan/src/FenceVkImpl.cpp b/Graphics/GraphicsEngineVulkan/src/FenceVkImpl.cpp index 7f6f99a3..13b557d1 100644 --- a/Graphics/GraphicsEngineVulkan/src/FenceVkImpl.cpp +++ b/Graphics/GraphicsEngineVulkan/src/FenceVkImpl.cpp @@ -30,10 +30,10 @@ namespace Diligent { -FenceVkImpl ::FenceVkImpl(IReferenceCounters* pRefCounters, - RenderDeviceVkImpl* pRendeDeviceVkImpl, - const FenceDesc& Desc, - bool IsDeviceInternal) : +FenceVkImpl::FenceVkImpl(IReferenceCounters* pRefCounters, + RenderDeviceVkImpl* pRendeDeviceVkImpl, + const FenceDesc& Desc, + bool IsDeviceInternal) : // clang-format off TFenceBase { @@ -47,7 +47,7 @@ FenceVkImpl ::FenceVkImpl(IReferenceCounters* pRefCounters, { } -FenceVkImpl ::~FenceVkImpl() +FenceVkImpl::~FenceVkImpl() { if (!m_PendingFences.empty()) { @@ -60,7 +60,7 @@ FenceVkImpl ::~FenceVkImpl() } } -Uint64 FenceVkImpl ::GetCompletedValue() +Uint64 FenceVkImpl::GetCompletedValue() { const auto& LogicalDevice = m_pDevice->GetLogicalDevice(); while (!m_PendingFences.empty()) @@ -84,7 +84,7 @@ Uint64 FenceVkImpl ::GetCompletedValue() return m_LastCompletedFenceValue; } -void FenceVkImpl ::Reset(Uint64 Value) +void FenceVkImpl::Reset(Uint64 Value) { DEV_CHECK_ERR(Value >= m_LastCompletedFenceValue, "Resetting fence '", m_Desc.Name, "' to the value (", Value, ") that is smaller than the last completed value (", m_LastCompletedFenceValue, ")"); if (Value > m_LastCompletedFenceValue) @@ -92,7 +92,7 @@ void FenceVkImpl ::Reset(Uint64 Value) } -void FenceVkImpl ::Wait(Uint64 Value) +void FenceVkImpl::Wait(Uint64 Value) { const auto& LogicalDevice = m_pDevice->GetLogicalDevice(); while (!m_PendingFences.empty()) diff --git a/Graphics/GraphicsEngineVulkan/src/TextureVkImpl.cpp b/Graphics/GraphicsEngineVulkan/src/TextureVkImpl.cpp index 3ebe8579..335878be 100644 --- a/Graphics/GraphicsEngineVulkan/src/TextureVkImpl.cpp +++ b/Graphics/GraphicsEngineVulkan/src/TextureVkImpl.cpp @@ -35,11 +35,11 @@ namespace Diligent { -TextureVkImpl ::TextureVkImpl(IReferenceCounters* pRefCounters, - FixedBlockMemoryAllocator& TexViewObjAllocator, - RenderDeviceVkImpl* pRenderDeviceVk, - const TextureDesc& TexDesc, - const TextureData* pInitData /*= nullptr*/) : +TextureVkImpl::TextureVkImpl(IReferenceCounters* pRefCounters, + FixedBlockMemoryAllocator& TexViewObjAllocator, + RenderDeviceVkImpl* pRenderDeviceVk, + const TextureDesc& TexDesc, + const TextureData* pInitData /*= nullptr*/) : // clang-format off TTextureBase { @@ -584,7 +584,7 @@ void TextureVkImpl::CreateViewInternal(const TextureViewDesc& ViewDesc, ITexture } } -TextureVkImpl ::~TextureVkImpl() +TextureVkImpl::~TextureVkImpl() { // Vk object can only be destroyed when it is no longer used by the GPU // Wrappers for external texture will not be destroyed as they are created with null device pointer |
