|
Functions |
CUresult | cuGLCtxCreate (CUcontext *pCtx, unsigned int Flags, CUdevice device) |
| Create a CUDA context for interoperability with OpenGL.
|
CUresult | cuGLInit (void) |
| Initializes OpenGL interoperability.
|
CUresult | cuGLMapBufferObject (CUdeviceptr *dptr, unsigned int *size, GLuint bufferobj) |
| Maps an OpenGL buffer object.
|
CUresult | cuGLMapBufferObjectAsync (CUdeviceptr *dptr, unsigned int *size, GLuint bufferobj, CUstream hStream) |
| Maps an OpenGL buffer object.
|
CUresult | cuGLRegisterBufferObject (GLuint bufferobj) |
| Registers an OpenGL buffer object.
|
CUresult | cuGLSetBufferObjectMapFlags (GLuint bufferobj, unsigned int Flags) |
| Set the map flags for an OpenGL buffer object.
|
CUresult | cuGLUnmapBufferObject (GLuint bufferobj) |
| Unmaps an OpenGL buffer object.
|
CUresult | cuGLUnmapBufferObjectAsync (GLuint bufferobj, CUstream hStream) |
| Unmaps an OpenGL buffer object.
|
CUresult | cuGLUnregisterBufferObject (GLuint bufferobj) |
| Unregister an OpenGL buffer object.
|
CUresult | cuWGLGetDevice (CUdevice *pDevice, HGPUNV hGpu) |
| Gets the CUDA device associated with hGpu.
|
Detailed Description
This section describes the OpenGL interoperability functions of the low-level CUDA driver application programming interface.