diff options
author | Sven Gothel <[email protected]> | 2013-03-14 11:26:10 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-03-14 11:26:10 +0100 |
commit | dd705f1eb14b87b207e375ea0d71e00155a9933f (patch) | |
tree | 131c131ea2fff2298e2306326ceced93f578ae06 /src/nativewindow/classes/javax | |
parent | 896e8b021b39e9415040a57a1d540d7d24b02db1 (diff) |
OSX/CALayer: Simplify FixCALayerLayout()/layoutSurfaceLayer() call, no more need for explicit call
- OffscreenLayerSurface.layoutSurfaceLayer() removed, no more required
- JAWTWindow adds a ComponentListener, which issues FixCALayerLayout() at resized, moved and shown.
- MyNSOpenGLLayer no more requires fix*Size() methods
- MyNSOpenGLLayer::setDedicatedSize() need no explicit CATransaction, performed by caller.
Diffstat (limited to 'src/nativewindow/classes/javax')
-rw-r--r-- | src/nativewindow/classes/javax/media/nativewindow/OffscreenLayerSurface.java | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/nativewindow/classes/javax/media/nativewindow/OffscreenLayerSurface.java b/src/nativewindow/classes/javax/media/nativewindow/OffscreenLayerSurface.java index df3f04f7f..8c02a68bb 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/OffscreenLayerSurface.java +++ b/src/nativewindow/classes/javax/media/nativewindow/OffscreenLayerSurface.java @@ -42,21 +42,6 @@ public interface OffscreenLayerSurface { */ public void attachSurfaceLayer(final long layerHandle) throws NativeWindowException; - /** - * Layout the offscreen layer according to the implementing class's constraints. - * <p> - * This method allows triggering a re-layout of the offscreen surface - * in case the implementation requires it. - * </p> - * <p> - * Call this method if any parent or ancestor's layout has been changed, - * which could affects the layout of this surface. - * </p> - * @see #isOffscreenLayerSurfaceEnabled() - * @throws NativeWindowException if {@link #isOffscreenLayerSurfaceEnabled()} == false - */ - public void layoutSurfaceLayer() throws NativeWindowException; - /** * Detaches a previously attached offscreen layer from this offscreen layer surface. * @see #attachSurfaceLayer(long) |