Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix/Add: Locator (Handle JarURLConnection and ..) | Sven Gothel | 2011-04-22 | 3 | -31/+77 |
| | | | | | | | | | 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 GLProfile: Order of profiles Hi -> Low | Sven Gothel | 2011-04-22 | 1 | -54/+52 |
| | | | | | | | Ensure returning the highest profile always: all old: GL4bc, GL3bc, GL2, GL2GL3, GL4, GL3, GL2ES2, GLES2, GL2ES1, GLES1 all new: GL4bc, GL3bc, GL2, GL4, GL3, GL2GL3, GLES2, GL2ES2, GLES1, GL2ES1 | ||||
* | GLContext changes: | Sven Gothel | 2011-04-22 | 1 | -12/+32 |
| | | | | | | | | | | | change: putAttachedObject(String) -> attachObject(String) putAttachedObject(int) -> attachObject(int) new: validateCurrent() the 'int' mapped/attached objects are using the IntIntHashMap now | ||||
* | Texture: Change method signatures: Pass GL context object if required ↵ | Sven Gothel | 2011-04-22 | 10 | -170/+145 |
| | | | | | | | | | | | | | | (remove GLContext.getCurrentGL() usage. Using function signatures explicitly require the GL [current] instance clarifies that the context must be current. Removing GLContext.getCurrentGL() reduces TLS access of current thread and hence possible performance hits. The Texture class has been chosen for this conversion [not TextureIO yet], since the enable/bind methods maybe used within a rendering loop. User already 'complained' about lack of current GLContext clarity as well. | ||||
* | Add com.jogamp.graph disclaimer | Sven Gothel | 2011-04-08 | 1 | -0/+33 |
| | |||||
* | Fix TAB: Replace all TAB with 4 spaces | Sven Gothel | 2011-04-08 | 117 | -4701/+4701 |
| | |||||
* | Merge remote-tracking branch 'rsantina/graph' into graph | Sven Gothel | 2011-04-08 | 12 | -12/+830 |
|\ | |||||
| * | Added headers to graph.ui classes | Rami Santina | 2011-04-08 | 2 | -0/+56 |
| | | |||||
| * | Merge: merged with sgothel | Rami Santina | 2011-04-08 | 21 | -429/+726 |
| |\ | |||||
| * | | Added demo GPU Resolution Indep UI - Button; | Rami Santina | 2011-04-08 | 5 | -0/+730 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | RIButton - resolution independent vector based button UINewtDemo01 --> shows a testcase of a button rendered on scene. controls: 1/2: zoom in/out 4/5: increase/decrease shape/text spacing 6/7: increase/decrease corner size 0/9: rotate. | ||||
| * | | TextRenderer - createString exposed; Renderer - added scale(); | Rami Santina | 2011-04-08 | 3 | -1/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | Fix: AABBox setLow/setHigh call resize; removes possible call error | Rami Santina | 2011-04-08 | 1 | -4/+4 |
| | | | |||||
| * | | Added getBounds impl to region, returning AABBox | Rami Santina | 2011-04-08 | 3 | -2/+24 |
| | | | |||||
* | | | destroy: clear vertices/triangle arrays | Sven Gothel | 2011-04-08 | 1 | -2/+2 |
| |/ |/| | |||||
* | | Use GLArrayDataServer to handle shader attributes/data using VBO | Sven Gothel | 2011-04-08 | 3 | -216/+230 |
| | | |||||
* | | Use common constants for shader attributes (needs to be completed) | Sven Gothel | 2011-04-08 | 4 | -5/+18 |
| | | |||||
* | | Fix: Cached GlyphString handling | Sven Gothel | 2011-04-08 | 1 | -20/+62 |
| | | | | | | | | | | | | | | | | | | - Destroy removed ones - Handle overwrite/update on same key - Clarified names (size/limit) - Handle cache limit unlimited (limit := -1) and no cache (limit := 0) - Default cache limit := 256 - Comments | ||||
* | | Fix FBObject: Remove double stencil RB generation; Expose data (size, ..) | Sven Gothel | 2011-04-08 | 1 | -13/+13 |
| | | |||||
* | | FIX: Refactor GLArrayData and all it's implementations/sub-interfaces (VBO ↵ | Sven Gothel | 2011-04-08 | 12 | -174/+404 |
|/ | | | | | | | | | | target, comments, names) VBO target: Allowing ELEMENT_VERTEX_ARRAY w/o corresponding GLSL/Fixed attribute Names: Clarified method named. Comments: Added and fixed comments | ||||
* | Fix: DEBUG field (regression) | Sven Gothel | 2011-04-05 | 2 | -3/+4 |
| | |||||
* | Fix: shaderProgram.program(); glBindAttribLocation() call; ↵ | Sven Gothel | 2011-04-05 | 5 | -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 Gothel | 2011-04-05 | 1 | -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 Gothel | 2011-04-05 | 1 | -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 Gothel | 2011-04-05 | 2 | -5/+16 |
| | | | | and trace pipeline. | ||||
* | Make FBObject more generic, split FBO/tex and depth/stencil attachements. ↵ | Sven Gothel | 2011-04-05 | 1 | -67/+174 |
| | | | | Allow parametrization of each component. | ||||
* | Fix: p1y region set to 0.5, cleaned shader | Rami Santina | 2011-04-02 | 3 | -9/+6 |
| | |||||
* | Jogl build: Rebuild jar files if shaders were updated | Sven Gothel | 2011-04-02 | 1 | -1/+2 |
| | |||||
* | Fix: removing fragments with w=0 is producing dimples with msaa | Rami Santina | 2011-04-02 | 1 | -1/+1 |
| | |||||
* | Fragment Shader enhancement + clean-up; | Rami Santina | 2011-04-02 | 3 | -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 Gothel | 2011-04-01 | 4 | -4/+16 |
| | |||||
* | Font Names: Expose name indices allowing user to pick all names .. | Sven Gothel | 2011-04-01 | 6 | -42/+34 |
| | |||||
* | Graph Unit tests must have NEWT in the name / Also added UI locking | Sven Gothel | 2011-04-01 | 2 | -4/+6 |
| | |||||
* | more text in text demos | Sven Gothel | 2011-04-01 | 2 | -51/+87 |
| | |||||
* | Load fonts via File or URL . | Sven Gothel | 2011-04-01 | 5 | -29/+97 |
| | |||||
* | Font: +getName / +getAllNames / +isPrintableCharacter | Sven Gothel | 2011-04-01 | 5 | -3/+61 |
| | |||||
* | Remove HashCode util and its usage | Sven Gothel | 2011-04-01 | 2 | -206/+3 |
| | |||||
* | integrated typecast into jogamp. tree | Sven Gothel | 2011-04-01 | 111 | -171/+186 |
| | |||||
* | Folded typecast into jogl folder | Sven Gothel | 2011-04-01 | 105 | -0/+0 |
| | |||||
* | Folded turtle2d into jogl folders | Sven Gothel | 2011-04-01 | 181 | -0/+26367 |
| | |||||
* | Newt X11: keyPress/Release must use upper case XP_ values to match VK_ ; Set ↵ | Sven Gothel | 2011-03-30 | 1 | -50/+65 |
| | | | | modifier properly. | ||||
* | ShaderCode: Remove redundant code (Use proper Locator variant) | Sven Gothel | 2011-03-30 | 2 | -16/+5 |
| | |||||
* | JAWTUtil: Just use 'sunToolkitClass' in local block | Sven Gothel | 2011-03-27 | 1 | -6/+3 |
| | |||||
* | Merge remote-tracking branch 'wwalker/2011-03-24-fix-JAWTUtil-NPE' | Sven Gothel | 2011-03-27 | 1 | -2/+2 |
|\ | |||||
| * | Fix NPE caused by refactoring on 2/26/2011. | Wade Walker | 2011-03-26 | 1 | -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/stop | Sven Gothel | 2011-03-27 | 1 | -0/+6 |
|/ | |||||
* | Promote GLDrawableFactory.getOrCreateSharedContext(..) to public. | Sven Gothel | 2011-03-26 | 2 | -1/+101 |
| | |||||
* | Fix unnecessary NPE in case of unrealized GLCanvas (getRequestedCapabilities()) | Sven Gothel | 2011-03-26 | 1 | -1/+1 |
| | |||||
* | Fix Bug460 test | Sven Gothel | 2011-03-26 | 1 | -30/+7 |
| | |||||
* | FPSAnimator: Avoid NPE | Sven Gothel | 2011-03-25 | 1 | -6/+15 |
| | |||||
* | Fix Bug #460 - GLCanvas NPE | Sven Gothel | 2011-03-21 | 2 | -1/+84 |
| |