# Uses of Class org.lwjgl.opencl.CLContext (LWJGL API)
Date: 2015-07-28

## Uses of Class
org.lwjgl.opencl.CLContext

Packages that use CLContext
org.lwjgl.opencl
org.lwjgl.opengl

Uses of CLContext in org.lwjgl.opencl

Methods in org.lwjgl.opencl that return CLContext
`static CLContext` `CL10.clCreateContext(PointerBuffer properties, CLDevice device, CLContextCallback pfn_notify, java.nio.IntBuffer errcode_ret)` Overloads clCreateContext.
`static CLContext` `CL10.clCreateContext(PointerBuffer properties, PointerBuffer devices, CLContextCallback pfn_notify, java.nio.IntBuffer errcode_ret)` LWJGL requires CL_CONTEXT_PLATFORM to be present in the cl_context_properties buffer.
`static CLContext` `CL10.clCreateContextFromType(PointerBuffer properties, long device_type, CLContextCallback pfn_notify, java.nio.IntBuffer errcode_ret)` LWJGL requires CL_CONTEXT_PLATFORM to be present in the cl_context_properties buffer.
`static CLContext` `CLContext.create(CLPlatform platform, java.util.List<CLDevice> devices, CLContextCallback pfn_notify, Drawable share_drawable, java.nio.IntBuffer errcode_ret)` Creates a new CLContext.
`static CLContext` `CLContext.create(CLPlatform platform, java.util.List<CLDevice> devices, CLContextCallback pfn_notify, java.nio.IntBuffer errcode_ret)` Creates a new CLContext.
`static CLContext` `CLContext.create(CLPlatform platform, java.util.List<CLDevice> devices, java.nio.IntBuffer errcode_ret)` Creates a new CLContext.
`static CLContext` `CLContext.createFromType(CLPlatform platform, long device_type, CLContextCallback pfn_notify, Drawable share_drawable, java.nio.IntBuffer errcode_ret)` Creates a new CLContext.
`static CLContext` `CLContext.createFromType(CLPlatform platform, long device_type, CLContextCallback pfn_notify, java.nio.IntBuffer errcode_ret)` Creates a new CLContext.
`static CLContext` `CLContext.createFromType(CLPlatform platform, long device_type, java.nio.IntBuffer errcode_ret)` Creates a new CLContext.

