24 #ifndef PXR_IMAGING_HGI_GL_HGI_H
25 #define PXR_IMAGING_HGI_GL_HGI_H
209 HgiGL & operator=(
const HgiGL&) =
delete;
210 HgiGL(
const HgiGL&) =
delete;
223 std::unique_ptr<HgiGLCapabilities> _capabilities;
233 #define HGIGL_API_VERSION 2
HGIGL_API void SetContextArena(HgiGLContextArenaHandle const &arenaHandle)
HGIGL_API void DestroyShaderFunction(HgiShaderFunctionHandle *shaderFunctionHandle) override
HGIGL_API HgiComputePipelineHandle CreateComputePipeline(HgiComputePipelineDesc const &pipeDesc) override
HGIGL_API void DestroyShaderProgram(HgiShaderProgramHandle *shaderProgramHandle) override
HGIGL_API HgiTextureViewHandle CreateTextureView(HgiTextureViewDesc const &desc) override
HGIGL_API void DestroyContextArena(HgiGLContextArenaHandle *arenaHandle)
std::function< void(void)> HgiGLOpsFn
int HgiHandle< class HgiTexture > HgiTextureHandle
HGIGL_API HgiGLCapabilities const * GetCapabilities() const override
HGIGL_API HgiBlitCmdsUniquePtr CreateBlitCmds() override
HGIGL_API HgiShaderFunctionHandle CreateShaderFunction(HgiShaderFunctionDesc const &desc) override
HGIGL_API TfToken const & GetAPIName() const override
HGIGL_API HgiSamplerHandle CreateSampler(HgiSamplerDesc const &desc) override
HGIGL_API HgiShaderProgramHandle CreateShaderProgram(HgiShaderProgramDesc const &desc) override
HGIGL_API void DestroyBuffer(HgiBufferHandle *bufHandle) override
HGIGL_API HgiGLDevice * GetPrimaryDevice() const
HGIGL_API void DestroyComputePipeline(HgiComputePipelineHandle *pipeHandle) override
HGIGL_API HgiResourceBindingsHandle CreateResourceBindings(HgiResourceBindingsDesc const &desc) override
HGIGL_API HgiIndirectCommandEncoder * GetIndirectCommandEncoder() const override
std::unique_ptr< class HgiGraphicsCmds > HgiGraphicsCmdsUniquePtr
HGIGL_API HgiTextureHandle CreateTexture(HgiTextureDesc const &desc) override
HGIGL_API ~HgiGL() override
HGIGL_API void DestroySampler(HgiSamplerHandle *smpHandle) override
HGIGL_API bool _SubmitCmds(HgiCmds *cmds, HgiSubmitWaitType wait) override
HGIGL_API HgiGraphicsCmdsUniquePtr CreateGraphicsCmds(HgiGraphicsCmdsDesc const &desc) override
std::unique_ptr< class HgiComputeCmds > HgiComputeCmdsUniquePtr
HGIGL_API void StartFrame() override
HGIGL_API HgiGraphicsPipelineHandle CreateGraphicsPipeline(HgiGraphicsPipelineDesc const &pipeDesc) override
HGIGL_API void DestroyTextureView(HgiTextureViewHandle *viewHandle) override
std::unique_ptr< class HgiBlitCmds > HgiBlitCmdsUniquePtr
HGIGL_API HgiComputeCmdsUniquePtr CreateComputeCmds(HgiComputeCmdsDesc const &desc) override
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
HGIGL_API HgiBufferHandle CreateBuffer(HgiBufferDesc const &desc) override
#define PXR_NAMESPACE_CLOSE_SCOPE
HGIGL_API void DestroyResourceBindings(HgiResourceBindingsHandle *resHandle) override
HGIGL_API HgiGLContextArenaHandle CreateContextArena()
HGIGL_API void EndFrame() override
HGIGL_API bool IsBackendSupported() const override
HGIGL_API void DestroyTexture(HgiTextureHandle *texHandle) override
std::vector< HgiGLOpsFn > HgiGLOpsVector
HGIGL_API void DestroyGraphicsPipeline(HgiGraphicsPipelineHandle *pipeHandle) override