24 #ifndef PXR_IMAGING_HGI_GL_BLIT_CMDS_H
25 #define PXR_IMAGING_HGI_GL_BLIT_CMDS_H
28 #include "pxr/imaging/hgi/blitCmds.h"
29 #include "pxr/imaging/hgiGL/api.h"
30 #include "pxr/imaging/hgiGL/hgi.h"
32 PXR_NAMESPACE_OPEN_SCOPE
85 bool _Submit(
Hgi* hgi, HgiSubmitWaitType wait)
override;
88 HgiGLBlitCmds & operator=(
const HgiGLBlitCmds&) =
delete;
89 HgiGLBlitCmds(
const HgiGLBlitCmds&) =
delete;
98 PXR_NAMESPACE_CLOSE_SCOPE
Describes the properties needed to copy buffer data from CPU to GPU.
HGIGL_API void PushDebugGroup(const char *label) override
Push a debug marker.
Describes the properties needed to copy GPU buffer data into a GPU texture.
HGIGL_API void GenerateMipMaps(HgiTextureHandle const &texture) override
Generate mip maps for a texture.
OpenGL implementation of HgiBlitCmds.
HGIGL_API void CopyTextureToBuffer(HgiTextureToBufferOp const ©Op) override
Copy a texture resource into a buffer resource from GPU to GPU.
HGIGL_API void CopyBufferGpuToCpu(HgiBufferGpuToCpuOp const ©Op) override
Copy new data from GPU into CPU buffer.
Describes the properties needed to copy texture data from GPU to CPU.
HGIGL_API void CopyBufferCpuToGpu(HgiBufferCpuToGpuOp const ©Op) override
Copy new data from CPU into GPU buffer.
HGIGL_API void MemoryBarrier(HgiMemoryBarrier barrier) override
Inserts a barrier so that data written to memory by commands before the barrier is available to comma...
HGIGL_API void PopDebugGroup() override
Pop the lastest debug.
OpenGL implementation of the Hydra Graphics Interface.
HGIGL_API void CopyTextureGpuToCpu(HgiTextureGpuToCpuOp const ©Op) override
Copy a texture resource from GPU to CPU.
HGIGL_API void CopyBufferToTexture(HgiBufferToTextureOp const ©Op) override
Copy a buffer resource into a texture resource from GPU to GPU.
Hydra Graphics Interface.
HGIGL_API void CopyTextureCpuToGpu(HgiTextureCpuToGpuOp const ©Op) override
Copy new data from the CPU into a GPU texture.
Describes the properties needed to copy buffer data from GPU to CPU.
Describes the properties needed to copy texture data from CPU to GPU.
Describes the properties needed to copy buffer data from GPU to GPU.
A graphics API independent abstraction of resource copy commands.
HGIGL_API void CopyBufferGpuToGpu(HgiBufferGpuToGpuOp const ©Op) override
Copy a buffer resource from GPU to GPU.
Describes the properties needed to copy GPU texture data into a GPU buffer.