| Modifier and Type | Class and Description |
|---|---|
| pack-priv static interface | CLContext.
CLContext utility methods interface. |
| Modifier and Type | Field and Description |
|---|---|
| private final CLObjectRegistry | |
| private final CLObjectRegistry | |
| private final CLObjectRegistry | |
| private final CLObjectRegistry | |
| private final CLObjectRegistry | |
| private long | |
| private long | |
| private static final CLContext. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| public static CLContext | Returns: the new CLContextthe platform to use platform, final List<CLDevice> the devices to use devices, final IntBuffer the error code result errcode_ret)Creates a new CLContext. |
| public static CLContext | Returns: the new CLContextthe platform to use platform, final List<CLDevice> the devices to use devices, final CLContextCallback the context callback function pfn_notify, final IntBuffer the error code result errcode_ret)Creates a new CLContext. |
| public static CLContext | Returns: the new CLContextthe platform to use platform, final List<CLDevice> the devices to use devices, final CLContextCallback pfn_notify, final Drawable the OpenGL drawable to share objects with share_drawable, final IntBuffer the error code result errcode_ret)Creates a new CLContext. |
| public static CLContext | Returns: the new CLContextthe platform to use platform, final long the device type to use device_type, final IntBuffer the error code result errcode_ret)Creates a new CLContext. |
| public static CLContext | Returns: the new CLContextthe platform to use platform, final long the device type to use device_type, final CLContextCallback the context callback function pfn_notify, final IntBuffer the error code result errcode_ret)Creates a new CLContext. |
| public static CLContext | Returns: the new CLContextthe platform to use platform, final long the device type to use device_type, final CLContextCallback pfn_notify, final Drawable the OpenGL drawable to share objects with share_drawable, final IntBuffer the error code result errcode_ret)Creates a new CLContext. |
| public CLCommandQueue | Returns: the CLCommandQueue objectthe command queue object id id)Returns a CLCommandQueue associated with this context. |
| pack-priv CLObjectRegistry | |
| public CLEvent | Returns: the CLEvent objectthe event object id id)Returns a user CLEvent associated with this context. |
| pack-priv CLObjectRegistry | |
| public CLMem | Returns: the CLMem objectthe memory object id id)Returns a CLMem associated with this context. |
| pack-priv CLObjectRegistry | |
| public CLProgram | Returns: the CLProgram objectthe program object id id)Returns a CLProgram associated with this context. |
| pack-priv CLObjectRegistry | |
| public CLSampler | Returns: the CLSampler objectthe sampler object id id)Returns a CLSampler associated with this context. |
| pack-priv CLObjectRegistry | |
| public List | |
| public int | Returns: the parameter valuethe parameter param_name)Returns the integer value of the specified parameter. |
| public List | |
| public List | getSupportedImageFormats(final long flags, final int image_type, final Filter<CLImageFormat> filter)
|
| pack-priv void | |
| pack-priv void | setContextCallback(final long
the context callback pointer callback)Associates this context with the specified context callback reference. |
| pack-priv void | setPrintfCallback(final long
the printf callback pointer callback, final int result)Associates this context with the specified printf callback reference. |
| clCommandQueues | back to summary |
|---|---|
| private final CLObjectRegistry<CLCommandQueue> clCommandQueues | |
| clEvents | back to summary |
|---|---|
| private final CLObjectRegistry<CLEvent> clEvents | |
| clMems | back to summary |
|---|---|
| private final CLObjectRegistry<CLMem> clMems | |
| clPrograms | back to summary |
|---|---|
| private final CLObjectRegistry<CLProgram> clPrograms | |
| clSamplers | back to summary |
|---|---|
| private final CLObjectRegistry<CLSampler> clSamplers | |
| contextCallback | back to summary |
|---|---|
| private long contextCallback | |
| printfCallback | back to summary |
|---|---|
| private long printfCallback | |
| util | back to summary |
|---|---|
| private static final CLContext. | |
| CLContext | back to summary |
|---|---|
| pack-priv CLContext(final long pointer, final CLPlatform platform) | |
| checkCallback | back to summary |
|---|---|
| private boolean checkCallback(final long callback, final int result) | |
| create | back to summary |
|---|---|
| public static CLContext create(final CLPlatform platform, final List<CLDevice> devices, final IntBuffer errcode_ret) throws LWJGLException Creates a new CLContext.
| |
| create | back to summary |
|---|---|
| public static CLContext create(final CLPlatform platform, final List<CLDevice> devices, final CLContextCallback pfn_notify, final IntBuffer errcode_ret) throws LWJGLException Creates a new CLContext.
| |
| create | back to summary |
|---|---|
| public static CLContext create(final CLPlatform platform, final List<CLDevice> devices, final CLContextCallback pfn_notify, final Drawable share_drawable, final IntBuffer errcode_ret) throws LWJGLException Creates a new CLContext.
| |
| createFromType | back to summary |
|---|---|
| public static CLContext createFromType(final CLPlatform platform, final long device_type, final IntBuffer errcode_ret) throws LWJGLException Creates a new CLContext.
| |
| createFromType | back to summary |
|---|---|
| public static CLContext createFromType(final CLPlatform platform, final long device_type, final CLContextCallback pfn_notify, final IntBuffer errcode_ret) throws LWJGLException Creates a new CLContext.
| |
| createFromType | back to summary |
|---|---|
| public static CLContext createFromType(final CLPlatform platform, final long device_type, final CLContextCallback pfn_notify, final Drawable share_drawable, final IntBuffer errcode_ret) throws LWJGLException Creates a new CLContext.
| |
| getCLCommandQueue | back to summary |
|---|---|
| public CLCommandQueue getCLCommandQueue(final long id) Returns a CLCommandQueue associated with this context.
| |
| getCLCommandQueueRegistry | back to summary |
|---|---|
| pack-priv CLObjectRegistry | |
| getCLEvent | back to summary |
|---|---|
| public CLEvent getCLEvent(final long id) Returns a user CLEvent associated with this context.
| |
| getCLEventRegistry | back to summary |
|---|---|
| pack-priv CLObjectRegistry | |
| getCLMem | back to summary |
|---|---|
| public CLMem getCLMem(final long id) Returns a CLMem associated with this context.
| |
| getCLMemRegistry | back to summary |
|---|---|
| pack-priv CLObjectRegistry | |
| getCLProgram | back to summary |
|---|---|
| public CLProgram getCLProgram(final long id) Returns a CLProgram associated with this context.
| |
| getCLProgramRegistry | back to summary |
|---|---|
| pack-priv CLObjectRegistry | |
| getCLSampler | back to summary |
|---|---|
| public CLSampler getCLSampler(final long id) Returns a CLSampler associated with this context.
| |
| getCLSamplerRegistry | back to summary |
|---|---|
| pack-priv CLObjectRegistry | |
| getInfoDevices | back to summary |
|---|---|
| public List Returns the list of devices in context. | |
| getInfoInt | back to summary |
|---|---|
| public int getInfoInt(int param_name) Returns the integer value of the specified parameter.
| |
| getSupportedImageFormats | back to summary |
|---|---|
| public List | |
| getSupportedImageFormats | back to summary |
|---|---|
| public List | |
| releaseImpl | back to summary |
|---|---|
| pack-priv void releaseImpl() Decrements the context's reference count. If the reference count hits zero, it also deletes any callback objects associated with it. | |
| setContextCallback | back to summary |
|---|---|
| pack-priv void setContextCallback(final long callback) Associates this context with the specified context callback reference. If the context is invalid, the callback reference is deleted. NO-OP if user_data is 0.
| |
| setPrintfCallback | back to summary |
|---|---|
| pack-priv void setPrintfCallback(final long callback, final int result) Associates this context with the specified printf callback reference. If the context is invalid, the callback reference is deleted. NO-OP if user_data is 0.
| |
| Modifier and Type | Method and Description |
|---|---|
| public CLContext | create(CLPlatform platform, List<CLDevice> devices, CLContextCallback pfn_notify, Drawable share_drawable, IntBuffer errcode_ret)
|
| public CLContext | createFromType(CLPlatform platform, long device_type, CLContextCallback pfn_notify, Drawable share_drawable, IntBuffer errcode_ret)
|
| public List | |
| public List | getSupportedImageFormats(CLContext context, final long flags, final int image_type, Filter<CLImageFormat> filter)
|
| create | back to summary |
|---|---|
| public CLContext create(CLPlatform platform, List<CLDevice> devices, CLContextCallback pfn_notify, Drawable share_drawable, IntBuffer errcode_ret) throws LWJGLException | |
| createFromType | back to summary |
|---|---|
| public CLContext createFromType(CLPlatform platform, long device_type, CLContextCallback pfn_notify, Drawable share_drawable, IntBuffer errcode_ret) throws LWJGLException | |
| getInfoDevices | back to summary |
|---|---|
| public List | |
| getSupportedImageFormats | back to summary |
|---|---|
| public List | |