Package com.jogamp.nativewindow
Interface SurfaceUpdatedListener
- All Known Subinterfaces:
MutableSurface
,NativeSurface
,NativeWindow
,ProxySurface
,Window
- All Known Implementing Classes:
GLWindow
,JAWTWindow
public interface SurfaceUpdatedListener
Clients may add their SurfaceUpdateListener implementation to a
NativeSurface
allowing to get notified after the surface has been updated, eg. after a swap buffer operation.-
Method Summary
Modifier and TypeMethodDescriptionvoid
surfaceUpdated
(Object updater, NativeSurface ns, long when) Notification of a surface update event, eg.
-
Method Details
-
surfaceUpdated
Notification of a surface update event, eg. after a swap buffer operation.- Parameters:
updater
- is the caller object who updated the surface, e.g. a JOGL GLDrawable.ns
- the updated NativeSurfacewhen
- the time in ms, when the surface was updated
-