Module cl3::gl[][src]

Expand description

OpenCL OpenGl Interoperability API.

Enums

Constants

Functions

Create an OpenCL buffer object for a context from an OpenGL buffer.
Calls clCreateFromGLBuffer to create an OpenCL buffer object.

Create an OpenCL 2D image object from an OpenGL renderbuffer object.
Calls clCreateFromGLRenderbuffer to create an OpenCL buffer object.

Create an OpenCL image object, image array object, or image buffer object for a context from an OpenGL texture object, texture array object, texture buffer object, or a single face of an OpenGL cubemap texture object.
Calls clCreateFromGLTexture to create an OpenCL memory object.

Create an OpenCL 2D image object from an OpenGL 2D texture object, or a single face of an OpenGL cubemap texture object.
Calls clCreateFromGLTexture2D to create an OpenCL memory object.
Deprecated in CL_VERSION_1_2, use create_from_gl_texture.

Create an OpenCL 3D image object from an OpenGL 3D texture object.
Calls clCreateFromGLTexture3D to create an OpenCL memory object.
Deprecated in CL_VERSION_1_2, use create_from_gl_texture.

Acquire OpenCL memory objects that have been created from OpenGL objects.
Calls clEnqueueAcquireGLObjects.

Release OpenCL memory objects that have been created from OpenGL objects.
Calls clEnqueueReleaseGLObjects.

Query an OpenGL object used to create an OpenCL memory object.
Calls clGetGLObjectInfo to get the object type and name.

Get data about an OpenGL texture object. Calls clGetGLTextureInfo to get the desired data about the texture object.

Get information about the GL texture object associated with a memory object. Calls clGetGLTextureInfo to get the desired information.

Type Definitions