Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 3 | -144/+121 |
| | | | | | | | | | | | | | | (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 | 83 | -3537/+3537 |
| | |||||
* | Merge remote-tracking branch 'rsantina/graph' into graph | Sven Gothel | 2011-04-08 | 7 | -12/+44 |
|\ | |||||
| * | Merge: merged with sgothel | Rami Santina | 2011-04-08 | 18 | -422/+717 |
| |\ | |||||
| * | | 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 | 2 | -215/+227 |
| | | |||||
* | | 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 | 10 | -168/+398 |
|/ | | | | | | | | | | 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 | 4 | -8/+24 |
| | | | | | | | | | | | | 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 | 2 | -1/+5 |
| | |||||
* | Font Names: Expose name indices allowing user to pick all names .. | Sven Gothel | 2011-04-01 | 5 | -37/+28 |
| | |||||
* | 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/+15838 |
| | |||||
* | Folded turtle2d into jogl folders | Sven Gothel | 2011-04-01 | 61 | -0/+8844 |
| | |||||
* | ShaderCode: Remove redundant code (Use proper Locator variant) | Sven Gothel | 2011-03-30 | 2 | -16/+5 |
| | |||||
* | 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 | 1 | -1/+1 |
| | |||||
* | Fix unnecessary NPE in case of unrealized GLCanvas (getRequestedCapabilities()) | Sven Gothel | 2011-03-26 | 1 | -1/+1 |
| | |||||
* | FPSAnimator: Avoid NPE | Sven Gothel | 2011-03-25 | 1 | -6/+15 |
| | |||||
* | Fix Bug #460 - GLCanvas NPE | Sven Gothel | 2011-03-21 | 1 | -1/+4 |
| | |||||
* | Fix Bug #480 (attempt) - ATI + WinXP: make context current for ARB PFD ↵ | Sven Gothel | 2011-03-21 | 5 | -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 > 1 | Sven Gothel | 2011-03-20 | 4 | -7/+5 |
| | |||||
* | Refine WGL_PIXEL_TYPE_ARB and GLX_RENDER_TYPE: | Sven Gothel | 2011-03-20 | 4 | -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) operation | Sven Gothel | 2011-03-19 | 1 | -19/+23 |
| | | | | | - Using new IntIntHashMap clone() operation - Comment: Tuning IntIntHashMap capacity to avoid rehash | ||||
* | Add @Override | Sven Gothel | 2011-03-19 | 1 | -0/+3 |
| | |||||
* | GLStateTracker code review: | Michael Bien | 2011-03-05 | 1 | -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 | ||||
* | Fix MemoryObject: Remove unnecessary and slow hash collision action | Sven Gothel | 2011-03-05 | 1 | -23/+3 |
| | |||||
* | Fix GLStateTracker PixelStore popAttrib(): Only write new state if ↵ | Sven Gothel | 2011-03-05 | 1 | -9/+19 |
| | | | | corresponding push was of ClientPixelStore type | ||||
* | JOGL OSX: Cleanup imports/override | Sven Gothel | 2011-03-01 | 2 | -5/+4 |
| | |||||
* | Animator: Cleanup and better DEBUG info | Sven Gothel | 2011-02-28 | 2 | -6/+9 |
| | |||||
* | JOGL GLDrawableFactory: Expose experimental method createProxySurface(..) ↵ | Sven Gothel | 2011-02-28 | 6 | -0/+64 |
| | | | | | | for new windowing system ad-hoc development. WARNING: This method may change ro be removed over time! |