aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Graph VBORegion*: Lazy GL alloc of resources at update(GL, ..) not constructorSven Gothel2011-05-082-233/+141
|
* JOGL/ShaderCode: Dump proper GLSL source w/ line numbers if GLSLCode debug ↵Sven Gothel2011-05-081-7/+21
| | | | prop is set
* Graph/JOGL: Avoid NPESven Gothel2011-05-082-2/+8
|
* Graph/Font: use StringBuilderSven Gothel2011-05-085-21/+54
|
* Graph: RenderState (interface -> abstract) missing commit of ↵Sven Gothel2011-05-081-14/+65
| | | | e122b2f92b2302362569cdc9a67efd5750f46eb1
* Graph: OutlineShape fix, cleanupSven Gothel2011-05-081-36/+75
| | | | | | | | | OutlineShape: - add clear() - safe addEmptyOutline() - fix addOutline(..) - add addOutlineShape(OutlineShape) -
* Graph: GLSL fix, Adding renderModes bits instead of dedicated booleans, ↵Sven Gothel2011-05-0820-487/+479
| | | | | | | | | | | | | | | | | | | | | Region/GLRegion, .. GLSL fix: - allowing #version tag - add uniform textureSize (ES2) - fix int/float conversion Region/GLRegion: - non OpenGL Region and GL related GLRegion split Region/Renderer renderModes bits (def. in Region) - user creates a Renderer* impl .. and derive Region*'s from outline, possibly from a different code path. - to avoid mode explosion, a bit field is being used for now - Renderer: remove flushCache(), since non caching impl. is intended, or caching by an external user transparent object.
* Merge remote-tracking branch 'rsantina/graph'Sven Gothel2011-05-073-8/+9
|\
| * Cleanup nonuniform impl(method params and comments)Rami Santina2011-05-033-8/+9
| |
* | Graph / Text: Use CharSequence as char/string interface to text renderingSven Gothel2011-05-065-13/+13
| | | | | | | | | | Implements more of John Pritchard <[email protected]> proposal https://github.com/syntelos/jogl/commit/eadee0758babcddaa5eeaffbe046e1b09f9f550e
* | Graph: more clone() cleanup.Sven Gothel2011-05-063-4/+4
| | | | | | | | | | - throw InternalError() for CloneNotSupportedException case, which never happens - AffineTransform clone() uses covariant return type as well, ie AffineTransform
* | GlyphShape: Use switch block for PathIterator - adding default (exception)Sven Gothel2011-05-063-96/+109
| | | | | | | | | | Implements more of John Pritchard <[email protected]> proposal https://github.com/syntelos/jogl/commit/05a7ec92d30e1e688b1eb7cc317cad83a0e8fd60
* | Graph: More std. functionality (equals, clone) / Better in-place ↵Sven Gothel2011-05-069-255/+492
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | transformation (cubic -> quadratic) Impl. more of John Pritchard <[email protected]> proposal https://github.com/syntelos/jogl/commit/05a7ec92d30e1e688b1eb7cc317cad83a0e8fd60 +++ More std. functionality (equals, deep clone) of AABBox, Vertex, Outline and OutlineShape. Simplify Vertex: - Remove 2 component constructor - Add on-curve in Vertex.Factory / Constructor - Adding equals(Object) - Remove Comparable/compareTo, since we only can make an equals statement Outline/OutlineShape: Handle dirty flag for boundary (new set/remove operation) OutlineShape: Better in-place transformation (cubic -> quadratic)
* | Merging OutlineShape.VerticesState enum type (John Pritchard ↵Sven Gothel2011-05-054-11/+30
|/ | | | <[email protected]> https://github.com/syntelos/jogl/commit/05a7ec92d30e1e688b1eb7cc317cad83a0e8fd60#L0R59)
* Refactor getOutline --> getPaths (actual behaviour)Rami Santina2011-05-023-4/+6
|
* Added nonuniform weight impl; misc enhancements/cleanupsRami Santina2011-05-0230-153/+291
| | | | | | | | | | Seperate texcoords from shaprness Added NonUniform weight shader impl for region impl only (not text) Refactor p1y --> weight (equiv to nurbs weight) cleanup shader uniforms (rename/remove unneeded) Enhanced blending of text GPURegionNewtDemo01 - added weight W/Q to manipulate weight refactor r2t --> vbaa (matching algorithm name)
* UITest AWTRobot: Use AWT double click TOSven Gothel2011-05-011-2/+20
|
* UI Tests/Robot: Attempt to stabilize UI tests (focus/input)Sven Gothel2011-05-015-163/+245
| | | | | | | | Focus: Always programmatic, clear global focus state upfront Key/Mouse Input: Retry w/ optional focus request if lost .. Dropped redundant robot delays, ie between keypress/release.
* UI Unit Tests: OO rework of EventCountAdapterSven Gothel2011-05-019-26/+177
| | | | | | Key/Mouse: Track 'pressed' state Focus: Simplify 'focused' state tracking
* UI Unit Tests: Add test name to log and singleton lock, better log outputSven Gothel2011-05-012-15/+29
|
* Fix GLDebugMessages synchronous setting ↵Sven Gothel2011-04-292-10/+12
| | | | 39a8ca392d7302831f5689979c4ce89145b732af, only set if ARB
* GLContext GLDebugMessages: Add synchronous status/dumpStack; Remove length ↵Sven Gothel2011-04-289-55/+141
| | | | | | | | in aliased glDebugMessageInsert. - GLDebugMessages add synchronous status - defaults to true - GLContext/GLDebugMessages add dumpStack() if jogl.debug.DebugGL is set - Remove param length in aliased glDebugMessageInsert.
* GLRunnable Injection Thread Test: Slow down injection to 10HzSven Gothel2011-04-282-3/+3
|
* Unit Test Framework SingletonInstance: setup file unlock/delete asapSven Gothel2011-04-281-19/+31
|
* Fix glsl unit tests: NV needs to have explicitly turn off vsync / Fix 'sed' ↵Sven Gothel2011-04-287-28/+45
| | | | havoc: gcu_ -> mgl_ uniform names
* ShaderState Switch Program: Only disable current program if no new one; ↵Sven Gothel2011-04-283-29/+36
| | | | Better toString formating
* GetDebugMessageLogARB/AMD 'messagelog' param is return value, hence can't be ↵Sven Gothel2011-04-281-2/+2
| | | | of type String
* Utilize general validation of fbcfg (further validation w/ query), refines ↵Sven Gothel2011-04-283-4/+8
| | | | f50f40e0fb2789537ecc19f8eaff439b24294a65
* Merged pull request #35 from WadeWalker/2011-04-12-fix-bug-493.Sven Gothel2011-04-271-1/+15
|\ | | | | Fix problem with external context on CentOS 5.5 inside VMWare
| * Fix problem with external context on CentOS 5.5 inside VMWareWade Walker2011-04-121-1/+15
| | | | | | | | | | | | | | | | This fixes a problem that's analogous to one we've had on Windows; apparently querying OS-specific info like hardware device contexts or framebuffer configuration IDs from external GL contexts doesn't always work properly, especially on 32-bit OSes and from within virtual machines.
* | MacOSX/CGL Add CGLGetShareGroup()Sven Gothel2011-04-262-1/+3
| |
* | Newt Window: Missing change of f47230cb4649df13260ac56c5dae6c01dad7c1e7 ↵Sven Gothel2011-04-261-6/+0
| | | | | | | | (remove invalidate())
* | test scriptSven Gothel2011-04-261-1/+1
| |
* | Graph Demos: Add F4 key to exit; Proper exit sequence w/ animator.stop() ↵Sven Gothel2011-04-266-18/+108
| | | | | | | | after window is destroyed to exit the JVM
* | ShaderState: Add 'ownUniform()/ownAttribute()'; rename glFunction -> ↵Sven Gothel2011-04-2623-477/+571
| | | | | | | | | | | | | | | | | | | | | | | | | | | | function; switch program enh. ; Graph lifecycle Add 'ownUniform()/ownAttribute()' allowing to reset all bound uniforms/attributes, not just active ones plus handling the lifecycle of the owned attributes (destroy). This simplifies the lifecycle of all shader attributes. Rename glFunction -> function .. well, the GL attribute marks them GL related already Switch program enhancement. If switching to new program (unlinked), issue glBindAttributeLocation .. Graph lifecycle cleanup using the above ..
* | Newt Window: Remove 'invalidate()' method, only 'destroy()' is required (and ↵Sven Gothel2011-04-2638-327/+182
| | | | | | | | | | | | | | makes sense) - WindowImpl/GLWindow: Cleanup destroy code .. - Tests: sync / remove FPS stderr print
* | NativeWindow/X11: Simple cleanup/generalization ..Sven Gothel2011-04-261-5/+16
| |
* | NEWT/X11 WindowClosing: End dispatch loop since Display could be destroyed ↵Sven Gothel2011-04-261-3/+15
| | | | | | | | after Java callback
* | ShaderState: 'Update' vertexAttribMap on enableSven Gothel2011-04-255-119/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ShaderProgram: - shaderCode's HashMap -> HashSet - adding HashSet for attached ShaderCode - link: allow relink, attachShader only if not yet attached - new add(gl, ShaderCode, ..) method, allowing compile/attach pre linkage - remove boxing of integer 'id', use generics style (warnings) - rename: glReplaceShader -> replaceShader, glUseProgram -> useProgram - fix: replaceShader - hashCode _is_ 'id' ShaderCode: - remove boxing of integer 'id', use generics style (warnings) - hashCode _is_ 'id' ShaderUtil: Use generics style (warnings), static names
* | Use less updated animator fpsSven Gothel2011-04-251-5/+7
| |
* | graph/glsl: AMD need vertice attrib location 0 ..Sven Gothel2011-04-251-3/+3
| |
* | Fix GLSL Shader tests ..Sven Gothel2011-04-253-89/+146
| |
* | FPSCounter def to 5*60 frames (each 5s at 60Hz) ; Test: each 1sSven Gothel2011-04-2527-75/+106
| |
* | test scriptsSven Gothel2011-04-252-5/+15
| |
* | GLContextImpl.createContextARB(..): Use impl. GLProfile to determine ↵Sven Gothel2011-04-251-6/+7
| | | | | | | | | | | | requested context .. this fixes the bug where [GL2ES2/GL4bc] didn't fetch GL4bc, but a GL2 old context.
* | jogl.debug.DebugGL enables new DebugMessage/Output featureSven Gothel2011-04-242-5/+12
| |
* | Graph: Fix AMD shader complain (version) ; No Attributes in fragment program ↵Sven Gothel2011-04-245-6/+15
| | | | | | | | ; Disable FPS draw at start
* | Fix junit tests: Enable FPSCounter (missing from ↵Sven Gothel2011-04-245-1/+10
| | | | | | | | ea819ff768d507c37a981c1ab0bdc0cad32c6a87)
* | NEWT Event Types: Use final modifier if possibleSven Gothel2011-04-245-8/+8
| |
* | GLDrawableHelper: listener's locking cleaned ; Fix generics (warnings) ..Sven Gothel2011-04-241-43/+14
| | | | | | | | | | | | | | GLDrawableHelper always locked access to it's listeners, hence no copy is required for add/remove a listener. Writeout generics (warnings)