aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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-076-173/+164
| | | | | | | | | | | | | | 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(..)
* Fix NEWT GL ctx/offscreen (GPUMemSec..) tests: Use pbuffer (i.e. hw accel GL ↵Sven Gothel2011-06-261-0/+1
| | | | driver)
* Merge remote-tracking branch 'rsantina/master'Sven Gothel2011-06-264-778/+983
|\
| * 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)
* | Cleanup UITestCase helper, expose test class name via get*TestName() ..Sven Gothel2011-06-261-2/+14
| |
* | Woraround for bug 502: X11/NEWT Stalling due to libX11/XCB Multithreading ↵Sven Gothel2011-06-263-43/+44
| | | | | | | | | | | | | | | | | | bug (libX11 1.4.2, libXCB 1.7; ubuntu 11.04, ..) - https://jogamp.org/bugzilla/show_bug.cgi?id=502 - set the boolean property 'nativewindow.x11.mt-bug' to 'true', indicating the erroneous libX11/libXCB behavior. This will enable extensive X11 locking even in NEWT.
* | X11 Nativewindow/NEWT: X11 Error Handler (JNIEnv query for thread, stack ↵Sven Gothel2011-06-262-35/+95
|/ | | | | | | | | trace), cleanup - X11 Error Handler: if throwing JVM stack trace or fatal JVM error query proper JNIEnv for running thread and attach thread to JVM if necessary. - NEWT/X11: Proper XEvent polling documentation, cleanup window creation event mask
* Minor editing (compile script, X11Window.c - cleanups)Sven Gothel2011-06-121-3/+3
|
* X11/Newt Locking: Clarify dependency of XInitThreads() hackSven Gothel2011-06-122-6/+14
|
* Minor editing/cleanups: code/testSven Gothel2011-06-123-6/+2
| | | | | - Don't call "NativeWindowFactory.initSingleton(true);" after "GLProfile.initSingleton(true);", since it's redundant, the former call issues the removed one.
* Merge remote-tracking branch 'remotes/rsantina/master'Sven Gothel2011-06-1111-76/+97
|\
| * Graph: Remove unused importsRami Santina2011-06-055-5/+0
| |
| * Graph: updated inclass documentationsRami Santina2011-06-058-71/+97
| |
* | TestGLSLShaderState01 PerfTest: 2min timeout / swapInterval 0 / start ↵Sven Gothel2011-06-112-17/+28
| | | | | | | | counter after warmup
* | Relocated SingletonInstance to GlueGen (where a ServerSocket impl. is ↵Sven Gothel2011-06-112-166/+11
| | | | | | | | added). Using ServerSocket in UITestCase for SingletonInstance impl.
* | Utilize GlueGen's platform independent header for stdin.h, gluegen_stdint.h, ↵Sven Gothel2011-06-118-85/+12
| | | | | | | | | | | | | | .. (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-092-21/+710
| | | | | | | | | | | | | | | | | | | | - 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-0819-655/+771
|\|
| * Add Factory for triangulation with base Interface; misc cleanupRami Santina2011-06-0514-35/+140
| | | | | | | | | | | | | | | | | | 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
| |
* | unit test: use class global GLProfileSven Gothel2011-06-071-1/+1
| |
* | import cleanupSven Gothel2011-06-071-1/+0
| |
* | NEWT unit test util, on/offscreen GLContext/NEWT window separationSven Gothel2011-06-075-10/+45
| |
* | Using GlueGen IOUtil (dropped StreamUtil, FileUtil); Public GLReadBufferUtil ↵Sven Gothel2011-06-0721-549/+390
|/ | | | | | | | (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
|
* NEWT/GLContext (unit test): Wait for visibility/realized ; Add clean scriptsSven Gothel2011-05-171-2/+4
|
* GLSL unit tests: cleanup shader state testsSven Gothel2011-05-174-76/+78
|
* FIX graph FBObject usage - 526ea7a3fb579f88a0c0a1e597387aae29d5aa06Sven Gothel2011-05-171-15/+10
|
* Fix/Extend FBObject (API Change): plain init(GL), support multiple ↵Sven Gothel2011-05-176-116/+482
| | | | | | | | | | | | | 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
|
* GLSL UnitTest: Reloc Ruler and make local fields finalSven Gothel2011-05-171-24/+24
|
* JUnit Test: Add 'ruler' testcase using monitor mode's mm/pixel size.Sven Gothel2011-05-163-0/+212
|
* JUnit Tests: Extract utility of creating a NEWT Window w/ GLContext w/o auto ↵Sven Gothel2011-05-164-75/+118
| | | | drawable (NEWTGLContext)
* 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
* Graph/UI-Demo: Use RegionRenderer for region and text, start data/gl ↵Sven Gothel2011-05-095-0/+286
| | | | | | separation (2) Complete commit 77910075c04d4c86aabf12a2853b381f804bf04a, oops, got a fs corruption.