javax.media.nativewindow.egl
Class EGLGraphicsDevice

java.lang.Object
  extended by javax.media.nativewindow.DefaultGraphicsDevice
      extended by javax.media.nativewindow.egl.EGLGraphicsDevice
All Implemented Interfaces:
Cloneable, AbstractGraphicsDevice

public class EGLGraphicsDevice
extends DefaultGraphicsDevice
implements Cloneable

Encapsulates a graphics device on EGL platforms.


Field Summary
 
Fields inherited from interface javax.media.nativewindow.AbstractGraphicsDevice
DEFAULT_CONNECTION, DEFAULT_UNIT, EXTERNAL_CONNECTION
 
Constructor Summary
EGLGraphicsDevice(long eglDisplay, String connection, int unitID)
          Constructs a new EGLGraphicsDevice corresponding to the given EGL display handle.
EGLGraphicsDevice(String connection, int unitID)
          Note that this is not an open connection, ie no native display handle exist.
 
Method Summary
 Object clone()
           
 
Methods inherited from class javax.media.nativewindow.DefaultGraphicsDevice
close, getConnection, getHandle, getToolkitLock, getType, getUniqueID, getUnitID, lock, toString, unlock
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EGLGraphicsDevice

public EGLGraphicsDevice(String connection,
                         int unitID)
Note that this is not an open connection, ie no native display handle exist. This constructor exist to setup a default device connection/unit.


EGLGraphicsDevice

public EGLGraphicsDevice(long eglDisplay,
                         String connection,
                         int unitID)
Constructs a new EGLGraphicsDevice corresponding to the given EGL display handle.

Method Detail

clone

public Object clone()
Overrides:
clone in class DefaultGraphicsDevice


Copyright 2010 JogAmp Community.