/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hip/checkouts/clr/hipamd/include/hip/amd_detail/amd_hip_gl_interop.h Source File#
amd_hip_gl_interop.h
Go to the documentation of this file.
hipError_t hipGLGetDevices(unsigned int *pHipDeviceCount, int *pHipDevices, unsigned int hipDeviceCount, hipGLDeviceList deviceList)
Queries devices associated with the current OpenGL context.
hipError_t hipGraphicsGLRegisterImage(hipGraphicsResource **resource, GLuint image, GLenum target, unsigned int flags)
Register a GL Image for interop and returns the corresponding graphic resource.
hipError_t hipGraphicsGLRegisterBuffer(hipGraphicsResource **resource, GLuint buffer, unsigned int flags)
Registers a GL Buffer for interop and returns corresponding graphics resource.
struct _hipGraphicsResource hipGraphicsResource
Definition: hip_runtime_api.h:1209
@ hipGLDeviceListAll
All hip devices used by current OpenGL context.
Definition: amd_hip_gl_interop.h:41