summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* ES2 NEWT Tests: GearsES2/RedSquareES2 - Don'w use AWTRobot if AWT is n/a (Ji ↵Sven Gothel2013-08-102-2/+8
| | | | Gong manual testing)
* MouseEvent API doc: Add W3C PointerEvent ReferenceSven Gothel2013-08-101-0/+3
|
* GLFBODrawableImpl.initialize(): Unrealize when already unrealized shall not ↵Sven Gothel2013-08-101-1/+8
| | | | throw an exception - only dump DEBUG info!
* GLDrawableFactory: Expose createDummyDrawable(..) / GLDrawableFactoryImpl: ↵Sven Gothel2013-08-102-11/+44
| | | | | | Make impl. methods final. createDummyDrawable(..) is useful for efficient shared context w/o actually rendering to this dummy drawable's framebuffer
* GLContext: Refine API doc (CONTEXT_NOT_CURRENT.. values) / Exception messageSven Gothel2013-08-102-5/+5
|
* FFMPEGMediaPlayer: Cleanup AudioPusher 'usage', i.e. disabled for now ↵Sven Gothel2013-07-201-64/+71
| | | | (subject to be removed).
* FFMPEGMediaPlayer: Fix yuv stored in alpha shader decode on ES2 and GL2Xerxes Rånby2013-07-201-8/+11
| | | | | Regression introduced by: dba2faf8520a43a809eb756869c6c97a0a2ef2cd
* FFMPEGPlayer Audio Sink Refactoring ..Sven Gothel2013-07-1916-346/+1219
| | | | | | | | | | | | | | | | - AudioSink w/ AudioFrame and formats public - ALAudioSink uses a circular buffer now, hence relaxes the one-threaded player mode - FFMPEGMediaPlayer uses multiple audio frames (equal to the ALAudioSink number) and wraps data to NIO buffer w/o copy. - FFMPEGMediaPlayer audio threading currently disabled: distorted sound Seems that the ALAudioSink's circular buffer usage is good enough for now. - Verbosity only w/ DEBUG flag - New SyncedRingbuffer for effcient synced buffering
* Merge remote-tracking branch 'petr-s/pr744'Sven Gothel2013-07-174-21/+223
|\
| * Fix Bug 744: Added support of RLE encoded .tgaPetr Skramovsky2013-07-174-21/+223
| |
* | Merge remote-tracking branch 'xranby/FFMPEGMediaPlayer'Sven Gothel2013-07-177-34/+537
|\ \
| * | ALAudioSink: Reduce exessive CPU usage caused by polling alGetSourcei.Xerxes Rånby2013-07-161-0/+8
| | | | | | | | | | | | Signed-off-by: Xerxes Rånby <[email protected]>
| * | FFMPEGMediaPlayer: Only instance ALAudioSink if JOAL is found on the classpath.Xerxes Rånby2013-07-161-7/+15
| | | | | | | | | | | | Signed-off-by: Xerxes Rånby <[email protected]>
| * | AudioSink: interface add isAudioSinkAvailableXerxes Rånby2013-06-245-6/+16
| | | | | | | | | | | | Signed-off-by: Xerxes Rånby <[email protected]>
| * | ALAudioSink: Fill buffers before sourcing them.Xerxes Rånby2013-06-241-1/+0
| | | | | | | | | | | | | | | | | | Fixes OpenAL invalid argument error when trying to fill buffers. Signed-off-by: Xerxes Rånby <[email protected]>
| * | Merge remote-tracking branch 'xranby-github/FFMPEGMediaPlayer'Xerxes Rånby2013-06-247-34/+512
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGDynamicLibraryBundleInfo.java src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGMediaPlayer.java Signed-off-by: Xerxes Rånby <[email protected]>
| | * | ALAudioSink: Buffer and playback audio data.Xerxes Rånby2013-06-201-22/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | There is still something wrong with the buffering part; OpenAL will complain at runtime. Signed-off-by: Xerxes Rånby <[email protected]>
| | * | FFMPEGMediaPlayer: Add AudioSink interface.Xerxes Rånby2013-06-195-55/+235
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use ALAudioSink when available and fallback to JavaSoundAudioSink when JOAL are not found on classpath. Java Sound playback moved from FFMPEGMediaPlayer into JavaSoundAudioSink. Signed-off-by: Xerxes Rånby <[email protected]>
| | * | Merge remote-tracking branch 'xranby/github/FFMPEGMediaPlayer-audio' into ↵Xerxes Rånby2013-06-193-33/+273
| | |\ \ | | | | | | | | | | | | | | | FFMPEGMediaPlayer
| | | * | FFMPEGMediaPlayer: fix audio pts for varying audio frame format.Xerxes Rånby2013-05-121-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Xerxes Rånby <[email protected]>
| | | * | FFMPEGMediaPlayer: Limit video sync delay to 47ms in order to fix audio ↵Xerxes Rånby2013-05-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | buffer underrun. Signed-off-by: Xerxes Rånby <[email protected]>
| | | * | FFMPEGMediaPlayer: Poor mans audio/video sync.Xerxes Rånby2013-05-122-18/+130
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Xerxes Rånby <[email protected]>
| | | * | FFMPEGMediaPlayer: blocking Java Sound outputXerxes Rånby2013-05-102-20/+23
| | | | |
| | | * | partial implementation of Java Sound outputXerxes Rånby2013-05-101-0/+51
| | | | |
| | | * | FFMPEGMediaPlayer: Add updateSound callback for passing decoded jni audio ↵Xerxes Rånby2013-05-102-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | frames to java. Signed-off-by: Xerxes Rånby <[email protected]>
| | | * | FFMPEGMediaPlayer: Workaround forward seek delay caused by video sync.Xerxes Rånby2013-05-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevent the video sync code to delay a frame more than 1 second. Signed-off-by: Xerxes Rånby <[email protected]>
| | | * | FFMPEGMediaPlayer: Workaround dropped video frames while decoding audio.Xerxes Rånby2013-05-101-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A temporal solution before we implement video decode and frame cache in a separate thread. Signed-off-by: Xerxes Rånby <[email protected]>
| | | * | FFMPEGMediaPlayer: Decode all frames inside video packet.Xerxes Rånby2013-05-101-5/+29
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Xerxes Rånby <[email protected]>
| | | * | FFMPEGMediaPlayer: Lookup decoded audio data_size using ↵Xerxes Rånby2013-05-102-9/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | av_samples_get_buffer_size Signed-off-by: Xerxes Rånby <[email protected]>
| | | * | FFMPEGMediaPlayer: Use the Audio codec to decode audio. Also prevent double ↵Xerxes Rånby2013-05-101-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | free of packet memory. Signed-off-by: Xerxes Rånby <[email protected]>
| | | * | FFMPEGMediaPlayer: Decode audio frames.Xerxes Rånby2013-05-101-7/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Re-enable code to decode audio frame. Throw a runtime exception for unimplemented sp_avcodec_decode_audio3 fallback. Fix pts calculation to prevent division by zero caused by type truncation. Fix aPTS calculation to use valid data. Hide pts & aPTS info while running non-verbose. Signed-off-by: Xerxes Rånby <[email protected]>
* | | | | NativeWindow API Doc: Fix layout / Add version.Sven Gothel2013-07-171-55/+39
| |_|_|/ |/| | |
* | | | Remedy for Bug 782: Issue Debug.initSingleton() or Debug.debug(..) before ↵Sven Gothel2013-07-1722-40/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | calling 'PropertyAccess.isPropertyDefined(propName, default)' through Debug class. Calling 'Debug.isPropertyDefined(propName, default)' may be 'optimized' to 'PropertyAccess.isPropertyDefined(propName, default)', which would skip the modules Debug's class initialization. Iff that happens, an AccessControlException may happen, due to requesting an insecure property, since modules own Debug class has not been added it's trusted prefixes from within it's init block yet. This seems to be a bug of the JVM .. to me, however .. the above description is the only able to explain the issue at hand. +++ Fix calls Debug class own static methods, either Debug.initSingleton() or Debug.debug(), before calling 'isPropertyDefined(propName, default)'. +++ Also mark Debug class static methods final! +++
* | | | GLSL core fixes - texture2D and varying/attributes/.. preprocessingSven Gothel2013-07-172-1/+14
| | | |
* | | | TestBug722GLContextDrawableSwitchNewt2AWT: Test n/a if JAWT requires ↵Sven Gothel2013-07-171-1/+9
| | | | | | | | | | | | | | | | offscreen, i.e. no on- offscreen switch possible.
* | | | Use MaxFixedFunc(..) GLProfile if pbuffer or GL2-compat is required.Sven Gothel2013-07-175-8/+8
| | | |
* | | | More shader fixes for core (GLSL 150): texture2D -> texture, texture3D is ↵Sven Gothel2013-07-173-1/+4
| | | | | | | | | | | | | | | | deprecated in 130 and removed in 150.
* | | | X11GLXContext: Remove redundant manual aliasing of ext. names in ↵Sven Gothel2013-07-171-10/+0
| | | | | | | | | | | | | | | | isExtensionAvailable() - impl. uses a mapping.
* | | | Fix OSX GL-core lack of pbuffer: GLDrawableFactory.canCreateGLPbuffer(..) ↵Sven Gothel2013-07-1715-69/+67
| | | | | | | | | | | | | | | | | | | | | | | | add GLProfile argument, similar to canCreateFBO(..) In case a compatible non-core profile is requests, canCreateGLPbuffer(..) returns false on OSX.
* | | | Texture: Fix 'premultiply alpha' semantics in API doc description. Texture ↵Sven Gothel2013-07-171-9/+14
| | | | | | | | | | | | | | | | class does _nor_ premultiply RGBA image data by default!
* | | | Fix GLContext.isGLES3CompatAvailable(..) API doc and reorder query (from ↵Sven Gothel2013-07-161-4/+4
| | | | | | | | | | | | | | | | commit 1a20ef3aa1dc9acedd7da0475ee19d4c40b18498)
* | | | Redefine: isGLES3Compatible() and isGL4ES3(), i.e. allow GL4ES3 usage in ↵Sven Gothel2013-07-166-64/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | case proper ES3_compat is given. isGLES3Compatible() and isGL4ES3() of GLBase _and_ GLContext includes [ GL >= 4.3, GL >= 3.1 w/ GL_ARB_ES3_compatibility and GLES3 ]. Tested GL 'aliasing' w/ TestGLProfile01NEWT, i.e. isGL*() and getGL*().
* | | | Fix FFMPEGMediaPlayer: Only use RED for GL3ES3 profiles, otherwise stick w/ ↵Sven Gothel2013-07-161-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | ALPHA (regression of e92e561df9673ce77783d6fa3815a942a39a53c0) GLES2 does not and GL2 may not support RED!
* | | | Tests: Cleanup for GL core usage p2 - (Proper GLSL version number)Sven Gothel2013-07-165-14/+22
| | | |
* | | | Tests: Cleanup for GL core usage (Skip texture enable/disable, proper GLSL ↵Sven Gothel2013-07-1615-128/+155
| | | | | | | | | | | | | | | | version number, use VBO only, ...)
* | | | GPUUISceneGLListener0A: Rotate on vertical scroll ..Sven Gothel2013-07-161-1/+1
| | | |
* | | | FFMPEGMediaPlayer: Use GL_RED instead of deprecated GL_ALPHA, otherwise ↵Sven Gothel2013-07-161-6/+6
| | | | | | | | | | | | | | | | won't work w/ core >= GL3 profiles
* | | | Texture: Skip glEnable/glDisable TEXTURE target if using a core context!Sven Gothel2013-07-161-12/+14
| | | |
* | | | GLProfile: Abstract profile to impl. mapping, i.e. GL2ES2 -> GL3, favors ↵Sven Gothel2013-07-161-26/+20
| | | | | | | | | | | | | | | | core profile now - no more OSX exception!
* | | | GL*: Expose isGL*Core(); GLContext: isGL*() API doc cleanup - align queries.Sven Gothel2013-07-163-10/+64
| | | |