aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix: DEBUG field (regression)Sven Gothel2011-04-052-3/+4
|
* Fix: shaderProgram.program(); glBindAttribLocation() call; ↵Sven Gothel2011-04-055-13/+32
| | | | | | | | | | | | dispose/disposeImpl sequence; Use shaderProgram.program() instead of shaderProgram.id() - the id() is just a unique sequence name. Call glBindAttribLocation() after program object init and before linkage. Chain call disposeImpl() properly to fix destruction sequence: TextRendererImpl01 -> TextRenderer -> GlyphString -> Region RegionRendererImpl01 -> RegionRenderer -> Region
* Fix: Use new FBObject; Use shaderProgram.program() instead of shaderProgram.id()Sven Gothel2011-04-051-65/+30
| | | | | | | The new FBObject handles state transition more easily and it's usage is less complex to the caller - compared to inline usage. Use shaderProgram.program() instead of shaderProgram.id() - the id() is just a unique sequence name.
* ShaderProgram: Add 'init(GL2ES2)', allowing GL program object creation ↵Sven Gothel2011-04-051-0/+21
| | | | | | before link stage. This is required to allow proper usage of 'glBindAttribLocation()'.
* GLContext: Added java.debug.DebugGL and java.debug.TraceGL to enable debug ↵Sven Gothel2011-04-052-5/+16
| | | | and trace pipeline.
* Make FBObject more generic, split FBO/tex and depth/stencil attachements. ↵Sven Gothel2011-04-051-67/+174
| | | | Allow parametrization of each component.
* Fix: p1y region set to 0.5, cleaned shaderRami Santina2011-04-023-9/+6
|
* Jogl build: Rebuild jar files if shaders were updatedSven Gothel2011-04-021-1/+2
|
* Fix: removing fragments with w=0 is producing dimples with msaaRami Santina2011-04-021-1/+1
|
* Fragment Shader enhancement + clean-up;Rami Santina2011-04-023-22/+20
| | | | | | in first pass the shader now discards pixels that are dropped by imlicit AA, and second pass (if executed) doesnt include them in AA clac.
* Rendered: +enable(GL, bool) ; dumpFontNames..Sven Gothel2011-04-014-4/+16
|
* Font Names: Expose name indices allowing user to pick all names ..Sven Gothel2011-04-016-42/+34
|
* Graph Unit tests must have NEWT in the name / Also added UI lockingSven Gothel2011-04-012-4/+6
|
* more text in text demosSven Gothel2011-04-012-51/+87
|
* Load fonts via File or URL .Sven Gothel2011-04-015-29/+97
|
* Font: +getName / +getAllNames / +isPrintableCharacterSven Gothel2011-04-015-3/+61
|
* Remove HashCode util and its usageSven Gothel2011-04-012-206/+3
|
* integrated typecast into jogamp. treeSven Gothel2011-04-01111-171/+186
|
* Folded typecast into jogl folderSven Gothel2011-04-01105-0/+0
|
* Folded turtle2d into jogl foldersSven Gothel2011-04-01181-0/+26367
|
* Newt X11: keyPress/Release must use upper case XP_ values to match VK_ ; Set ↵Sven Gothel2011-03-301-50/+65
| | | | modifier properly.
* ShaderCode: Remove redundant code (Use proper Locator variant)Sven Gothel2011-03-302-16/+5
|
* JAWTUtil: Just use 'sunToolkitClass' in local blockSven Gothel2011-03-271-6/+3
|
* Merge remote-tracking branch 'wwalker/2011-03-24-fix-JAWTUtil-NPE'Sven Gothel2011-03-271-2/+2
|\
| * Fix NPE caused by refactoring on 2/26/2011.Wade Walker2011-03-261-2/+2
| | | | | | | | | | | | The refactoring refers to the static sunToolkitClass when it's not initialized, which causes an NPE and makes the system think it can't do AWT locks.
* | FPSAnimator: Poor attempt to wait for threads EOL after pause/stopSven Gothel2011-03-271-0/+6
|/
* Promote GLDrawableFactory.getOrCreateSharedContext(..) to public.Sven Gothel2011-03-262-1/+101
|
* Fix unnecessary NPE in case of unrealized GLCanvas (getRequestedCapabilities())Sven Gothel2011-03-261-1/+1
|
* Fix Bug460 testSven Gothel2011-03-261-30/+7
|
* FPSAnimator: Avoid NPESven Gothel2011-03-251-6/+15
|
* Fix Bug #460 - GLCanvas NPESven Gothel2011-03-212-1/+84
|
* Fix Bug #480 (attempt) - ATI + WinXP: make context current for ARB PFD ↵Sven Gothel2011-03-215-57/+169
| | | | | | | | | queries/selection TODO: Validate if bug is actually relates to the 'old' ATI Windows driver for old GPU's like X300 etc and unrelated to the actual Windows version ! Also ensure that the no pixelformat is being set on external context/HDC.
* Refine getAvailableGLCapabilitiesImpl (XGL, WGL and EGL): Sort only if size > 1Sven Gothel2011-03-204-7/+5
|
* Refine WGL_PIXEL_TYPE_ARB and GLX_RENDER_TYPE:Sven Gothel2011-03-204-19/+32
| | | | | | | | | | | | | | | | | WGL_PIXEL_TYPE_ARB: Results -> GLCapabilities - WGL_TYPE_COLORINDEX_ARB not supported - Only WGL_TYPE_RGBA_FLOAT_ARB makes pbuffer float Query: - Only use WGL_FLOAT_COMPONENT_NV if supported - Remove multiple WGL_PIXEL_TYPE_ARB entry GLX_RENDER_TYPE: Results -> GLCapabilities - GLX_COLORINDEX_BIT only not supported
* - LinkedList -> ArrayList (using tail) for O(1) operationSven Gothel2011-03-191-19/+23
| | | | | - Using new IntIntHashMap clone() operation - Comment: Tuning IntIntHashMap capacity to avoid rehash
* Add @OverrideSven Gothel2011-03-192-0/+6
|
* GLStateTracker code review:Michael Bien2011-03-051-23/+25
| | | | | | | - using LinkedList as stack replacement for non index based push/pop - increased initial map size since the default values already exceeds the default mapsize - size()==0 -> isEmpty() (can be significantly faster if the deque impl would change in future) - map copy with initial size - minor other changes
* Revert Gears: Remove static main, since junit tries to load references ↵Sven Gothel2011-03-051-44/+0
| | | | (AWT); Remove static init as well
* Fix MemoryObject: Remove unnecessary and slow hash collision actionSven Gothel2011-03-051-23/+3
|
* junit Gears: remove AWT GLCanvas from importSven Gothel2011-03-051-3/+2
|
* Fix GLStateTracker PixelStore popAttrib(): Only write new state if ↵Sven Gothel2011-03-051-9/+19
| | | | corresponding push was of ClientPixelStore type
* Sync Gears (jogl-demos)Sven Gothel2011-03-041-5/+66
|
* Tolerate pending/lazy native context creation at 1st makeCurrent (OSX).Sven Gothel2011-03-011-14/+29
| | | | This allows SWT on OSX to work properly.
* JOGL OSX: Cleanup imports/overrideSven Gothel2011-03-012-5/+4
|
* Fix TestSharedContextListAWT: Use in-thread simple frame construction, which ↵Sven Gothel2011-03-012-10/+11
| | | | somehow solves the problem on Windows having no height
* SWTAccessor: Attempt to receive the OSX cocoa NSView handle/idSven Gothel2011-03-011-7/+35
|
* Cleanup (private access for inner classes)Sven Gothel2011-02-282-45/+48
| | | | | | | | | | Partially revert commit 5681c25cfd4c7abce7d653910c9aa7a4e989057e - revert all window feature (visible, fullscreen, ..) runOnEDT calls to wait:=true, it turns out we loose stability and predictable behavior otherwise. - a user must ensure no calling these modifier methods from a locked window state, as documented (and changed) in commit 481285c3d19d0a4c019cffc72b7a8b58296b748e
* Animator: Cleanup and better DEBUG infoSven Gothel2011-02-282-6/+9
|
* fix test - dont use GLAutoDrawable.invoke(boolean wait, GLRunnable glRunnable)Sven Gothel2011-02-281-10/+8
| | | | for window locking calls, ie window changes. The GLRunnable list is executed while window is locked.
* unit tests: Gears, TestGearsNEWT, WindowImplAccessSven Gothel2011-02-283-2/+31
| | | | | | | | | Gears (add cursor rotation) TestGearsNEWT (add decoraction toggle 'd') WindowImplAccess NEWT Closing tests .. programmatical close on EDT, which simulates 1:1 native closing operation.