| Modifier and Type | Field and Description |
|---|---|
| public static final int | CL_CGL_DEVICE_FOR_CURRENT_VIRTUAL_SCREEN_APPLE
Accepted as the |
| public static final int | CL_CGL_DEVICES_FOR_SUPPORTED_VIRTUAL_SCREENS_APPLE
Accepted as the |
| public static final int | CL_CONTEXT_PROPERTY_USE_CGL_SHAREGROUP_APPLE
This enumerated value can be specified as part of the |
| public static final int | CL_INVALID_GL_CONTEXT_APPLE
Error code returned by |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description | ||
|---|---|---|---|
| public static int | clGetGLContextInfoAPPLE(long
the context being queried context, long the OpenGL context handle platform_gl_ctx, int 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.Provides a query mechanism to retrieve OpenGL context specific information from an OpenCL context to help identify device specific mappings and usage. | ||
| public static int | clGetGLContextInfoAPPLE(long
the context being queried context, long the OpenGL context handle platform_gl_ctx, int 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.Provides a query mechanism to retrieve OpenGL context specific information from an OpenCL context to help identify device specific mappings and usage. | ||
| public static int | nclGetGLContextInfoAPPLE(long context, long platform_gl_ctx, 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_DEVICE_FOR_CURRENT_VIRTUAL_SCREEN_APPLE | back to summary |
|---|---|
| public static final int CL_CGL_DEVICE_FOR_CURRENT_VIRTUAL_SCREEN_APPLE Accepted as the | |
| CL_CGL_DEVICES_FOR_SUPPORTED_VIRTUAL_SCREENS_APPLE | back to summary |
|---|---|
| public static final int CL_CGL_DEVICES_FOR_SUPPORTED_VIRTUAL_SCREENS_APPLE Accepted as the | |
| CL_CONTEXT_PROPERTY_USE_CGL_SHAREGROUP_APPLE | back to summary |
|---|---|
| public static final int CL_CONTEXT_PROPERTY_USE_CGL_SHAREGROUP_APPLE This enumerated value can be specified as part of the | |
| CL_INVALID_GL_CONTEXT_APPLE | back to summary |
|---|---|
| public static final int CL_INVALID_GL_CONTEXT_APPLE Error code returned by | |
| APPLEGLSharing | back to summary |
|---|---|
| protected APPLEGLSharing() | |
| clGetGLContextInfoAPPLE | back to summary | ||
|---|---|---|---|
| public static int clGetGLContextInfoAPPLE(long context, long platform_gl_ctx, int param_name, ByteBuffer param_value, PointerBuffer param_value_size_ret) Provides a query mechanism to retrieve OpenGL context specific information from an OpenCL context to help identify device specific mappings and usage. For example, one possible usage would be to allow the client to map a CGL virtual screen index to an appropriate CL device id to insure that the rendering device and the compute device are the same, thus guaranteeing any shared OpenGL memory that is attached o a CL memory object remains resident on the active device.
| |||
| clGetGLContextInfoAPPLE | back to summary | ||
|---|---|---|---|
| public static int clGetGLContextInfoAPPLE(long context, long platform_gl_ctx, int param_name, PointerBuffer param_value, PointerBuffer param_value_size_ret) Provides a query mechanism to retrieve OpenGL context specific information from an OpenCL context to help identify device specific mappings and usage. For example, one possible usage would be to allow the client to map a CGL virtual screen index to an appropriate CL device id to insure that the rendering device and the compute device are the same, thus guaranteeing any shared OpenGL memory that is attached o a CL memory object remains resident on the active device.
| |||
| nclGetGLContextInfoAPPLE | back to summary |
|---|---|
| public static int nclGetGLContextInfoAPPLE(long context, long platform_gl_ctx, int param_name, long param_value_size, long param_value, long param_value_size_ret) Unsafe version of:
| |