Top Fields Constructors Methods
org.lwjgl.opencl

public final Class APPLEGLSharing

extends Object
Class Inheritance
Imports
org.lwjgl.*, java.nio.*

Field Summary

Modifier and TypeField and Description
public static final int
CL_CGL_DEVICE_FOR_CURRENT_VIRTUAL_SCREEN_APPLE

Returns a cl_device_id for the CL device associated with the virtual screen for the given CGL context.

public static final int
CL_CGL_DEVICES_FOR_SUPPORTED_VIRTUAL_SCREENS_APPLE

Returns an array of cl_device_ids for the CL device(s) corresponding to the virtual screen(s) for the given CGL context.

public static final int
CL_CONTEXT_PROPERTY_USE_CGL_SHAREGROUP_APPLE

This enumerated value can be specified as part of the <properties> argument passed to clCreateContext to allow OpenCL compliant devices in an existing CGL share group to be used as the devices in the newly created CL context.

public static final int
CL_INVALID_GL_CONTEXT_APPLE

Error code returned by clGetGLContextInfoAPPLE if an invalid platform_gl_ctx is provided

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static int
clGetGLContextInfoAPPLE(CLContext context, PointerBuffer platform_gl_ctx, int param_name, ByteBuffer param_value, PointerBuffer param_value_size_ret)

pack-priv static native int
nclGetGLContextInfoAPPLE(long context, long platform_gl_ctx, int param_name, long param_value_param_value_size, long param_value, long param_value_size_ret, long function_pointer)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CL_CGL_DEVICE_FOR_CURRENT_VIRTUAL_SCREEN_APPLEback to summary
public static final int CL_CGL_DEVICE_FOR_CURRENT_VIRTUAL_SCREEN_APPLE

Returns a cl_device_id for the CL device associated with the virtual screen for the given CGL context. Return type: cl_device_id

CL_CGL_DEVICES_FOR_SUPPORTED_VIRTUAL_SCREENS_APPLEback to summary
public static final int CL_CGL_DEVICES_FOR_SUPPORTED_VIRTUAL_SCREENS_APPLE

Returns an array of cl_device_ids for the CL device(s) corresponding to the virtual screen(s) for the given CGL context. Return type: cl_device_id[]

CL_CONTEXT_PROPERTY_USE_CGL_SHAREGROUP_APPLEback to summary
public static final int CL_CONTEXT_PROPERTY_USE_CGL_SHAREGROUP_APPLE

This enumerated value can be specified as part of the <properties> argument passed to clCreateContext to allow OpenCL compliant devices in an existing CGL share group to be used as the devices in the newly created CL context. GL objects that were allocated in the given CGL share group can now be shared between CL and GL.

CL_INVALID_GL_CONTEXT_APPLEback to summary
public static final int CL_INVALID_GL_CONTEXT_APPLE

Error code returned by clGetGLContextInfoAPPLE if an invalid platform_gl_ctx is provided

Constructor Detail

APPLEGLSharingback to summary
private APPLEGLSharing()

Method Detail

clGetGLContextInfoAPPLEback to summary
public static int clGetGLContextInfoAPPLE(CLContext context, PointerBuffer platform_gl_ctx, int param_name, ByteBuffer param_value, PointerBuffer param_value_size_ret)
nclGetGLContextInfoAPPLEback to summary
pack-priv static native int nclGetGLContextInfoAPPLE(long context, long platform_gl_ctx, int param_name, long param_value_param_value_size, long param_value, long param_value_size_ret, long function_pointer)