summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/graph
Commit message (Collapse)AuthorAgeFilesLines
* Merging OutlineShape.VerticesState enum type (John Pritchard ↵Sven Gothel2011-05-051-1/+1
| | | | <[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-0210-60/+159
| | | | | | | | | | 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)
* ShaderState: Add 'ownUniform()/ownAttribute()'; rename glFunction -> ↵Sven Gothel2011-04-266-57/+64
| | | | | | | | | | | | | | 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 ..
* graph/glsl: AMD need vertice attrib location 0 ..Sven Gothel2011-04-251-3/+3
|
* Graph: Fix AMD shader complain (version) ; No Attributes in fragment program ↵Sven Gothel2011-04-243-5/+12
| | | | ; Disable FPS draw at start
* Refactored graph: Reduce/remove data copy/recreation; Shader cleanupSven Gothel2011-04-2315-451/+519
| | | | | | | | | | | | - Pass the current GL context object where it's required - Introduce RenderState (which has ShaderState) to acquire/change shader related data (Region) - Shader Cleanup: User import for common stuff; use req. version - Reduce/remove data copy/recreation in *Region implementation - UI/RIButton: Use defaults I like :)
* Fix/Add: Locator (Handle JarURLConnection and ..)Sven Gothel2011-04-221-3/+1
| | | | | | | | | new: 'public static String getRelativeOf(URL baseLocation, String relativeFile)', capable of handling a JAR file/url. Using File based relative locator, allowing better utilization in code: old public static String getRelativeOf(String absoluteFileLocation, String relativeFile) new public static String getRelativeOf(File baseLocation, String relativeFile)
* Fix TAB: Replace all TAB with 4 spacesSven Gothel2011-04-0825-1540/+1540
|
* Merge remote-tracking branch 'rsantina/graph' into graphSven Gothel2011-04-083-5/+29
|\
| * Merge: merged with sgothelRami Santina2011-04-084-220/+232
| |\
| * | TextRenderer - createString exposed; Renderer - added scale();Rami Santina2011-04-081-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | createString function is now public to be able to create a string without initializing textRenderer. Temp change, should be cleaned up. added missing scale transformation to renderer pmvmatrix; added glyphstring.getBounds() so not to use font.getStringBounds. since it Would be a redundant call.
| * | Added getBounds impl to region, returning AABBoxRami Santina2011-04-082-2/+21
| | |
* | | destroy: clear vertices/triangle arraysSven Gothel2011-04-081-2/+2
| |/ |/|
* | Use GLArrayDataServer to handle shader attributes/data using VBOSven Gothel2011-04-082-215/+227
| |
* | Use common constants for shader attributes (needs to be completed)Sven Gothel2011-04-082-4/+4
|/
* Fix: shaderProgram.program(); glBindAttribLocation() call; ↵Sven Gothel2011-04-052-8/+14
| | | | | | | | | | | | 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.
* 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-011-1/+1
|
* Font Names: Expose name indices allowing user to pick all names ..Sven Gothel2011-04-013-31/+11
|
* Load fonts via File or URL .Sven Gothel2011-04-014-25/+64
|
* Font: +getName / +getAllNames / +isPrintableCharacterSven Gothel2011-04-014-3/+58
|
* Remove HashCode util and its usageSven Gothel2011-04-011-3/+3
|
* integrated typecast into jogamp. treeSven Gothel2011-04-01110-16/+15869
|
* Folded turtle2d into jogl foldersSven Gothel2011-04-0143-0/+5834