aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
Commit message (Collapse)AuthorAgeFilesLines
* Use GL2ES1 profile (no emul) - complete commit ↵Sven Gothel2011-08-011-1/+1
| | | | a7fcfad44545e7b3f7e2f4176349588dc26d9070
* GearsGL2ES1: Fix ES1 usage FRONT -> FRONT_AND_BACK ; Use GL2ES1 profile (no ↵Sven Gothel2011-08-012-12/+7
| | | | emul)
* NEWT test: rgb == 555 is okSven Gothel2011-08-011-3/+3
|
* 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
|
* 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-311-1/+1
| | | | | | | Fix wrapFixedFuncEmul(): - only wrap if ES2 and (!ES1 || force) - return same profile if ES1 - otherwise throw exception
* GLProfile: Initialization fix and clarifications ( GLExceptions on n/a ↵Sven Gothel2011-07-072-32/+24
| | | | | | | | | | | | | | 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)
* Cleanup UITestCase helper, expose test class name via get*TestName() ..Sven Gothel2011-06-261-2/+14
|
* Minor editing/cleanups: code/testSven Gothel2011-06-122-2/+0
| | | | | - 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-112-2/+1
|\
| * Graph: Remove unused importsRami Santina2011-06-051-1/+0
| |
| * Graph: updated inclass documentationsRami Santina2011-06-051-1/+1
| |
* | 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.
* | GLBuffers fix ; GL imageSizeInBytes fix / unit tests.Sven Gothel2011-06-091-0/+319
| | | | | | | | | | | | | | | | | | | | - 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-085-5/+5
|\|
| * Add Factory for triangulation with base Interface; misc cleanupRami Santina2011-06-055-5/+5
| | | | | | | | | | | | | | | | | | 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
* | unit test: use class global GLProfileSven Gothel2011-06-071-1/+1
| |
* | 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-079-274/+27
|/ | | | | | | | (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
* 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/Extend FBObject (API Change): plain init(GL), support multiple ↵Sven Gothel2011-05-175-0/+285
| | | | | | | | | | | | | 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)
* 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)
* 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.
* Graph/UI-Demo: Use RegionRenderer for region and text, start data/gl separationSven Gothel2011-05-085-164/+80
|
* Graph/Tests: Adapt to latest commits ..Sven Gothel2011-05-0812-70/+74
|
* Added nonuniform weight impl; misc enhancements/cleanupsRami Santina2011-05-0214-43/+94
| | | | | | | | | | Seperate texcoords from shaprness Added NonUniform weight shader impl for region impl only (not text) Refactor p1y --> weight (equiv to nurbs weight) cleanup shader uniforms (rename/remove unneeded) Enhanced blending of text GPURegionNewtDemo01 - added weight W/Q to manipulate weight refactor r2t --> vbaa (matching algorithm name)
* UITest AWTRobot: Use AWT double click TOSven Gothel2011-05-011-2/+20
|
* UI Tests/Robot: Attempt to stabilize UI tests (focus/input)Sven Gothel2011-05-013-160/+241
| | | | | | | | Focus: Always programmatic, clear global focus state upfront Key/Mouse Input: Retry w/ optional focus request if lost .. Dropped redundant robot delays, ie between keypress/release.
* UI Unit Tests: OO rework of EventCountAdapterSven Gothel2011-05-019-26/+177
| | | | | | Key/Mouse: Track 'pressed' state Focus: Simplify 'focused' state tracking
* UI Unit Tests: Add test name to log and singleton lock, better log outputSven Gothel2011-05-012-15/+29
|
* GLContext GLDebugMessages: Add synchronous status/dumpStack; Remove length ↵Sven Gothel2011-04-282-23/+32
| | | | | | | | in aliased glDebugMessageInsert. - GLDebugMessages add synchronous status - defaults to true - GLContext/GLDebugMessages add dumpStack() if jogl.debug.DebugGL is set - Remove param length in aliased glDebugMessageInsert.
* GLRunnable Injection Thread Test: Slow down injection to 10HzSven Gothel2011-04-282-3/+3
|
* Unit Test Framework SingletonInstance: setup file unlock/delete asapSven Gothel2011-04-281-19/+31
|
* Fix glsl unit tests: NV needs to have explicitly turn off vsync / Fix 'sed' ↵Sven Gothel2011-04-284-19/+32
| | | | havoc: gcu_ -> mgl_ uniform names
* Graph Demos: Add F4 key to exit; Proper exit sequence w/ animator.stop() ↵Sven Gothel2011-04-266-18/+108
| | | | after window is destroyed to exit the JVM
* ShaderState: Add 'ownUniform()/ownAttribute()'; rename glFunction -> ↵Sven Gothel2011-04-267-100/+101
| | | | | | | | | | | | | | function; switch program enh. ; Graph lifecycle Add 'ownUniform()/ownAttribute()' allowing to reset all bound uniforms/attributes, not just active ones plus handling the lifecycle of the owned attributes (destroy). This simplifies the lifecycle of all shader attributes. Rename glFunction -> function .. well, the GL attribute marks them GL related already Switch program enhancement. If switching to new program (unlinked), issue glBindAttributeLocation .. Graph lifecycle cleanup using the above ..
* Newt Window: Remove 'invalidate()' method, only 'destroy()' is required (and ↵Sven Gothel2011-04-2634-151/+110
| | | | | | | makes sense) - WindowImpl/GLWindow: Cleanup destroy code .. - Tests: sync / remove FPS stderr print
* Use less updated animator fpsSven Gothel2011-04-251-5/+7
|
* Fix GLSL Shader tests ..Sven Gothel2011-04-253-89/+146
|
* FPSCounter def to 5*60 frames (each 5s at 60Hz) ; Test: each 1sSven Gothel2011-04-2526-74/+105
|
* Graph: Fix AMD shader complain (version) ; No Attributes in fragment program ↵Sven Gothel2011-04-242-1/+3
| | | | ; Disable FPS draw at start
* Fix junit tests: Enable FPSCounter (missing from ↵Sven Gothel2011-04-245-1/+10
| | | | ea819ff768d507c37a981c1ab0bdc0cad32c6a87)
* Misc cleanup, strings etcSven Gothel2011-04-241-2/+0
|
* Add unified support for GL_ARB_debug_output and GL_AMD_debug_output.Sven Gothel2011-04-242-0/+409
| | | | | | | | | | | | | | | | | | | | | | If GL_ARB_debug_output is not available, but GL_AMD_debug_output exist, fallback to the latter, offering generic aliased methods translating the delta (AMD category <-> ARB source/type). Generic aliased methods reside in GLContext* Enable/Disable via GLContext and GLAutoDrawable. To enable the GLDebugOutput feature GLContext.enableGLDebugMessage(true) or GLContext.setContextCreationFlags(GLContext.CTX_OPTION_DEBUG) shall be called _before_ context creation via GLContext.makeCurrent()! In case GLAutoDrawable is being used, GLAutoDrawable.setContextCreationFlags(GLContext.CTX_OPTION_DEBUG) shall be issued before context creation via GLContext.makeCurrent()!. After context creation, the GLDebugOutput feature may be enabled or disabled at any time using this method. Verify both unit tests for usability.