summaryrefslogtreecommitdiffstats
path: root/src/jogl
Commit message (Collapse)AuthorAgeFilesLines
* EGL: Query EGL_RENDERABLE_TYPE, store it in EGLGLCapabilities and test w/ ↵Sven Gothel2011-07-312-9/+93
| | | | | | | | GLProfile compatibility EGLConfig's EGL_RENDERABLE_TYPE determines ES1, ES2 or VG usage (bitfield). We have to store and compare it's value w/ the desired GLProfile to choose a valid one, or just store it.
* GLDrawableFactory::getFactoryImpl(): Only return the EGL factory if profile ↵Sven Gothel2011-07-311-7/+6
| | | | is native ES
* JoglVersion: Add info whether shader-compiler exists or notSven Gothel2011-07-311-0/+2
|
* JOGL: Add GLBase::isGLES2Compatible()Sven Gothel2011-07-314-11/+28
| | | | | Indicates whether this GL object is compatible with OpenGL ES2, i.e. has the extension <code>GL_ARB_ES2_compatibility</code>
* added (c) headerSven Gothel2011-07-281-0/+27
|
* Use GlueGen Platform's OSType enumSven Gothel2011-07-214-0/+4
|
* Fix 'main' invocationSven Gothel2011-07-071-0/+1
|
* Fix SharedResource (SR) InitializationSven Gothel2011-07-073-64/+70
| | | | | | - Catch exceptions in SR thread avoiding deadlock in blocking caller thread - Catch NPE on SR queries to return null if appropriate
* GLProfile: Initialization fix and clarifications ( GLExceptions on n/a ↵Sven Gothel2011-07-074-141/+140
| | | | | | | | | | | | | | profiles ) - GLProfile.initSingleton(boolean) (implicit or explicit) won't throw any exception anymore. Followup 'GLProfile GLProfile.get(..)' calls will throw a GLException, if n/a. Availability maybe queried via GLProfile.isAvailable(..). - GLCapabilties, GLCanvas, GLJPanel: Clarify case where GLException maybe thrown, i.e. no default GLProfile available on default device. - Remove redundant GLProfile.is<ProfileName>Available(..)
* Handle curved triangles overlaps.Rami Santina2011-06-204-853/+973
| | | | | | | | | | subdivde overlaping triangles for the case when 2 triangles intersect either by vextex of Traingle A in Triangle B or an edge in A intersects an edge in B VectorUtil: -added tri2triIntersection test (not optimized) -added seg2segIntersection test (not optimized)
* Added handling for offcurve triangle overlaps.Rami Santina2011-06-142-435/+520
| | | | | | | subdivde overlaping triangles for the case of vertex inside a off-curve boundary triangle. added vertex in triangle test (using barycentric coordinates)
* Merge remote-tracking branch 'remotes/rsantina/master'Sven Gothel2011-06-119-74/+96
|\
| * Graph: Remove unused importsRami Santina2011-06-054-4/+0
| |
| * Graph: updated inclass documentationsRami Santina2011-06-057-70/+96
| |
* | Utilize GlueGen's platform independent header for stdin.h, gluegen_stdint.h, ↵Sven Gothel2011-06-111-17/+2
| | | | | | | | | | | | | | .. (remove local copy) - Use them for gluegen code generation - Use them for native compilation (cc)
* | Simplify and fix GL2GL3 usage (save/restore)Sven Gothel2011-06-091-28/+56
| |
* | GLBuffers fix ; GL imageSizeInBytes fix / unit tests.Sven Gothel2011-06-091-21/+391
| | | | | | | | | | | | | | | | | | | | - Moved implementation of prev GL imageSizeInBytes(..) -> GLBuffers.sizeof() for all GL profiles - GLBuffers.*: Added missing formats and types (GL2.1, GL3.3 and GL4.1) - GLBuffers.sizeof(): Fail fast if format/type is unhandled, or alignment invalid - Added unit test for GLBuffers.sizeof()
* | Merge remote-tracking branch 'rsantina/master'Sven Gothel2011-06-0814-650/+766
|\|
| * Add Factory for triangulation with base Interface; misc cleanupRami Santina2011-06-059-30/+135
| | | | | | | | | | | | | | | | | | CDTriangulation moved to impl (jogamp.graph), where additional triangulations or a wrapper to GLU triangulation can be added to triangulator. TWO_PASS_RENDERING renamed to VBAA (algorithm name) misc comments cleanups
| * Fix: transform to Quadratic; Refactor method namesRami Santina2011-06-053-528/+536
| |
| * Font and TypecastRender generate array of OutlineShapes instead of Path2DRami Santina2011-06-026-95/+98
| | | | | | | | GlyphShape and GlyphString use only OutlineShapes
* | Locator moved to GlueGen's IOUtil (gluegen ↵Sven Gothel2011-06-084-187/+12
| | | | | | | | a87c56c95099de5b6cbc9bd8bf6f1924a3dd6387)
* | Locator Util: Clarify API doc a bitSven Gothel2011-06-081-14/+14
| |
* | import cleanupSven Gothel2011-06-071-1/+0
| |
* | Using GlueGen IOUtil (dropped StreamUtil, FileUtil); Public GLReadBufferUtil ↵Sven Gothel2011-06-0712-275/+363
|/ | | | | | | | (screenshot etc) and GLPixelStorageModes - Using GlueGen IOUtil, dropping StreamUtil and FileUtil - Public (util) GLReadBufferUtil for screenshots and slow r2t (AWT less), as well as GLPixelStorageModes
* Remove implicit for loops reduces temp objectsRami Santina2011-05-217-15/+19
|
* Fix: vertex in loop test; using crossing methodRami Santina2011-05-213-79/+25
| | | | | Changed algo for in/out test of vertex wrt arbitrary polygon to crossing test since angle based is shown prune to precision errors
* Fix ShaderProgram double destroy()Sven Gothel2011-05-171-2/+4
|
* FIX graph FBObject usage - 526ea7a3fb579f88a0c0a1e597387aae29d5aa06Sven Gothel2011-05-171-15/+10
|
* Fix/Extend FBObject (API Change): plain init(GL), support multiple ↵Sven Gothel2011-05-171-116/+197
| | | | | | | | | | | | | attachTexture2D(..) (MRT) w/ tex units - plain initialization via init(GL) - dedicated texture2D color buffer attachement attachTexture2D(..) w/ tex units (<GL_MAX_TEXTURE_UNITS), which may happen up to max GL_MAX_COLOR_ATTACHMENTS to support MRT (multiple render targets) - more API doc - FBO/MRT/GLSL unit test w/ using 2 shader (decompose / compose)
* JOGL/GLDebug/GLTrace: Gluegen/BuildComposablePipeline: print arguments in ↵Sven Gothel2011-05-171-6/+10
| | | | debug pipe; common param print
* Fix: GLSLArrayHandler (data has no location); Fix ShaderState (switch ↵Sven Gothel2011-05-172-11/+17
| | | | program: set prev. !inUse)
* ShaderProgram: useProgram(..) -> publicSven Gothel2011-05-171-2/+2
|
* Fix ShaderState useProgram() case: on && program not linked (yet)Sven Gothel2011-05-161-3/+7
|
* Graph: Add comments 'n questions (FIXME?)Sven Gothel2011-05-111-8/+15
|
* Graph: getWinding(ArrayList<Vertex> vertices) test; minor renamingSven Gothel2011-05-104-6/+10
|
* Graph/Loop: More readable/verbose invert case; using Winding enum; ttf ↵Sven Gothel2011-05-104-26/+49
| | | | reader: Adding debug dump of font direction hint
* Fix: glyph outline orientation with the removal of inversionRami Santina2011-05-103-3/+17
|
* Loop: Fix invert; GlyphString/createRegion: Remove unnecessary on-the-fly ↵Sven Gothel2011-05-093-26/+50
| | | | object creation
* TypecastRenderer: Avoid -y direction and later y-flipping / FIXME: math must ↵Sven Gothel2011-05-081-17/+17
| | | | be updated .. Rami ?
* Graph: whitespace ..Sven Gothel2011-05-081-3/+2
|
* Graph/GLyph*: Add static factory method for non Renderer creation,Sven Gothel2011-05-082-34/+83
| | | | separating text->OutlineShape and OutlineShape->Region step.
* 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
|\