Creates a proxy
NativeSurface w/ defined surface handle,
i.e. a
jogamp.nativewindow.WrappedSurface or
jogamp.nativewindow.windows.GDISurface instance.
It's
AbstractGraphicsConfiguration is properly set according to the given
windowHandle
's native visualID if set or the given
GLCapabilitiesImmutable.
Lifecycle (creation and destruction) of the given surface handle shall be handled by the caller
via
ProxySurface#createNotify() and
ProxySurface#destroyNotify().
Such surface can be used to instantiate a GLDrawable. With the help of
GLAutoDrawableDelegateyou will be able to implement a new native windowing system binding almost on-the-fly,
see
com.jogamp.opengl.swt.GLCanvas.
The resulting
GLOffscreenAutoDrawable has it's own independent device instance using device
details
which may be blocking depending on platform and windowing-toolkit requirements.