aboutsummaryrefslogtreecommitdiffstats
path: root/make/scripts
Commit message (Collapse)AuthorAgeFilesLines
* test scriptSven Gothel2011-04-261-1/+1
|
* ShaderState: 'Update' vertexAttribMap on enableSven Gothel2011-04-251-3/+4
| | | | | | | | | | | | | | | | | | ShaderProgram: - shaderCode's HashMap -> HashSet - adding HashSet for attached ShaderCode - link: allow relink, attachShader only if not yet attached - new add(gl, ShaderCode, ..) method, allowing compile/attach pre linkage - remove boxing of integer 'id', use generics style (warnings) - rename: glReplaceShader -> replaceShader, glUseProgram -> useProgram - fix: replaceShader - hashCode _is_ 'id' ShaderCode: - remove boxing of integer 'id', use generics style (warnings) - hashCode _is_ 'id' ShaderUtil: Use generics style (warnings), static names
* test scriptsSven Gothel2011-04-252-5/+15
|
* Add unified support for GL_ARB_debug_output and GL_AMD_debug_output.Sven Gothel2011-04-241-1/+5
| | | | | | | | | | | | | | | | | | | | | | 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.
* ShaderState: Validated impl./state-handling / Added commentsSven Gothel2011-04-221-4/+8
| | | | | | Capable of glBinAttribLocation(..) Proper state check (has program, linked program, ..) for attrib/uniform methods.
* resolve conflictsSven Gothel2011-04-081-0/+1
|
* Added demo GPU Resolution Indep UI - Button;Rami Santina2011-04-081-1/+2
| | | | | | | | | 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.
* Graph Unit tests must have NEWT in the name / Also added UI lockingSven Gothel2011-04-011-3/+3
|
* Add graph shaders and fonts ..Sven Gothel2011-04-011-1/+8
|
* tests for native SWTSven Gothel2011-03-012-2/+9
|
* Fix TestSharedContextListAWT: Use in-thread simple frame construction, which ↵Sven Gothel2011-03-012-0/+2
| | | | somehow solves the problem on Windows having no height
* SWTAccessor: Fix type casting int/long - better long usage determinationSven Gothel2011-02-281-0/+1
|
* SWT/JOGL: Native SWT binding testSven Gothel2011-02-285-6/+9
|
* GLProfile: More Tolerant for missing features; MacOSX: Fix External Context ↵Sven Gothel2011-02-264-7/+51
| | | | / SWT; SWT Test: Distinguish awt/headless and main-thread (osx) swt launch
* Remove reference to the deprecated option noCDC (2)Sylvestre Ledru2011-02-251-17/+2
|
* Remove reference to the deprecated option noCDCSylvestre Ledru2011-02-252-61/+0
|
* Adapt changes of jogamp-env.xmlSven Gothel2011-02-236-0/+0
|
* Inverse build attribute build.noarchive -> build.archiveonSven Gothel2011-02-2310-21/+4
|
* misc cleanup (import,script attributes)Sven Gothel2011-02-223-0/+0
|
* NativeWindow/SWT: Rename SWTMisc -> SWTAccessor; Add to nativewindow.core.jarSven Gothel2011-02-221-2/+3
|
* bump scripts to 6u24Sven Gothel2011-02-2214-31/+48
|
* Win,ARB,GL-2.x: Fix pfd to caps conversion: !pbuffer / CleanupSven Gothel2011-02-111-2/+2
| | | | | | | | | | | This fix enables the configuration win7 64bit chromium2.1 (virtual box 4.0.2 linux host) Querying unsupported pixel format attributes, ie pbuffer, will fail the ARB attribute query functions. Cleanup of SharedResource's, hold all reused flags in win32 impl, ie pbuffer, arb pixelformat, ..
* Fix Win/GDI: getAvailableGLCapabilitiesGDI() add offscreen GLCaps as wellSven Gothel2011-02-102-3/+7
|
* Move implementation private files from com.jogamp.<module>.impl. to ↵Sven Gothel2011-02-093-10/+11
| | | | | | | | | | | | | | | 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.
* Fix GLContext ProcAddressTable Caching: Add sw/hw accel bit to hash value ↵Sven Gothel2011-02-063-5/+15
| | | | due to possible diff function ptr of sw impl (NV/Win7)
* Expose provided SWT jars to SWT_CLASSPATH for test scriptsSven Gothel2011-02-037-7/+11
|
* unit test for Bug464 added (cleaned CRLF/merged version; own text subpackage)Domokun2011-02-011-2/+3
|
* test scripts..Sven Gothel2011-01-312-4/+4
|
* GLCapabilities enhancements: Choosing, All-Available, Data Handling (X11, ↵Sven Gothel2011-01-313-12/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* version bump: j2se 1.6.0_23, ant 1.8.2Sven Gothel2011-01-317-20/+20
|
* scripts: add new testsSven Gothel2010-12-232-8/+13
|
* JOGL/NEWT: Introduce WindowClosingProtocol (solves Bug/Request 444)Sven Gothel2010-12-191-3/+7
| | | | | | | | | | | | | | | | | Similar to JFrame's closing behavior, the following components window closing follow the new WindowClosingProtocol: - GLCanvas - GLJPanel - NEWT Window, GLWindow - NEWT NewtCanvasAWT The implementation obeys either 1) the user value set by this interface, 2) an underlying toolkit set user value (JFrame, ..) 3) or it's default, eg. {@link #DO_NOTHING_ON_CLOSE DO_NOTHING_ON_CLOSE} within an AWT environment. If none of the above determines the operation, this protocol default behavior {@link #DISPOSE_ON_CLOSE DISPOSE_ON_CLOSE} shall be used.
* test scripts .. VersionAppletSven Gothel2010-12-192-3/+5
|
* Fix WGL Bitmap Offscreen DrawableSven Gothel2010-12-164-5/+12
| | | | | | | | | | | In conjunction with the gluegen investigation (gluegen: fbdedff789077b5ffa07811590f771b6f9a4f3a7), on Windows the type LONG is always 32bit, hence we have to declare: typedef __int32 LONG; Besides, WGL_DRAW_TO_PBUFFER_ARB and WGL_DRAW_TO_BITMAP_ARB were missing in the WGL/ARB attribute query, and the latter was not set in caps -> attributes. Added fail safe exception for null chosen caps, if X11/WGL algo fails to determine.
* Cleanup test/junit structure. com.jogamp.test -> com.jogamp.opengl.text; ↵Sven Gothel2010-12-133-111/+111
| | | | Compile posted Issue* Bug* snippets
* Fix API doc: firstUIActionOnProcessSven Gothel2010-12-121-2/+2
|
* GLJPanel/GLPbufferImpl: destroy pbuffer reentrance fix; disable device close ↵Sven Gothel2010-12-122-4/+4
| | | | (X11 error on nvidia); reenable GLJPanel test
* script updatesSven Gothel2010-12-127-12/+49
|
* Add javaws test scriptsSven Gothel2010-12-112-0/+17
|
* JOGL: Proper handling of Read Drawable Support (if not supported), add query.Sven Gothel2010-11-283-6/+7
| | | | | | | | | | | | | | | | | | | Read Drawable feature reflects the make context current API having a seperate read drawable next to the write drawable (default). glXMakeContextCurrent(write, read, ..) On X11 a ready drawable is only supported for GLX >= 1.3, on Windows only if extension WGL_ARB_make_current_read is available, on EGL it's always supported, on OSX not at all. API cleanup GLContext: changes: setGLDrawableRead(GLDrawable) -> setGLReadDrawable(GLDrawable) new: isGLReadDrawableAvailable() new: getGLExtensionsString(); Access qualifier cleanup. GLContextImpl: GLVersionNumber moved out.
* GLCanvas: Fix disableBackgroundErase/X11, make drawable creation more ↵Sven Gothel2010-11-272-9/+11
| | | | | | | | | | | | | | | | robust, doc Java2D/AWT properties. On X11 disableBackgroundErase() must happen before native peer creation, this patch issues it before and after super.addNotify(). Make drawable creation more robust, ie only create a drawable in case the size is > 0x0 and do this check/create at display/paint in case size it not yet determined. Add documentation about Java2D/AWT properties impact on GLCanvas. Make JUnit tests on AWT/GLProfile's more robust, while adding frame validate() ensuring 1st paint will have a size, hence will create the drawable. This is necessary for eg. AMD GPU's and GL context > 3.
* Refined VersionInfo usageSven Gothel2010-11-251-8/+16
|
* test scripts: add new AWT recreation testSven Gothel2010-11-252-2/+5
|
* AnimatorBase: add()/remove() - decorate change of drawables with ↵Sven Gothel2010-11-231-3/+3
| | | | pause()/resume() so it becomes a non critical to multithreading, hence display() or state change needs to be synced
* Add GLJPanel test (works better in jogl-demos though, need to copy)Sven Gothel2010-11-232-4/+6
|
* Fix TestTransformFeedbackVaryingsBug407NEWT GLContext makeCurrent race conditionSven Gothel2010-11-231-2/+2
|
* Fix TestTransformFeedbackVaryingsBug407NEWT GLContext makeCurrent race conditionSven Gothel2010-11-231-2/+2
|
* Scripts: bump to 6u22; distinguish windows test batch x64/x32Sven Gothel2010-11-239-18/+55
|
* JOGL/NEWT: Animator fixesSven Gothel2010-11-211-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Consider use cases with many drawables and no drawables at start, this had to be reflected all over this patch set, implementation, usage and test cases. - GLAnimatorControl - refine API doc / states - add 'void remove(GLAutoDrawable drawable);' - Animator*: - using RecursiveLock 'stateSync' for all actions out of the big synchronized (animator) block: - get status methods (thread, isPaused, ..), hence no more synchronized - display drawables change, utilizing synced ArrayList swap This removes the need for volatiles usage shouldPause/shouldStop within the display method. - added blocking wait for state change for add(GLAutoDrawable)/remove(GLAutoDrawable) method - remove flawed double checked locking in anim thread (pause/idle condition) - thread is now a daemon thread, hence it won't hinder the JVM from shutdown - - Animator use change: - Always resume after pause, except in case of final destroy -> NEWT invalidate / GLCanvas, this considers use cases with many drawables and no drawables at start. - GLDrawableHelper: Don't pause at implicit dispose()
* JOGL/AWT: Fix ~ 2 year old regressions: Choose & Use GraphicsConfiguration ↵Sven Gothel2010-11-184-5/+9
| | | | | | | | | | | | | | for Canvas. ; Adding FSAA test. Canvas/X11: The Canvas GraphicsConfiguraton should be chosen before the native peer is being created. Choosing AWT GraphicsConfiguration (all platforms): Don't filter our capabilities with 'AWTGraphicsConfiguration.setupCapabilitiesRGBABits(capsChosen, gc)', not necessary (see above) and it would remove ourrequired alpha channel. Canvas display(): Don't render if drawable is not realized (yet).