Methods in org.lwjgl.opencl with parameters of type CLContext
`static CLMem` `CL10.clCreateBuffer(CLContext context, long flags, java.nio.ByteBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateBuffer(CLContext context, long flags, java.nio.DoubleBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateBuffer(CLContext context, long flags, java.nio.FloatBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateBuffer(CLContext context, long flags, java.nio.IntBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateBuffer(CLContext context, long flags, java.nio.LongBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateBuffer(CLContext context, long flags, long host_ptr_size, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateBuffer(CLContext context, long flags, java.nio.ShortBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLCommandQueue` `CL10.clCreateCommandQueue(CLContext context, CLDevice device, long properties, java.nio.IntBuffer errcode_ret)`
`static CLEvent` `KHRGLEvent.clCreateEventFromGLsyncKHR(CLContext context, GLSync sync, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10GL.clCreateFromGLBuffer(CLContext context, long flags, int bufobj, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10GL.clCreateFromGLRenderbuffer(CLContext context, long flags, int renderbuffer, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL12GL.clCreateFromGLTexture(CLContext context, long flags, int target, int miplevel, int texture, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10GL.clCreateFromGLTexture2D(CLContext context, long flags, int target, int miplevel, int texture, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10GL.clCreateFromGLTexture3D(CLContext context, long flags, int target, int miplevel, int texture, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL12.clCreateImage(CLContext context, long flags, java.nio.ByteBuffer image_format, java.nio.ByteBuffer image_desc, java.nio.ByteBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL12.clCreateImage(CLContext context, long flags, java.nio.ByteBuffer image_format, java.nio.ByteBuffer image_desc, java.nio.FloatBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL12.clCreateImage(CLContext context, long flags, java.nio.ByteBuffer image_format, java.nio.ByteBuffer image_desc, java.nio.IntBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL12.clCreateImage(CLContext context, long flags, java.nio.ByteBuffer image_format, java.nio.ByteBuffer image_desc, java.nio.ShortBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateImage2D(CLContext context, long flags, java.nio.ByteBuffer image_format, long image_width, long image_height, long image_row_pitch, java.nio.ByteBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateImage2D(CLContext context, long flags, java.nio.ByteBuffer image_format, long image_width, long image_height, long image_row_pitch, java.nio.FloatBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateImage2D(CLContext context, long flags, java.nio.ByteBuffer image_format, long image_width, long image_height, long image_row_pitch, java.nio.IntBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateImage2D(CLContext context, long flags, java.nio.ByteBuffer image_format, long image_width, long image_height, long image_row_pitch, java.nio.ShortBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateImage3D(CLContext context, long flags, java.nio.ByteBuffer image_format, long image_width, long image_height, long image_depth, long image_row_pitch, long image_slice_pitch, java.nio.ByteBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateImage3D(CLContext context, long flags, java.nio.ByteBuffer image_format, long image_width, long image_height, long image_depth, long image_row_pitch, long image_slice_pitch, java.nio.FloatBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateImage3D(CLContext context, long flags, java.nio.ByteBuffer image_format, long image_width, long image_height, long image_depth, long image_row_pitch, long image_slice_pitch, java.nio.IntBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateImage3D(CLContext context, long flags, java.nio.ByteBuffer image_format, long image_width, long image_height, long image_depth, long image_row_pitch, long image_slice_pitch, java.nio.ShortBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLProgram` `CL10.clCreateProgramWithBinary(CLContext context, CLDevice device, java.nio.ByteBuffer binary, java.nio.IntBuffer binary_status, java.nio.IntBuffer errcode_ret)`
`static CLProgram` `CL10.clCreateProgramWithBinary(CLContext context, PointerBuffer device_list, java.nio.ByteBuffer[] binaries, java.nio.IntBuffer binary_status, java.nio.IntBuffer errcode_ret)` Overloads clCreateProgramWithBinary.
`static CLProgram` `CL10.clCreateProgramWithBinary(CLContext context, PointerBuffer device_list, PointerBuffer lengths, java.nio.ByteBuffer binaries, java.nio.IntBuffer binary_status, java.nio.IntBuffer errcode_ret)` Overloads clCreateProgramWithBinary.
`static CLProgram` `CL12.clCreateProgramWithBuiltInKernels(CLContext context, PointerBuffer device_list, java.nio.ByteBuffer kernel_names, java.nio.IntBuffer errcode_ret)`
`static CLProgram` `CL12.clCreateProgramWithBuiltInKernels(CLContext context, PointerBuffer device_list, java.lang.CharSequence kernel_names, java.nio.IntBuffer errcode_ret)` Overloads clCreateProgramWithBuiltInKernels.
`static CLProgram` `CL10.clCreateProgramWithSource(CLContext context, java.nio.ByteBuffer[] strings, java.nio.IntBuffer errcode_ret)` Overloads clCreateProgramWithSource.
`static CLProgram` `CL10.clCreateProgramWithSource(CLContext context, java.nio.ByteBuffer string, java.nio.IntBuffer errcode_ret)`
`static CLProgram` `CL10.clCreateProgramWithSource(CLContext context, java.nio.ByteBuffer strings, PointerBuffer lengths, java.nio.IntBuffer errcode_ret)` Overloads clCreateProgramWithSource.
`static CLProgram` `CL10.clCreateProgramWithSource(CLContext context, java.lang.CharSequence[] strings, java.nio.IntBuffer errcode_ret)` Overloads clCreateProgramWithSource.
`static CLProgram` `CL10.clCreateProgramWithSource(CLContext context, java.lang.CharSequence string, java.nio.IntBuffer errcode_ret)` Overloads clCreateProgramWithSource.
`static CLSampler` `CL10.clCreateSampler(CLContext context, int normalized_coords, int addressing_mode, int filter_mode, java.nio.IntBuffer errcode_ret)`
`static CLEvent` `CL11.clCreateUserEvent(CLContext context, java.nio.IntBuffer errcode_ret)`
`static int` `CL10.clGetContextInfo(CLContext context, int param_name, java.nio.ByteBuffer param_value, PointerBuffer param_value_size_ret)`
`static int` `APPLEGLSharing.clGetGLContextInfoAPPLE(CLContext context, PointerBuffer platform_gl_ctx, int param_name, java.nio.ByteBuffer param_value, PointerBuffer param_value_size_ret)`
`static int` `CL10.clGetSupportedImageFormats(CLContext context, long flags, int image_type, java.nio.ByteBuffer image_formats, java.nio.IntBuffer num_image_formats)`
`static CLProgram` `CL12.clLinkProgram(CLContext context, PointerBuffer device_list, java.nio.ByteBuffer options, PointerBuffer input_programs, CLLinkProgramCallback pfn_notify, java.nio.IntBuffer errcode_ret)`
`static CLProgram` `CL12.clLinkProgram(CLContext context, PointerBuffer device_list, java.lang.CharSequence options, PointerBuffer input_programs, CLLinkProgramCallback pfn_notify, java.nio.IntBuffer errcode_ret)` Overloads clLinkProgram.
`static int` `CL10.clReleaseContext(CLContext context)`
`static int` `CL10.clRetainContext(CLContext context)`
`static int` `CL12.clSetPrintfCallback(CLContext context, CLPrintfCallback pfn_notify)`
`static int` `KHRTerminateContext.clTerminateContextKHR(CLContext context)`
`static CLMem` `CLMem.createImage2D(CLContext context, long flags, CLImageFormat image_format, long image_width, long image_height, long image_row_pitch, java.nio.Buffer host_ptr, java.nio.IntBuffer errcode_ret)` Creates a new 2D image object.
`static CLMem` `CLMem.createImage3D(CLContext context, long flags, CLImageFormat image_format, long image_width, long image_height, long image_depth, long image_row_pitch, long image_slice_pitch, java.nio.Buffer host_ptr, java.nio.IntBuffer errcode_ret)` Creates a new 3D image object.

Uses of CLContext in org.lwjgl.opengl

Methods in org.lwjgl.opengl with parameters of type CLContext
`static GLSync` `ARBCLEvent.glCreateSyncFromCLeventARB(CLContext context, CLEvent event, int flags)`

Copyright © 2002-2009 lwjgl.org. All Rights Reserved.