| Modifier and Type | Field and Description |
|---|---|
| private final GLContext | |
| pack-priv final long |
| Access | Constructor and Description |
|---|---|
| private | CLGLContext(final CLPlatform platform, final GLContext glContext, final long clContextID, final long glContextID, final CLContext.
|
| Modifier and Type | Method and Description |
|---|---|
| public static CLGLContext | |
| public static CLGLContext | create(final GLContext glContext, final CLPlatform platform)
Creates a shared context on the specified platform on all available devices (CL_DEVICE_TYPE_ALL). |
| public static CLGLContext | |
| public static CLGLContext | create(final GLContext glContext, CLPlatform platform, final CLDevice.
Creates a shared context on the specified platform and with the specified device types. |
| public static CLGLContext | |
| public final CLGLBuffer | createFromGLBuffer(final int
The OpenGL buffer handle like a vertex buffer or pixel buffer object. glBuffer, final long The size of the OpenGL buffer in bytes glBufferSize, final CLMemory.optional flags. flagsCreates a CLGLBuffer for memory sharing with the specified OpenGL buffer. |
| public final CLGLBuffer | createFromGLBuffer(final int
The OpenGL buffer handle like a vertex buffer or pixel buffer object. glBuffer, final long The size of the OpenGL buffer in bytes glBufferSize, final int optional flags. flags)Creates a CLGLBuffer for memory sharing with the specified OpenGL buffer. |
| public final <B extends Buffer> CLGLBuffer | createFromGLBuffer(final B
A direct allocated NIO buffer for data transfers between java and OpenCL. directBuffer, final int The OpenGL buffer handle like a vertex buffer or pixel buffer object. glBuffer, final long The size of the OpenGL buffer in bytes glBufferSize, final CLMemory.optional flags. flagsCreates a CLGLBuffer for memory sharing with the specified OpenGL buffer. |
| public final <B extends Buffer> CLGLBuffer | createFromGLBuffer(final B
A direct allocated NIO buffer for data transfers between java and OpenCL. directBuffer, final int The OpenGL buffer handle like a vertex buffer or pixel buffer object. glBuffer, final long The size of the OpenGL buffer in bytes glBufferSize, final int optional flags. flags)Creates a CLGLBuffer for memory sharing with the specified OpenGL buffer. |
| public final CLGLImage2d | |
| public final CLGLImage2d | |
| public final <B extends Buffer> CLGLImage2d | |
| public final <B extends Buffer> CLGLImage2d | |
| public final CLGLTexture2d | createFromGLTexture2d(final int target, final int texture, final int mipmap, final CLMemory.
|
| public final CLGLTexture2d | |
| public final <B extends Buffer> CLGLTexture2d | createFromGLTexture2d(final B directBuffer, final int target, final int texture, final int mipmap, final CLMemory.
|
| public final <B extends Buffer> CLGLTexture2d | createFromGLTexture2d(final B directBuffer, final int target, final int texture, final int mipmap, final int flags)
|
| public final CLGLTexture3d | createFromGLTexture3d(final int target, final int texture, final int mipmap, final CLMemory.
|
| public final CLGLTexture3d | |
| public final <B extends Buffer> CLGLTexture3d | createFromGLTexture3d(final B directBuffer, final int target, final int texture, final int mipmap, final CLMemory.
|
| public final <B extends Buffer> CLGLTexture3d | createFromGLTexture3d(final B directBuffer, final int target, final int texture, final int mipmap, final int flags)
|
| public CLGL | getCL()
Overrides com. |
| public CLGLContext | getContext()
Overrides com. |
| public GLContext | |
| private static PointerBuffer |
| glContext | back to summary |
|---|---|
| private final GLContext glContext | |
| glID | back to summary |
|---|---|
| pack-priv final long glID | |
| CLGLContext | back to summary |
|---|---|
| private CLGLContext(final CLPlatform platform, final GLContext glContext, final long clContextID, final long glContextID, final CLContext. | |
| create | back to summary |
|---|---|
| public static CLGLContext create(final GLContext glContext) Creates a shared context on all available devices (CL_DEVICE_TYPE_ALL).
| |
| create | back to summary |
|---|---|
| public static CLGLContext create(final GLContext glContext, final CLPlatform platform) Creates a shared context on the specified platform on all available devices (CL_DEVICE_TYPE_ALL).
| |
| create | back to summary |
|---|---|
| public static CLGLContext create(final GLContext glContext, final CLDevice. Creates a shared context on the specified platform and with the specified device types.
| |
| create | back to summary |
|---|---|
| public static CLGLContext create(final GLContext glContext, CLPlatform platform, final CLDevice. Creates a shared context on the specified platform and with the specified device types.
| |
| create | back to summary |
|---|---|
| public static CLGLContext create(final GLContext glContext, final CLDevice... devices) Creates a shared context on the specified platform and with the specified devices.
| |
| createFromGLBuffer | back to summary |
|---|---|
| public final CLGLBuffer Creates a CLGLBuffer for memory sharing with the specified OpenGL buffer. | |
| createFromGLBuffer | back to summary |
|---|---|
| public final CLGLBuffer Creates a CLGLBuffer for memory sharing with the specified OpenGL buffer.
| |
| createFromGLBuffer | back to summary |
|---|---|
| public final <B extends Buffer> CLGLBuffer Creates a CLGLBuffer for memory sharing with the specified OpenGL buffer. | |
| createFromGLBuffer | back to summary |
|---|---|
| public final <B extends Buffer> CLGLBuffer Creates a CLGLBuffer for memory sharing with the specified OpenGL buffer.
| |
| createFromGLRenderbuffer | back to summary |
|---|---|
| public final CLGLImage2d | |
| createFromGLRenderbuffer | back to summary |
|---|---|
| public final CLGLImage2d | |
| createFromGLRenderbuffer | back to summary |
|---|---|
| public final <B extends Buffer> CLGLImage2d | |
| createFromGLRenderbuffer | back to summary |
|---|---|
| public final <B extends Buffer> CLGLImage2d | |
| createFromGLTexture2d | back to summary |
|---|---|
| public final CLGLTexture2d | |
| createFromGLTexture2d | back to summary |
|---|---|
| public final CLGLTexture2d | |
| createFromGLTexture2d | back to summary |
|---|---|
| public final <B extends Buffer> CLGLTexture2d | |
| createFromGLTexture2d | back to summary |
|---|---|
| public final <B extends Buffer> CLGLTexture2d | |
| createFromGLTexture3d | back to summary |
|---|---|
| public final CLGLTexture3d | |
| createFromGLTexture3d | back to summary |
|---|---|
| public final CLGLTexture3d | |
| createFromGLTexture3d | back to summary |
|---|---|
| public final <B extends Buffer> CLGLTexture3d | |
| createFromGLTexture3d | back to summary |
|---|---|
| public final <B extends Buffer> CLGLTexture3d | |
| getCL | back to summary |
|---|---|
| public CLGL getCL() Overrides com. Return the low level OpenCL interface with OpenGL interoperability.
| |
| getContext | back to summary |
|---|---|
| public CLGLContext getContext() Overrides com. Doc from com. Returns the context for this OpenCL object.
| |
| getGLContext | back to summary |
|---|---|
| public GLContext getGLContext() Returns the OpenGL context this context was shared with. | |
| setupContextProperties | back to summary |
|---|---|
| private static PointerBuffer setupContextProperties(final CLPlatform platform, final GLContext glContext, final long[] glID) | |