Class INTELSimultaneousSharing
- java.lang.Object
-
- org.lwjgl.opencl.INTELSimultaneousSharing
-
public final class INTELSimultaneousSharing extends java.lang.Object
Native bindings to the intel_simultaneous_sharing extension.Currently OpenCL 1.2 Extension Spec forbids to specify interoperability with multiple graphics APIs at
CreateContext
orCreateContextFromType
time and defines thatINVALID_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
Fields Modifier and Type Field Description static int
CL_DEVICE_NUM_SIMULTANEOUS_INTEROPS_INTEL
CL_DEVICE_SIMULTANEOUS_INTEROPS_INTELAccepted as a property being queried in theparam_name
parameter ofGetDeviceInfo
.
-
-
-
Field Detail
-
CL_DEVICE_SIMULTANEOUS_INTEROPS_INTEL
public static final int CL_DEVICE_SIMULTANEOUS_INTEROPS_INTEL
Accepted as a property being queried in theparam_name
parameter ofGetDeviceInfo
.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.
- See Also:
- Constant Field Values
-
CL_DEVICE_NUM_SIMULTANEOUS_INTEROPS_INTEL
public static final int CL_DEVICE_NUM_SIMULTANEOUS_INTEROPS_INTEL
Accepted as a property being queried in theparam_name
parameter ofGetDeviceInfo
.Returns a
cl_uint
list ofn
combinations of context property names describing graphic APIs that the device can interoperate with simultaneously by specifying the combination in theproperties
parameter ofCreateContext
andCreateContextFromType
.Each combination is a set of 2 or more property names and is terminated with zero.
n
is the value returned by the query forDEVICE_NUM_SIMULTANEOUS_INTEROPS_INTEL
.- See Also:
- Constant Field Values
-
-