| Modifier and Type | Field and Description |
|---|---|
| public static final int | CL_CGL_SHAREGROUP_KHR
Accepted as an attribute name in the |
| public static final int | CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR
Accepted as the |
| public static final int | CL_DEVICES_FOR_GL_CONTEXT_KHR
Accepted as the |
| public static final int | CL_EGL_DISPLAY_KHR
Accepted as an attribute name in the |
| public static final int | CL_GL_CONTEXT_KHR
Accepted as an attribute name in the |
| public static final int | CL_GLX_DISPLAY_KHR
Accepted as an attribute name in the |
| public static final int | CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR
Returned by |
| public static final int | CL_WGL_HDC_KHR
Accepted as an attribute name in the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description | ||
|---|---|---|---|
| public static int | Returns: SUCCESS if the function is executed successfully. If no device(s) exist corresponding to param_name, the call will not fail, but the value of
param_value_size_ret will be zero.
Returns
and any of the following conditions hold:
Returns Returns
Returns Additionally, returns points to an attribute list whose format and valid contents are identical to the {code properties} argument of properties, int CreateContext.
properties must identify a single valid GL context or GL share group object.a constant that specifies the GL context information to query. One of: param_name, ByteBuffer
a pointer to memory where the appropriate result being queried is returned. If param_value, PointerBuffer param_value is NULL, it is ignored.the actual size in bytes of data being queried by param_value_size_ret)param_value. If NULL, it is ignored.Queries the OpenCL device currently corresponding to an OpenGL context. | ||
| public static int | Returns: SUCCESS if the function is executed successfully. If no device(s) exist corresponding to param_name, the call will not fail, but the value of
param_value_size_ret will be zero.
Returns
and any of the following conditions hold:
Returns Returns
Returns Additionally, returns points to an attribute list whose format and valid contents are identical to the {code properties} argument of properties, int CreateContext.
properties must identify a single valid GL context or GL share group object.a constant that specifies the GL context information to query. One of: param_name, PointerBuffer
a pointer to memory where the appropriate result being queried is returned. If param_value, PointerBuffer param_value is NULL, it is ignored.the actual size in bytes of data being queried by param_value_size_ret)param_value. If NULL, it is ignored.Queries the OpenCL device currently corresponding to an OpenGL context. | ||
| public static int | nclGetGLContextInfoKHR(long properties, int param_name, long
the size in bytes of memory pointed to by param_value_size, long param_value, long param_value_size_ret)param_value. This size must be ≥ size of return type. If param_value is NULL, it is ignored.Unsafe version of: |
| CL_CGL_SHAREGROUP_KHR | back to summary |
|---|---|
| public static final int CL_CGL_SHAREGROUP_KHR Accepted as an attribute name in the | |
| CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR | back to summary |
|---|---|
| public static final int CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR Accepted as the | |
| CL_DEVICES_FOR_GL_CONTEXT_KHR | back to summary |
|---|---|
| public static final int CL_DEVICES_FOR_GL_CONTEXT_KHR Accepted as the | |
| CL_EGL_DISPLAY_KHR | back to summary |
|---|---|
| public static final int CL_EGL_DISPLAY_KHR Accepted as an attribute name in the | |
| CL_GL_CONTEXT_KHR | back to summary |
|---|---|
| public static final int CL_GL_CONTEXT_KHR Accepted as an attribute name in the | |
| CL_GLX_DISPLAY_KHR | back to summary |
|---|---|
| public static final int CL_GLX_DISPLAY_KHR Accepted as an attribute name in the | |
| CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR | back to summary |
|---|---|
| public static final int CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR Returned by | |
| CL_WGL_HDC_KHR | back to summary |
|---|---|
| public static final int CL_WGL_HDC_KHR Accepted as an attribute name in the | |
| KHRGLSharing | back to summary |
|---|---|
| protected KHRGLSharing() | |
| clGetGLContextInfoKHR | back to summary | ||
|---|---|---|---|
| public static int clGetGLContextInfoKHR(PointerBuffer properties, int param_name, ByteBuffer param_value, PointerBuffer param_value_size_ret) Queries the OpenCL device currently corresponding to an OpenGL context. Such a device may not always exist (for example, if an OpenGL context is specified on a GPU not supporting OpenCL command queues, but which does support shared CL/GL objects), and if it does exist, may change over time. When such a device does exist, acquiring and releasing shared CL/GL objects may be faster on a command queue corresponding to this device than on command queues corresponding to other devices available to an OpenCL context.
| |||
| clGetGLContextInfoKHR | back to summary | ||
|---|---|---|---|
| public static int clGetGLContextInfoKHR(PointerBuffer properties, int param_name, PointerBuffer param_value, PointerBuffer param_value_size_ret) Queries the OpenCL device currently corresponding to an OpenGL context. Such a device may not always exist (for example, if an OpenGL context is specified on a GPU not supporting OpenCL command queues, but which does support shared CL/GL objects), and if it does exist, may change over time. When such a device does exist, acquiring and releasing shared CL/GL objects may be faster on a command queue corresponding to this device than on command queues corresponding to other devices available to an OpenCL context.
| |||
| nclGetGLContextInfoKHR | back to summary |
|---|---|
| public static int nclGetGLContextInfoKHR(long properties, int param_name, long param_value_size, long param_value, long param_value_size_ret) Unsafe version of:
| |