From 6d57bd7717834afcd5f1dc3b60d696eda1997fe8 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 5 Nov 2011 05:51:40 +0100 Subject: Cleanup ; JAWT* version flag setting based whether Cleanup - use Platform OS_TYPE - .. JAWT* version flag - if JAWTWindow is Applet, attempt offscreenLayer if avail - .. --- src/jogl/classes/jogamp/opengl/GLDrawableImpl.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/jogl/classes/jogamp/opengl/GLDrawableImpl.java') diff --git a/src/jogl/classes/jogamp/opengl/GLDrawableImpl.java b/src/jogl/classes/jogamp/opengl/GLDrawableImpl.java index 58c9aaaa6..6b6ce9f9e 100644 --- a/src/jogl/classes/jogamp/opengl/GLDrawableImpl.java +++ b/src/jogl/classes/jogamp/opengl/GLDrawableImpl.java @@ -125,7 +125,10 @@ public abstract class GLDrawableImpl implements GLDrawable { return surface; } + /** called with locked surface @ setRealized(false) */ protected void destroyHandle() {} + + /** called with locked surface @ setRealized(true) or @ lockSurface(..) when surface changed */ protected void updateHandle() {} public long getHandle() { -- cgit v1.2.3