24#ifndef PXR_IMAGING_HGI_GL_COMPUTE_CMDS_H
25#define PXR_IMAGING_HGI_GL_COMPUTE_CMDS_H
28#include "pxr/imaging/hgi/computeCmds.h"
29#include "pxr/imaging/hgi/computePipeline.h"
30#include "pxr/imaging/hgiGL/api.h"
31#include "pxr/imaging/hgiGL/hgi.h"
34PXR_NAMESPACE_OPEN_SCOPE
65 const void* data)
override;
83 bool _Submit(
Hgi* hgi, HgiSubmitWaitType wait)
override;
98PXR_NAMESPACE_CLOSE_SCOPE
Basic type for a vector of 3 int components.
A graphics API independent abstraction of compute commands.
OpenGL implementation of HgiComputeCmds.
HGIGL_API void InsertMemoryBarrier(HgiMemoryBarrier barrier) override
Inserts a barrier so that data written to memory by commands before the barrier is available to comma...
HGIGL_API void Dispatch(int dimX, int dimY) override
Execute a compute shader with provided thread group count in each dimension.
HGIGL_API HgiComputeDispatch GetDispatchMethod() const override
Returns the dispatch method for this encoder.
HGIGL_API void BindResources(HgiResourceBindingsHandle resources) override
Bind resources such as textures and uniform buffers.
HGIGL_API void BindPipeline(HgiComputePipelineHandle pipeline) override
Bind a pipeline state object.
HGIGL_API void PopDebugGroup() override
Pop the last debug marker.
HGIGL_API void SetConstantValues(HgiComputePipelineHandle pipeline, uint32_t bindIndex, uint32_t byteSize, const void *data) override
Set Push / Function constants.
HGIGL_API void PushDebugGroup(const char *label) override
Push a debug marker.
OpenGL implementation of GPU device.
OpenGL implementation of the Hydra Graphics Interface.
Handle that contains a hgi object and unique id.
Hydra Graphics Interface.
Describes the properties to construct a HgiComputeCmds.