summaryrefslogtreecommitdiffstats
path: root/src/jogl/native/macosx/MacOSXCustomCGLCode.c
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-27 07:55:31 +0100
committerSven Gothel <[email protected]>2010-11-27 07:55:31 +0100
commit86c164950b0a0d351fc8af3884187b10201b6237 (patch)
tree498535608116440d9122db89af33f7f8c998378f /src/jogl/native/macosx/MacOSXCustomCGLCode.c
parentc6c30d46bc9c6ff472e35cf592713297b1ef7409 (diff)
GLCanvas: Fix disableBackgroundErase/X11, make drawable creation more robust, doc Java2D/AWT properties.
On X11 disableBackgroundErase() must happen before native peer creation, this patch issues it before and after super.addNotify(). Make drawable creation more robust, ie only create a drawable in case the size is > 0x0 and do this check/create at display/paint in case size it not yet determined. Add documentation about Java2D/AWT properties impact on GLCanvas. Make JUnit tests on AWT/GLProfile's more robust, while adding frame validate() ensuring 1st paint will have a size, hence will create the drawable. This is necessary for eg. AMD GPU's and GL context > 3.
Diffstat (limited to 'src/jogl/native/macosx/MacOSXCustomCGLCode.c')
0 files changed, 0 insertions, 0 deletions