|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jogamp.opencl.util.CLMultiContext
public class CLMultiContext
Utility for organizing multiple CLContexts.
| Method Summary | |
|---|---|
static CLMultiContext |
create(CLPlatform... platforms)
Creates a multi context with all devices of the specified platforms. |
static CLMultiContext |
create(CLPlatform[] platforms,
CLDevice.Type... types)
Creates a multi context with all devices of the specified platforms and types. |
static CLMultiContext |
create(CLPlatform[] platforms,
Filter<CLDevice>... filters)
Creates a multi context with all matching devices of the specified platforms. |
static CLMultiContext |
create(Collection<CLDevice> devices)
Creates a multi context with the specified devices. |
List<CLContext> |
getContexts()
|
List<CLDevice> |
getDevices()
Returns a list containing all devices used in this multi context. |
boolean |
isReleased()
Returns true if CLResource.release() has been called. |
void |
release()
Releases all contexts. |
String |
toString()
|
static CLMultiContext |
wrap(CLContext... contexts)
Creates a multi context with specified contexts. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static CLMultiContext create(CLPlatform... platforms)
public static CLMultiContext create(CLPlatform[] platforms,
CLDevice.Type... types)
public static CLMultiContext create(CLPlatform[] platforms,
Filter<CLDevice>... filters)
public static CLMultiContext create(Collection<CLDevice> devices)
public static CLMultiContext wrap(CLContext... contexts)
public void release()
release in interface CLResourceCLContext.release()public List<CLContext> getContexts()
public List<CLDevice> getDevices()
public boolean isReleased()
CLResourceCLResource.release() has been called.
isReleased in interface CLResourcepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||