Top Description Fields Constructors Methods
org.lwjgl.opencl

public final Class INTELSimultaneousSharing

extends Object
Class Inheritance

Native bindings to the intel_simultaneous_sharing extension.

Currently OpenCL 1.2 Extension Spec forbids to specify interoperability with multiple graphics APIs at CreateContext or CreateContextFromType time and defines that INVALID_OPERATION should be returned in such cases as noted e.g. in chapters dedicated to sharing memory objects with Direct3D 10 and Direct3D 11.

The goal of this extension is to relax the restrictions and allow to specify simultaneously these combinations of interoperabilities that are supported by a given OpenCL device.

Requires CL12.

Field Summary

Modifier and TypeField and Description
public static final int
CL_DEVICE_NUM_SIMULTANEOUS_INTEROPS_INTEL

Accepted as a property being queried in the param_name parameter of GetDeviceInfo.

public static final int
CL_DEVICE_SIMULTANEOUS_INTEROPS_INTEL

Accepted as a property being queried in the param_name parameter of GetDeviceInfo.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CL_DEVICE_NUM_SIMULTANEOUS_INTEROPS_INTELback to summary
public static final int CL_DEVICE_NUM_SIMULTANEOUS_INTEROPS_INTEL

Accepted as a property being queried in the param_name parameter of GetDeviceInfo.

Returns a cl_uint list of n combinations of context property names describing graphic APIs that the device can interoperate with simultaneously by specifying the combination in the properties parameter of CreateContext and CreateContextFromType.

Each combination is a set of 2 or more property names and is terminated with zero.

n is the value returned by the query for DEVICE_NUM_SIMULTANEOUS_INTEROPS_INTEL.

CL_DEVICE_SIMULTANEOUS_INTEROPS_INTELback to summary
public static final int CL_DEVICE_SIMULTANEOUS_INTEROPS_INTEL

Accepted as a property being queried in the param_name parameter of GetDeviceInfo.

Returns the number (cl_uint) of supported combinations of graphics API interoperabilities that can be enabled simultaneously within the same context.

The minimum value is 1.

Constructor Detail

INTELSimultaneousSharingback to summary
private INTELSimultaneousSharing()