summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Refine some DEBUG code (verbosity)Sven Gothel2011-08-013-9/+19
|
* VBO and Texture Names: Allos (int) < 0 - unusual valid names for some GL impl.Sven Gothel2011-08-013-13/+15
| | | | Turns out some GL impl. use VBO names like 0xa2d67443, which is (int) < 0.
* StateTracker: Map's KeyNotFound value -1 -> 0xffffffff... allowing unusual ↵Sven Gothel2011-08-013-35/+55
| | | | | | | | | | values. Impl -> final. Map's KeyNotFound value -1 -> 0xffffffff Turns out some GL impl. use VBO names like 0xa2d67443, which is (int) < 0. This is now handled in GLBufferStateTracker as well as for the others. Make methods final to restrict 'em.
* Fixed regression of commit 360b86f4b5d0e440863c1749fe990e39fbabc51cSven Gothel2011-08-011-2/+2
|
* graph es2 glsl: #extension OES_standard_derivatives : requireSven Gothel2011-07-312-0/+6
|
* TAB -> SPACESven Gothel2011-07-311-2/+2
|
* ES1 Gears: Don't force fixed function emulationSven Gothel2011-07-311-1/+1
|
* Add ES1 Gears (w/ NEWT startup)Sven Gothel2011-07-312-0/+576
|
* NativeWindow Capabilities: rgb -> 555, allows using low profile devicesSven Gothel2011-07-311-3/+3
| | | | | All GLCaps chooser will pick the highest available pixelformat, so if 32bpp is available rgba8888 will be used anyways.
* Graph Shader: def. GRAPHP to easily change precision, set to mediump; Add ↵Sven Gothel2011-07-316-66/+64
| | | | precision for all vars.
* ruler.fp: Use es2 precision for all variables, otherwise es2 glsl compiler failsSven Gothel2011-07-311-5/+5
|
* FixedFuncUtil: Name/Fix getFixedFuncImpl() -> wrapFixedFuncEmul()Sven Gothel2011-07-312-9/+11
| | | | | | | Fix wrapFixedFuncEmul(): - only wrap if ES2 and (!ES1 || force) - return same profile if ES1 - otherwise throw exception
* GLWindow::main(): show requested/chosen GLCapsSven Gothel2011-07-311-4/+6
|
* GLProfile usage getMinDesktop() -> getMinimum(); WGL/X11 GLCaps: make ↵Sven Gothel2011-07-314-7/+7
| | | | attributes final
* EGL: Set CTX_PROFILE_ES2_COMPAT if ES2; Allow any native device; Don't use ↵Sven Gothel2011-07-314-18/+13
| | | | | | | | | | | | | libGL.so; Cosmetics EGL: Set CTX_PROFILE_ES2_COMPAT if ES2; Allow any native device for EGL - EGLDrawableFactory::getIsDeviceCompatible() -> true always, impl. shall handle all native windowing toolkit layers, if available. Don't use libGL.so - desktop GL library is exclusive for desktop bindings
* GLProfile: Fix exception; Minor ChangesSven Gothel2011-07-311-35/+57
| | | | | | - GL_PROFILE_LIST_MIN_DESKTOP -> GL_PROFILE_LIST_MIN - Fix exception in glAvailabilityToString(), if no profile is available - getMinDesktop() -> getMinimum()
* EGL: Collect all avail EGL caps w/o GLProfile preset ; Tolerate failing ↵Sven Gothel2011-07-312-39/+38
| | | | | | | | | | | | | EGL.eglChooseConfig() ; Cosmetics Collect all avail EGL caps w/o GLProfile preset - pass GLProfile null for collecting all available EGL GLCapabilities, allowing EGLGLCapabilities to set the GLProfile regarding EGLConfig's renderableType. Tolerate failing EGL.eglChooseConfig() - use chooser algo, trying to pick one EGLConfig manually Cosmetic toHexString change
* 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
* NEWT ScreenModes: Add current ScreenMode if none could be collected.Sven Gothel2011-07-311-1/+12
| | | | | | On Linux/ARMv7 (Ubuntu 11.04) it appears that the native RnR methods could not collect ScreenModes. In such case, at least we add the current mode as a fallback. This allows using the current mode information.
* 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>
* adapt to gluegen Platform changeSven Gothel2011-07-281-1/+1
|
* added (c) headerSven Gothel2011-07-281-0/+27
|
* Use GlueGen Platform's OSType enumSven Gothel2011-07-216-31/+31
|
* 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-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