Diligent Engine  v.2.4.g
Classes | Namespaces | Macros | Functions
RenderDeviceGLImpl.cpp File Reference
#include "pch.h"
#include "RenderDeviceGLImpl.hpp"
#include "BufferGLImpl.hpp"
#include "ShaderGLImpl.hpp"
#include "Texture1D_GL.hpp"
#include "Texture1DArray_GL.hpp"
#include "Texture2D_GL.hpp"
#include "Texture2DArray_GL.hpp"
#include "Texture3D_GL.hpp"
#include "TextureCube_GL.hpp"
#include "TextureCubeArray_GL.hpp"
#include "SamplerGLImpl.hpp"
#include "DeviceContextGLImpl.hpp"
#include "PipelineStateGLImpl.hpp"
#include "ShaderResourceBindingGLImpl.hpp"
#include "FenceGLImpl.hpp"
#include "QueryGLImpl.hpp"
#include "RenderPassGLImpl.hpp"
#include "FramebufferGLImpl.hpp"
#include "PipelineResourceSignatureGLImpl.hpp"
#include "GLTypeConversions.hpp"
#include "VAOCache.hpp"
#include "EngineMemory.h"
#include "StringTools.hpp"

Classes

class  Diligent::BottomLevelASGLImpl
 
class  Diligent::TopLevelASGLImpl
 
class  Diligent::ShaderBindingTableGLImpl
 

Namespaces

 Diligent
 The library uses Direct3D-style math:
 

Macros

#define SET_FEATURE_STATE(Feature, IsSupported, FeatureName)
 
#define FLAG_FORMAT(Fmt, IsSupported)   m_TextureFormatsInfo[Fmt].Supported = IsSupported
 

Functions

template<typename CreateFuncType >
bool Diligent::CreateTestGLTexture (GLContextState &GlCtxState, GLenum BindTarget, const GLObjectWrappers::GLTextureObj &GLTexObj, CreateFuncType CreateFunc)
 
template<typename CreateFuncType >
bool Diligent::CreateTestGLTexture (GLContextState &GlCtxState, GLenum BindTarget, CreateFuncType CreateFunc)
 

Macro Definition Documentation

◆ FLAG_FORMAT

#define FLAG_FORMAT (   Fmt,
  IsSupported 
)    m_TextureFormatsInfo[Fmt].Supported = IsSupported

◆ SET_FEATURE_STATE

#define SET_FEATURE_STATE (   Feature,
  IsSupported,
  FeatureName 
)
Value:
do \
{ \
switch (InitAttribs.Features.Feature) \
{ \
{ \
if (!(IsSupported)) \
LOG_ERROR_AND_THROW(FeatureName, " not supported by this device"); \
else \
Features.Feature = DEVICE_FEATURE_STATE_ENABLED; \
} \
break; \
Features.Feature = (IsSupported) ? \
break; \
default: UNEXPECTED("Unexpected feature state"); \
} \
} while (false)
UNEXPECTED
#define UNEXPECTED(...)
Definition: DebugUtilities.hpp:77
Diligent::DEVICE_FEATURE_STATE_DISABLED
@ DEVICE_FEATURE_STATE_DISABLED
Device feature is disabled.
Definition: GraphicsTypes.h:1546
Diligent::DEVICE_FEATURE_STATE_OPTIONAL
@ DEVICE_FEATURE_STATE_OPTIONAL
Device feature is optional.
Definition: GraphicsTypes.h:1561
Diligent::DEVICE_FEATURE_STATE_ENABLED
@ DEVICE_FEATURE_STATE_ENABLED
Device feature is enabled.
Definition: GraphicsTypes.h:1553