aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/games/gluegen/opengl/BuildComposablePipeline.java
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2004-08-03 17:50:18 +0000
committerKenneth Russel <[email protected]>2004-08-03 17:50:18 +0000
commit05ad8604b58f355890f0e3804906c7e8d598edfa (patch)
tree946bfc071f06e4b537afa052232d7ea5463ca669 /src/net/java/games/gluegen/opengl/BuildComposablePipeline.java
parentd803c81ff894edcb3569f22c2e2822e1237b7456 (diff)
Bug fix from user GKW on the JOGL forums for problems reported by
users in JOGL 1.1 betas where the code path for wglChoosePixelFormatARB (supporting full-scene antialiasing) was failing on older cards. The old drivers expect an OpenGL context to be current while the wglChoosePixelFormatARB and associated calls are being made, even though the documentation explicitly states that this is not necessary. GKW's fix creates a native window synchronously (independent of the AWT) and associates an OpenGL context with it which is used to choose pixel formats for other windows on the same GraphicsDevice. Upon VM shutdown, a native message pump is started which causes proper disposal of the native window and its OpenGL contexts. There is currently no bug ID associated with this fix, although it may be a component of completely addressing several open bugs. Also includes a bug fix from GKW and kbr for: Issue 98: Just 1st frame rendering on ATI Radeon This was a race condition between JOGL's automatic discovery that the ATI_WORKAROUND was needed and the creation of the first GLCanvas and associated Animator. The need for disabling the setRenderingThread optimization was computed too late, incorrectly locking out other threads (in particular, the AWT event queue thread) from performing rendering of the component. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@144 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/net/java/games/gluegen/opengl/BuildComposablePipeline.java')
0 files changed, 0 insertions, 0 deletions