Activity Not Available
22
I Use This!

Commits : Individual Commit

Analyzed about 1 month ago. based on code collected about 1 month ago.

Commit ID a3cb6bb14f410f67fccf5ccd4cd7ecc66f448389

913e2a7b303c5c92f4b3de3d816ad8e5?&s=64&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon80 Contributor: Sven Gothel Files Modified 9
Date: 05-October-2012 at 04:31 Lines Added: 177
Repository: git://jogamp.org/srv/scm/jogl.git master Lines Removed: 34
Commit Comment: Fix Bug 572 (2nd time): GLCanvas.validateGLDrawable() @ display() and reshape() ; GLCanvas.reshape() only if drawble valid ; GLCanvas.validateGLDrawable() also test isDisplayable() ; Fix size validation ; resizeOffscreenDrawable(..) don't validate 'safe' size 1x1 - GLCanvas.validateGLDrawable() @ display() and reshape() To help users using GLCanvas w/ having a realized GLCanvas/Drawable, validateGLDrawable() is also called at reshape(). This shall ensure a valid drawable after even a non AWT-EDT issued first setVisible(). - GLCanvas.reshape() only if drawble valid Otherwise offscreen reshape attempts would happen even on unrealized drawable, which is not necessary. - GLCanvas.validateGLDrawable() also test isDisplayable() To make sure the native peer is valid, also test isDisplayable() - Fix size validation Since we have experienced odd size like 0 x -41 test each component, i.e. 0 < width && 0 < height. This is done through all JOGL/NEWT components. - resizeOffscreenDrawable(..) don't validate 'safe' size 1x1 In case method is called w/ odd size, i.e. 0 x -41, the safe size 1x1 is used. However, we cannot validate this size. Dump WARNING if odd size is detected.

Changes by Language

Language Code Added Code Removed Comments Added Comments Removed Blanks Added Blanks Removed
  Java 106 29 46 3 21 0
  shell script 2 1 2 1 0 0

Changes by File

File Language Code Added Code Removed Comments Added Comments Removed Blanks Added Blanks Removed
make/scripts/tests.sh shell script 2 1 2 1 0 0
src/jogl/classes/com/jogamp/opengl/swt/G... Java 1 1 0 0 0 0
src/jogl/classes/javax/media/opengl/awt/... Java 19 18 1 0 0 0
src/jogl/classes/jogamp/opengl/GLDrawabl... Java 8 3 0 0 0 0
src/newt/classes/com/jogamp/newt/swt/New... Java 1 1 0 0 0 0
src/newt/classes/com/jogamp/newt/Window.... Java 0 0 3 3 0 0
src/newt/classes/jogamp/newt/WindowImpl.... Java 4 4 0 0 0 0
src/test/com/jogamp/opengl/test/junit/jo... Java 64 0 42 0 21 0
src/test/com/jogamp/opengl/test/junit/ut... Java 9 2 0 0 0 0