summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
-rw-r--r--Graphics/GraphicsEngineOpenGL/src/FenceGLImpl.cpp14
-rw-r--r--Graphics/GraphicsEngineOpenGL/src/RenderDeviceGLImpl.cpp32
2 files changed, 23 insertions, 23 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/src/FenceGLImpl.cpp b/Graphics/GraphicsEngineOpenGL/src/FenceGLImpl.cpp
index bb2ad414..45d6d0ec 100644
--- a/Graphics/GraphicsEngineOpenGL/src/FenceGLImpl.cpp
+++ b/Graphics/GraphicsEngineOpenGL/src/FenceGLImpl.cpp
@@ -29,9 +29,9 @@
namespace Diligent
{
-FenceGLImpl ::FenceGLImpl(IReferenceCounters* pRefCounters,
- RenderDeviceGLImpl* pDevice,
- const FenceDesc& Desc) :
+FenceGLImpl::FenceGLImpl(IReferenceCounters* pRefCounters,
+ RenderDeviceGLImpl* pDevice,
+ const FenceDesc& Desc) :
// clang-format off
TFenceBase
{
@@ -43,11 +43,11 @@ FenceGLImpl ::FenceGLImpl(IReferenceCounters* pRefCounters,
{
}
-FenceGLImpl ::~FenceGLImpl()
+FenceGLImpl::~FenceGLImpl()
{
}
-Uint64 FenceGLImpl ::GetCompletedValue()
+Uint64 FenceGLImpl::GetCompletedValue()
{
while (!m_PendingFences.empty())
{
@@ -73,7 +73,7 @@ Uint64 FenceGLImpl ::GetCompletedValue()
return m_LastCompletedFenceValue;
}
-void FenceGLImpl ::Wait(Uint64 Value, bool FlushCommands)
+void FenceGLImpl::Wait(Uint64 Value, bool FlushCommands)
{
while (!m_PendingFences.empty())
{
@@ -91,7 +91,7 @@ void FenceGLImpl ::Wait(Uint64 Value, bool FlushCommands)
}
}
-void FenceGLImpl ::Reset(Uint64 Value)
+void FenceGLImpl::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)
diff --git a/Graphics/GraphicsEngineOpenGL/src/RenderDeviceGLImpl.cpp b/Graphics/GraphicsEngineOpenGL/src/RenderDeviceGLImpl.cpp
index 0caa24fa..f813cb58 100644
--- a/Graphics/GraphicsEngineOpenGL/src/RenderDeviceGLImpl.cpp
+++ b/Graphics/GraphicsEngineOpenGL/src/RenderDeviceGLImpl.cpp
@@ -47,11 +47,11 @@
namespace Diligent
{
-RenderDeviceGLImpl ::RenderDeviceGLImpl(IReferenceCounters* pRefCounters,
- IMemoryAllocator& RawMemAllocator,
- IEngineFactory* pEngineFactory,
- const EngineGLCreateInfo& InitAttribs,
- const SwapChainDesc* pSCDesc) :
+RenderDeviceGLImpl::RenderDeviceGLImpl(IReferenceCounters* pRefCounters,
+ IMemoryAllocator& RawMemAllocator,
+ IEngineFactory* pEngineFactory,
+ const EngineGLCreateInfo& InitAttribs,
+ const SwapChainDesc* pSCDesc) :
// clang-format off
TRenderDeviceBase
{
@@ -105,18 +105,18 @@ RenderDeviceGLImpl ::RenderDeviceGLImpl(IReferenceCounters* pRefCounters,
m_GPUInfo.Vendor = GPU_VENDOR::QUALCOMM;
}
-RenderDeviceGLImpl ::~RenderDeviceGLImpl()
+RenderDeviceGLImpl::~RenderDeviceGLImpl()
{
}
IMPLEMENT_QUERY_INTERFACE(RenderDeviceGLImpl, IID_RenderDeviceGL, TRenderDeviceBase)
-void RenderDeviceGLImpl ::InitTexRegionRender()
+void RenderDeviceGLImpl::InitTexRegionRender()
{
m_pTexRegionRender.reset(new TexRegionRender(this));
}
-void RenderDeviceGLImpl ::CreateBuffer(const BufferDesc& BuffDesc, const BufferData* pBuffData, IBuffer** ppBuffer, bool bIsDeviceInternal)
+void RenderDeviceGLImpl::CreateBuffer(const BufferDesc& BuffDesc, const BufferData* pBuffData, IBuffer** ppBuffer, bool bIsDeviceInternal)
{
CreateDeviceObject(
"buffer", BuffDesc, ppBuffer,
@@ -134,12 +134,12 @@ void RenderDeviceGLImpl ::CreateBuffer(const BufferDesc& BuffDesc, const BufferD
);
}
-void RenderDeviceGLImpl ::CreateBuffer(const BufferDesc& BuffDesc, const BufferData* BuffData, IBuffer** ppBuffer)
+void RenderDeviceGLImpl::CreateBuffer(const BufferDesc& BuffDesc, const BufferData* BuffData, IBuffer** ppBuffer)
{
CreateBuffer(BuffDesc, BuffData, ppBuffer, false);
}
-void RenderDeviceGLImpl ::CreateBufferFromGLHandle(Uint32 GLHandle, const BufferDesc& BuffDesc, RESOURCE_STATE InitialState, IBuffer** ppBuffer)
+void RenderDeviceGLImpl::CreateBufferFromGLHandle(Uint32 GLHandle, const BufferDesc& BuffDesc, RESOURCE_STATE InitialState, IBuffer** ppBuffer)
{
VERIFY(GLHandle, "GL buffer handle must not be null");
CreateDeviceObject(
@@ -158,7 +158,7 @@ void RenderDeviceGLImpl ::CreateBufferFromGLHandle(Uint32 GLHandle, const Buffer
);
}
-void RenderDeviceGLImpl ::CreateShader(const ShaderCreateInfo& ShaderCreateInfo, IShader** ppShader, bool bIsDeviceInternal)
+void RenderDeviceGLImpl::CreateShader(const ShaderCreateInfo& ShaderCreateInfo, IShader** ppShader, bool bIsDeviceInternal)
{
CreateDeviceObject(
"shader", ShaderCreateInfo.Desc, ppShader,
@@ -172,12 +172,12 @@ void RenderDeviceGLImpl ::CreateShader(const ShaderCreateInfo& ShaderCreateInfo,
);
}
-void RenderDeviceGLImpl ::CreateShader(const ShaderCreateInfo& ShaderCreateInfo, IShader** ppShader)
+void RenderDeviceGLImpl::CreateShader(const ShaderCreateInfo& ShaderCreateInfo, IShader** ppShader)
{
CreateShader(ShaderCreateInfo, ppShader, false);
}
-void RenderDeviceGLImpl ::CreateTexture(const TextureDesc& TexDesc, const TextureData* pData, ITexture** ppTexture, bool bIsDeviceInternal)
+void RenderDeviceGLImpl::CreateTexture(const TextureDesc& TexDesc, const TextureData* pData, ITexture** ppTexture, bool bIsDeviceInternal)
{
CreateDeviceObject(
"texture", TexDesc, ppTexture,
@@ -291,7 +291,7 @@ void RenderDeviceGLImpl::CreateTextureFromGLHandle(Uint32 GLHandle, const Textur
);
}
-void RenderDeviceGLImpl ::CreateDummyTexture(const TextureDesc& TexDesc, RESOURCE_STATE InitialState, TextureBaseGL** ppTexture)
+void RenderDeviceGLImpl::CreateDummyTexture(const TextureDesc& TexDesc, RESOURCE_STATE InitialState, TextureBaseGL** ppTexture)
{
CreateDeviceObject(
"texture", TexDesc, ppTexture,
@@ -314,7 +314,7 @@ void RenderDeviceGLImpl ::CreateDummyTexture(const TextureDesc& TexDesc, RESOURC
);
}
-void RenderDeviceGLImpl ::CreateSampler(const SamplerDesc& SamplerDesc, ISampler** ppSampler, bool bIsDeviceInternal)
+void RenderDeviceGLImpl::CreateSampler(const SamplerDesc& SamplerDesc, ISampler** ppSampler, bool bIsDeviceInternal)
{
CreateDeviceObject(
"sampler", SamplerDesc, ppSampler,
@@ -760,7 +760,7 @@ void RenderDeviceGLImpl::TestTextureFormat(TEXTURE_FORMAT TexFormat)
}
}
-void RenderDeviceGLImpl ::QueryDeviceCaps()
+void RenderDeviceGLImpl::QueryDeviceCaps()
{
if (glPolygonMode == nullptr)
m_DeviceCaps.bWireframeFillSupported = false;