aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed extreme slowdown with Java2D/OpenGL pipeline and FBO case on ATI Kenneth Russel2006-03-231-0/+31
| | | | | | | | hardware pointed out by Chris Campbell by unbinding the FBO from Java2D's context before making it current in ours git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@677 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-03-231-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@676 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 210: Crashes on Mac OS X related to GLWorkerThreadKenneth Russel2006-03-221-4/+11
| | | | | | | | | | | Worked around crashes related to introduction of GLWorkerThread by switching back to using the AWT event dispatch thread to perform all OpenGL work on Mac OS X. It is possible that there are deeper underlying bugs in the new locking protocol for on-screen GLContext implementations and that a more correct fix can be found in the future. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@675 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-03-221-14/+14
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@674 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-03-211-16/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@673 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-03-201-14/+14
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@672 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-03-191-18/+18
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@671 232f8b59-042b-4e1e-8c03-345bb8c30851
* Made MacOSXOnscreenGLContext obey disabling of optimized contextKenneth Russel2006-03-191-2/+14
| | | | | | | handling git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@670 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed general bug in GLJPanel where the offscreen image was beingKenneth Russel2006-03-191-2/+7
| | | | | | | | | drawn from within the GLEventListener rather than in a guaranteed fashion from the AWT event queue thread within paintComponent(), causing problems on OS X with the new GLWorkerThread git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@669 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added fallback path in GLContext optimization code to be able toKenneth Russel2006-03-193-2/+43
| | | | | | | | | | | | disable behavior of leaving last context current on OpenGL worker thread. Currently can be manually disabled with -Djogl.GLContext.noopt. Added explicit test on X11 platforms of whether the onscreen context created is direct or not, and to disable context optimization if not, to automatically solve problems when running with indirect contexts typically from Mesa. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@668 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-03-181-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@667 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-03-171-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@666 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-03-161-14/+14
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@665 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-03-151-16/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@664 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added position(0) call to returned Buffers from glMapBuffer and Kenneth Russel2006-03-141-0/+2
| | | | | | | glMapBufferARB on suggestion of John Burkey git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@663 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-03-131-13/+13
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@662 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-03-121-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@661 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-03-111-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@660 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-03-101-16/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@659 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed resizing bug on Mac OS X which was a consequence of leaving theKenneth Russel2006-03-102-0/+13
| | | | | | | context permanently current on the GLWorkerThread git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@658 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-03-091-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@657 232f8b59-042b-4e1e-8c03-345bb8c30851
* Dummy putback to fix previous incorrect checkin comment: Kenneth Russel2006-03-081-1/+1
| | | | | | | | Augmented DRIHack to look for /usr/X11R6/lib/modules/dri as well as /usr/lib/dri when determining whether to enable DRI hack. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@656 232f8b59-042b-4e1e-8c03-345bb8c30851
* Restructured how GLObjectTracker destroys tracked objects during Kenneth Russel2006-03-081-3/+10
| | | | | | | | | | | | | | | | | | context destruction. Now, in addition to tracking sharing between contexts requested by the user, also tracks the behind-the-scenes sharing going on with e.g. Java2D. Makes determination of whether objects can be immediately destroyed by checking current context and seeing whether it shares the same deleted object pool as the one being destroyed. If objects can not be destroyed immediately, their destruction is deferred until the next makeCurrent of a context sharing objects with the one currently being destroyed (if one exists -- the case of this being the last context actually referencing the objects is handled by the OpenGL drivers). This fixes the resizing problems seen when -Dsun.java2d.opengl.fobject=true is specified along with -Dsun.java2d.opengl=true in Mustang. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@655 232f8b59-042b-4e1e-8c03-345bb8c30851
* Restructured how GLObjectTracker destroys tracked objects during Kenneth Russel2006-03-084-34/+175
| | | | | | | | | | | | | | | | | | context destruction. Now, in addition to tracking sharing between contexts requested by the user, also tracks the behind-the-scenes sharing going on with e.g. Java2D. Makes determination of whether objects can be immediately destroyed by checking current context and seeing whether it shares the same deleted object pool as the one being destroyed. If objects can not be destroyed immediately, their destruction is deferred until the next makeCurrent of a context sharing objects with the one currently being destroyed (if one exists -- the case of this being the last context actually referencing the objects is handled by the OpenGL drivers). This fixes the resizing problems seen when -Dsun.java2d.opengl.fobject=true is specified along with -Dsun.java2d.opengl=true in Mustang. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@654 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-03-081-16/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@653 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-03-071-16/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@652 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-03-061-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@651 232f8b59-042b-4e1e-8c03-345bb8c30851
* Use try/finally in X11GLContext.destroyImpl() to avoid any potentialKenneth Russel2006-03-061-14/+17
| | | | | | | problems in leaving AWT toolkit locked git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@650 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added NativeSignatureEmitterKenneth Russel2006-03-065-9/+66
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@649 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-03-051-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@648 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-03-041-17/+17
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@647 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added support requested by user mantesat on JOGL forum for null Kenneth Russel2006-03-031-1/+6
| | | | | | | texture buffer git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@646 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed new bug associated with GLObjectTracker and context destructionKenneth Russel2006-03-031-0/+3
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@645 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-03-031-14/+14
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@644 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-03-021-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@643 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-02-281-16/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@642 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-02-271-14/+14
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@641 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-02-261-17/+17
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@640 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-02-251-16/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@639 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-02-241-16/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@638 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 191: Add new opengl.1thread=new or similar Kenneth Russel2006-02-241-6/+8
| | | | | | | | | | | A new recognized option -Dopengl.1thread=worker has been added to the Threading class and is now the default. Optimization has been added to leave the last context current on that thread so in the single-context case context switching is avoided. Code has been added to make this interoperate well with the manual use of the GLContext APIs. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@637 232f8b59-042b-4e1e-8c03-345bb8c30851
* Optimized VBO/PBO checking routines in GLImpl. Now cache availability Kenneth Russel2006-02-241-20/+43
| | | | | | | of extensions in booleans rather than querying table each time. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@636 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-02-231-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@635 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added mechanism for kicking the current context off the Kenneth Russel2006-02-233-13/+84
| | | | | | | | | GLWorkerThread. Tested with modified version of demos.texture.TestTexture doing the loading in another thread with manual makeCurrent()/release() calls (not recommended style). git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@634 232f8b59-042b-4e1e-8c03-345bb8c30851
* Attempted fix for Issue 206: glTexImage2D fails on external context Kenneth Russel2006-02-231-0/+1
| | | | | | | | | Apparently failed to set mostRecentDisplay for X11ExternalGLContexts. Hard to believe this could have been broken for this long, though. No test case, therefore "attempted fix". git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@633 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-02-221-16/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@632 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-02-211-17/+17
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@631 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 205: FPSAnimator flag for fixed-rate scheduling Kenneth Russel2006-02-211-4/+28
| | | | | | | | | Added new constructors taking fixed-rate scheduling flag. Defaults to false. Seems to help FPSAnimator reach higher framerate targets. Unclear whether the flag will cause excessive CPU consumption. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@630 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added optimized path to GLDrawableHelper for situation where Kenneth Russel2006-02-215-39/+202
| | | | | | | | | | | | | | | | GLWorkerThread is being used; last context made current on that thread is left current on that thread. In the case where only a single OpenGL context is in use this eliminates the repeated calls to makeCurrent. Ran into same NVidia driver bug causing crashes upon exit with Java2D/OpenGL pipeline. Added workaround to GLDrawableHelper which can be enabled with -Djogl.nvidia.crash.workaround, which just disables this optimization. Fixed GLCanvas and GLPbufferImpl's destruction paths to behave correctly in the face of the context being left current on the GLWorkerThread. Updated code in Threading related to GLWorkerThread to interoperate better with Java2D/OpenGL pipeline. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@629 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed bug in GLDrawableHelper.invokeGL() where the previous initAction Kenneth Russel2006-02-211-0/+1
| | | | | | | was not being set up git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@628 232f8b59-042b-4e1e-8c03-345bb8c30851