diff options
Diffstat (limited to 'src/nativewindow')
3 files changed, 7 insertions, 3 deletions
diff --git a/src/nativewindow/classes/com/sun/nativewindow/impl/NullWindow.java b/src/nativewindow/classes/com/sun/nativewindow/impl/NullWindow.java index 800148b8d..c5a617990 100644 --- a/src/nativewindow/classes/com/sun/nativewindow/impl/NullWindow.java +++ b/src/nativewindow/classes/com/sun/nativewindow/impl/NullWindow.java @@ -96,7 +96,7 @@ public class NullWindow implements NativeWindow { return false; } - public void surfaceUpdated() { } + public void surfaceUpdated(Object updater) { } public long getDisplayHandle() { return displayHandle; diff --git a/src/nativewindow/classes/com/sun/nativewindow/impl/jawt/JAWTWindow.java b/src/nativewindow/classes/com/sun/nativewindow/impl/jawt/JAWTWindow.java index 4bb240e94..b4975706d 100644 --- a/src/nativewindow/classes/com/sun/nativewindow/impl/jawt/JAWTWindow.java +++ b/src/nativewindow/classes/com/sun/nativewindow/impl/jawt/JAWTWindow.java @@ -129,7 +129,7 @@ public abstract class JAWTWindow implements NativeWindow { return false; } - public void surfaceUpdated() { } + public void surfaceUpdated(Object updater) { } public long getDisplayHandle() { return config.getScreen().getDevice().getHandle(); diff --git a/src/nativewindow/classes/javax/media/nativewindow/NativeWindow.java b/src/nativewindow/classes/javax/media/nativewindow/NativeWindow.java index cdac2de71..1b000072e 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/NativeWindow.java +++ b/src/nativewindow/classes/javax/media/nativewindow/NativeWindow.java @@ -126,8 +126,11 @@ public interface NativeWindow { /** * Method invoked after the render toolkit (e.g. JOGL) * swapped/changed the buffer/surface. + * + * @param updater is the caller object who updated the surface, + * e.g. a JOGL GLDrawable. */ - public void surfaceUpdated(); + public void surfaceUpdated(Object updater); /** * render all native window information invalid, @@ -199,4 +202,5 @@ public interface NativeWindow { * AbstractGraphicsConfiguration . AbstractGraphicsScreen */ public int getScreenIndex(); + } |