aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
Commit message (Collapse)AuthorAgeFilesLines
* Added headers to graph.ui classesRami Santina2011-04-082-0/+56
|
* Merge: merged with sgothelRami Santina2011-04-083-7/+9
|\
| * Use GLArrayDataServer to handle shader attributes/data using VBOSven Gothel2011-04-081-1/+3
| |
| * FIX: Refactor GLArrayData and all it's implementations/sub-interfaces (VBO ↵Sven Gothel2011-04-082-6/+6
| | | | | | | | | | | | | | | | | | | | target, comments, names) VBO target: Allowing ELEMENT_VERTEX_ARRAY w/o corresponding GLSL/Fixed attribute Names: Clarified method named. Comments: Added and fixed comments
* | Added demo GPU Resolution Indep UI - Button;Rami Santina2011-04-085-0/+730
|/ | | | | | | | | RIButton - resolution independent vector based button UINewtDemo01 --> shows a testcase of a button rendered on scene. controls: 1/2: zoom in/out 4/5: increase/decrease shape/text spacing 6/7: increase/decrease corner size 0/9: rotate.
* Fix: shaderProgram.program(); glBindAttribLocation() call; ↵Sven Gothel2011-04-051-5/+8
| | | | | | | | | | | | 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
* Rendered: +enable(GL, bool) ; dumpFontNames..Sven Gothel2011-04-012-3/+11
|
* Font Names: Expose name indices allowing user to pick all names ..Sven Gothel2011-04-011-5/+6
|
* Graph Unit tests must have NEWT in the name / Also added UI lockingSven Gothel2011-04-012-4/+6
|
* more text in text demosSven Gothel2011-04-012-51/+87
|
* Folded turtle2d into jogl foldersSven Gothel2011-04-0115-0/+1685
|
* Promote GLDrawableFactory.getOrCreateSharedContext(..) to public.Sven Gothel2011-03-261-0/+100
|
* Fix Bug460 testSven Gothel2011-03-261-30/+7
|
* Fix Bug #460 - GLCanvas NPESven Gothel2011-03-211-0/+80
|
* Revert Gears: Remove static main, since junit tries to load references ↵Sven Gothel2011-03-051-44/+0
| | | | (AWT); Remove static init as well
* junit Gears: remove AWT GLCanvas from importSven Gothel2011-03-051-3/+2
|
* Sync Gears (jogl-demos)Sven Gothel2011-03-041-5/+66
|
* Tolerate pending/lazy native context creation at 1st makeCurrent (OSX).Sven Gothel2011-03-011-14/+29
| | | | This allows SWT on OSX to work properly.
* Fix TestSharedContextListAWT: Use in-thread simple frame construction, which ↵Sven Gothel2011-03-012-10/+11
| | | | somehow solves the problem on Windows having no height
* fix test - dont use GLAutoDrawable.invoke(boolean wait, GLRunnable glRunnable)Sven Gothel2011-02-281-10/+8
| | | | for window locking calls, ie window changes. The GLRunnable list is executed while window is locked.
* unit tests: Gears, TestGearsNEWT, WindowImplAccessSven Gothel2011-02-283-2/+31
| | | | | | | | | Gears (add cursor rotation) TestGearsNEWT (add decoraction toggle 'd') WindowImplAccess NEWT Closing tests .. programmatical close on EDT, which simulates 1:1 native closing operation.
* Remove TestSWT01GLn hacking, see TestSWT02GLnSven Gothel2011-02-281-82/+0
|
* SWT/JOGL: Native SWT binding testSven Gothel2011-02-281-0/+221
|
* Attempt to analyze failed AWT UI tests, where no paint is being issued to ↵Sven Gothel2011-02-262-11/+19
| | | | GLCanvas.
* Code cleanup: override, imports, StringBuilder, ..Sven Gothel2011-02-261-1/+1
|
* Fix bug 473: Override on implementations with 1.5Andy Brown2011-02-255-18/+18
| | | | | | | | | | Using @Override on implementations of interface methods wasn't introduced until Java 1.6. After changing the compliance level to 1.5 in Eclipse, it reports 23 errors. This fix comments out the annotations rather than deleting them altogether thinking it may be easier if JOGL ever targets 1.6 in the future.
* Avoid NPE, incr. test poll, ..Sven Gothel2011-02-252-2/+3
|
* misc cleanup (import,script attributes)Sven Gothel2011-02-221-5/+0
|
* NativeWindow/SWT: Rename SWTMisc -> SWTAccessor; Add to nativewindow.core.jarSven Gothel2011-02-221-14/+111
|
* Cleanup NEWT MainThread, using new AWTEDTUtil impl. / Sync AWTCanvas with ↵Sven Gothel2011-02-221-2/+0
| | | | | | | | | | GLCanvas changes Cleanup NEWT MainThread, using new AWTEDTUtil impl. - Allow simple singleton AWTEDTUtil to be used for AWTDisplay and more .. Sync AWTCanvas with GLCanvas changes - Latest GLCanvas changes around addNotify() had to be synced
* Move implementation private files from com.jogamp.<module>.impl. to ↵Sven Gothel2011-02-093-4/+4
| | | | | | | | | | | | | | | jogamp.<module> (2/2) - edit files - com.jogamp.opengl.impl -> jogamp.opengl - com.jogamp.opengl.util.glsl.fixedfunc.impl -> jogamp.opengl.util.glsl.fixedfunc - com.jogamp.nativewindow.impl -> jogamp.nativewindow - com.jogamp.newt.impl -> jogamp.newt This sorts implementation details from the top level, ie skipping the public 'com', allowing a better seperation of public classes and implementation details and also reduces strings. This approach of public/private seperation is also used in the OpenJDK.
* Move implementation private files from com.jogamp.<module>.impl. to ↵Sven Gothel2011-02-081-0/+0
| | | | | | | | | | | | | | | jogamp.<module> (1/2) - rename task - com.jogamp.opengl.impl -> jogamp.opengl - com.jogamp.opengl.util.glsl.fixedfunc.impl -> jogamp.opengl.util.glsl.fixedfunc - com.jogamp.nativewindow.impl -> jogamp.nativewindow - com.jogamp.newt.impl -> jogamp.newt This sorts implementation details from the top level, ie skipping the public 'com', allowing a better seperation of public classes and implementation details and also reduces strings. This approach of public/private seperation is also used in the OpenJDK.
* Fix: Ensure proper resource initialization (display call)Sven Gothel2011-02-031-35/+34
|
* Reloc TestBug463ScaleImageMemoryAWT.java to common jogl/gluSven Gothel2011-02-021-1/+1
|
* Merge remote branch 'wwalker/bug_461_offscreen_supersampling' into pulledSven Gothel2011-02-021-0/+173
|\
| * Add unit test for bug 461, offscreen supersamplingWade Walker2011-01-261-0/+173
| | | | | | | | | | | | | | This is a unit test for a bug that occurs on Windows when the stencil buffer is turned on for an offscreen buffer. This bug doesn't appear on CentOS 5.4, or in JOGL 1.1.1.a.
* | Merge remote branch 'wwalker/bug_463_gluScaleImage_memory' into pulledSven Gothel2011-02-021-0/+114
|\ \
| * | Fix bug 463 where gluScaleImage consumes all memoryWade Walker2011-01-251-0/+114
| |/ | | | | | | | | | | | | | | Changes the Type_Widget.java constructor to allocate a normal buffer instead of a direct buffer. Apparently JVMs can't allocate small direct buffers efficiently, and since Type_Widget is called inside tight loops millions of times, we can't afford to do it this way. This commit restores it to how it was in JOGL 1.
* | Merge remote branch 'wwalker/bug_459_shader_compilation' into pulledSven Gothel2011-02-021-0/+162
|\ \
| * | Add test case for bug 459 shader compile failureWade Walker2011-01-161-0/+162
| |/ | | | | | | | | | | | | This commit adds a test case for bug 459, where compilation of a vertex buffer fails on Windows when the stencil cap is requested. This bug is Windows-only; it works on Mac OS X and CentOS.
* | Merge remote branch 'wwalker/bug_417' into pulledSven Gothel2011-02-023-1/+147
|\ \
| * | Fixed to work properly in the Ant junit.run.* taskswwalker2011-01-041-10/+7
| | | | | | | | | | | | | | | | | | Fixed the texture load to come from a resource stream so it'll work when run from inside a JAR by the junit.run.* Ant tasks. Also modified the test JAR build step to include any resource files in the test source code directory.
| * | Added unit test for bug 417; bug already gonewwalker2010-12-313-1/+150
| |/ | | | | | | | | | | I added a unit test for bug 417 (error loading grayscale texture with TextureIO). The test works fine, so the bug must have been fixed unknowingly after submission.
* | Fixed bug 450 (unrendered right side of GLJPanel in Gears)wwalker2011-02-021-0/+163
| | | | | | | | | | | | | | | | This bug caused the right sides of GLJPanels not to render if the panel is wider than its height (all pixels with x > height would be black). Wrote a unit test to sense the problem by reading an unrendered pixel back out of the frame, then fixed the typo in GLDrawableFactoryImpl.java that caused the error.
* | Fix GLProfile tests: default is max-fixed-pipeline, use GL2 insteadSven Gothel2011-02-023-43/+18
| |
* | Fix SWT tests in due to changes, minor linux fixSven Gothel2011-02-023-0/+439
| |
* | Fix: Missed package renameSven Gothel2011-02-012-2/+58
| |
* | unit test for Bug464 added (cleaned CRLF/merged version; own text subpackage)Domokun2011-02-013-0/+416
| |
* | junit glu: proper path and NOUI class suffixSven Gothel2011-02-012-0/+59
| |
* | GLCapabilities enhancements: Choosing, All-Available, Data Handling (X11, ↵Sven Gothel2011-01-312-13/+22
|/ | | | | | | | | | | | | | | | | | | | | | | | | | WGL and EGL) - GLDrawableFactory exposes: public final List/*GLCapabilitiesImmutable*/ getAvailableCapabilities(AbstractGraphicsDevice device) - GLCapabilities platform specialization containing native ids (XVisual/FBConfig, PFD, EGLConfig, ..) - GLCapabilities setPbuffer(true) disables onscreen - Capabilities setOnscreen(true) disables pbuffer - Capabilities implements Comparable - *Capabilities: enhanced 'toString(..)' - CapabilitiesChooser.chooseCapabilities: 'CapabilitiesImmutable[] available' -> 'List /*<CapabilitiesImmutable>*/ available' - VersionApplet, GLCanvas.main, GLWindow.main, GLProfile/debug: dumps all available GLCaps - WGLGLCapabilities: proper non-displayeble (pbuffer) pfdid handling TODO: ES/EGL test with emulation