aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-03-29 04:51:18 +0200
committerSven Gothel <[email protected]>2010-03-29 04:51:18 +0200
commitb3f2ab84401efef233c0038f004a9f210cbe83fc (patch)
tree6741a098981c0742e148ce5587aff35d0a776250 /src/jogl
parent49b145b3fb10b2dd070615c60613d69ca44d4548 (diff)
parent2d57c25287542dcbad59c6b4782e87f86bd0fbc6 (diff)
Merge branch 'master' of github.com:mbien/jogl
Diffstat (limited to 'src/jogl')
-rwxr-xr-xsrc/jogl/classes/com/jogamp/audio/windows/waveout/Audio.java (renamed from src/jogl/classes/com/jogamp/javafx/audio/windows/waveout/Audio.java)2
-rwxr-xr-xsrc/jogl/classes/com/jogamp/audio/windows/waveout/Mixer.java (renamed from src/jogl/classes/com/jogamp/javafx/audio/windows/waveout/Mixer.java)2
-rwxr-xr-xsrc/jogl/classes/com/jogamp/audio/windows/waveout/SoundBuffer.java (renamed from src/jogl/classes/com/jogamp/javafx/audio/windows/waveout/SoundBuffer.java)2
-rwxr-xr-xsrc/jogl/classes/com/jogamp/audio/windows/waveout/TestSpatialization.java (renamed from src/jogl/classes/com/jogamp/javafx/audio/windows/waveout/TestSpatialization.java)2
-rwxr-xr-xsrc/jogl/classes/com/jogamp/audio/windows/waveout/Track.java (renamed from src/jogl/classes/com/jogamp/javafx/audio/windows/waveout/Track.java)2
-rwxr-xr-xsrc/jogl/classes/com/jogamp/audio/windows/waveout/Vec3f.java (renamed from src/jogl/classes/com/jogamp/javafx/audio/windows/waveout/Vec3f.java)2
-rwxr-xr-xsrc/jogl/classes/com/jogamp/opengl/util/glsl/fixedfunc/impl/FixedFuncHook.java18
-rwxr-xr-xsrc/jogl/native/audio/Mixer.cpp26
-rw-r--r--src/jogl/native/openmax/com_sun_openmax_OMXInstance.c6
9 files changed, 31 insertions, 31 deletions
diff --git a/src/jogl/classes/com/jogamp/javafx/audio/windows/waveout/Audio.java b/src/jogl/classes/com/jogamp/audio/windows/waveout/Audio.java
index fe77c7c48..2b51be164 100755
--- a/src/jogl/classes/com/jogamp/javafx/audio/windows/waveout/Audio.java
+++ b/src/jogl/classes/com/jogamp/audio/windows/waveout/Audio.java
@@ -30,7 +30,7 @@
* SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
*/
-package com.jogamp.javafx.audio.windows.waveout;
+package com.jogamp.audio.windows.waveout;
import java.io.*;
diff --git a/src/jogl/classes/com/jogamp/javafx/audio/windows/waveout/Mixer.java b/src/jogl/classes/com/jogamp/audio/windows/waveout/Mixer.java
index 59877052f..60972873e 100755
--- a/src/jogl/classes/com/jogamp/javafx/audio/windows/waveout/Mixer.java
+++ b/src/jogl/classes/com/jogamp/audio/windows/waveout/Mixer.java
@@ -30,7 +30,7 @@
* SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
*/
-package com.jogamp.javafx.audio.windows.waveout;
+package com.jogamp.audio.windows.waveout;
import java.io.*;
import java.nio.*;
diff --git a/src/jogl/classes/com/jogamp/javafx/audio/windows/waveout/SoundBuffer.java b/src/jogl/classes/com/jogamp/audio/windows/waveout/SoundBuffer.java
index 6b75450eb..c45430d23 100755
--- a/src/jogl/classes/com/jogamp/javafx/audio/windows/waveout/SoundBuffer.java
+++ b/src/jogl/classes/com/jogamp/audio/windows/waveout/SoundBuffer.java
@@ -30,7 +30,7 @@
* SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
*/
-package com.jogamp.javafx.audio.windows.waveout;
+package com.jogamp.audio.windows.waveout;
import java.io.*;
diff --git a/src/jogl/classes/com/jogamp/javafx/audio/windows/waveout/TestSpatialization.java b/src/jogl/classes/com/jogamp/audio/windows/waveout/TestSpatialization.java
index 38e3bb808..78fb3493f 100755
--- a/src/jogl/classes/com/jogamp/javafx/audio/windows/waveout/TestSpatialization.java
+++ b/src/jogl/classes/com/jogamp/audio/windows/waveout/TestSpatialization.java
@@ -30,7 +30,7 @@
* SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
*/
-package com.jogamp.javafx.audio.windows.waveout;
+package com.jogamp.audio.windows.waveout;
import java.io.*;
import javax.media.nativewindow.NativeWindow;
diff --git a/src/jogl/classes/com/jogamp/javafx/audio/windows/waveout/Track.java b/src/jogl/classes/com/jogamp/audio/windows/waveout/Track.java
index 40c39e755..b57bf1dc6 100755
--- a/src/jogl/classes/com/jogamp/javafx/audio/windows/waveout/Track.java
+++ b/src/jogl/classes/com/jogamp/audio/windows/waveout/Track.java
@@ -30,7 +30,7 @@
* SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
*/
-package com.jogamp.javafx.audio.windows.waveout;
+package com.jogamp.audio.windows.waveout;
import java.io.*;
import java.nio.*;
diff --git a/src/jogl/classes/com/jogamp/javafx/audio/windows/waveout/Vec3f.java b/src/jogl/classes/com/jogamp/audio/windows/waveout/Vec3f.java
index 5b480a513..1afdaf081 100755
--- a/src/jogl/classes/com/jogamp/javafx/audio/windows/waveout/Vec3f.java
+++ b/src/jogl/classes/com/jogamp/audio/windows/waveout/Vec3f.java
@@ -30,7 +30,7 @@
* SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
*/
-package com.jogamp.javafx.audio.windows.waveout;
+package com.jogamp.audio.windows.waveout;
/** 3-element single-precision vector */
diff --git a/src/jogl/classes/com/jogamp/opengl/util/glsl/fixedfunc/impl/FixedFuncHook.java b/src/jogl/classes/com/jogamp/opengl/util/glsl/fixedfunc/impl/FixedFuncHook.java
index c03ee8e30..6e5bd2eb2 100755
--- a/src/jogl/classes/com/jogamp/opengl/util/glsl/fixedfunc/impl/FixedFuncHook.java
+++ b/src/jogl/classes/com/jogamp/opengl/util/glsl/fixedfunc/impl/FixedFuncHook.java
@@ -7,7 +7,7 @@ package com.jogamp.opengl.util.glsl.fixedfunc.impl;
import javax.media.opengl.*;
import javax.media.opengl.fixedfunc.*;
import javax.media.opengl.glu.*;
-import com.jogamp.gluegen.runtime.BufferFactory;
+import com.jogamp.gluegen.runtime.Buffers;
import com.jogamp.opengl.util.*;
import com.jogamp.opengl.util.glsl.*;
import java.nio.*;
@@ -206,8 +206,8 @@ public class FixedFuncHook implements GLLightingFunc, GLMatrixFunc, GLPointerFun
if(gl.glIsVBOArrayEnabled()) {
throw new GLException("VBO array is not disabled: "+array);
}
- BufferFactory.rangeCheck(array.getBuffer(), 1);
- if (!BufferFactory.isDirect(array.getBuffer())) {
+ Buffers.rangeCheck(array.getBuffer(), 1);
+ if (!Buffers.isDirect(array.getBuffer())) {
throw new GLException("Argument \"pointer\" was not a direct buffer"); }
}
fixedFunction.glVertexPointer(gl, array);
@@ -234,8 +234,8 @@ public class FixedFuncHook implements GLLightingFunc, GLMatrixFunc, GLPointerFun
if(gl.glIsVBOArrayEnabled()) {
throw new GLException("VBO array is not disabled: "+array);
}
- BufferFactory.rangeCheck(array.getBuffer(), 1);
- if (!BufferFactory.isDirect(array.getBuffer())) {
+ Buffers.rangeCheck(array.getBuffer(), 1);
+ if (!Buffers.isDirect(array.getBuffer())) {
throw new GLException("Argument \"pointer\" was not a direct buffer"); }
}
fixedFunction.glColorPointer(gl, array);
@@ -265,8 +265,8 @@ public class FixedFuncHook implements GLLightingFunc, GLMatrixFunc, GLPointerFun
if(gl.glIsVBOArrayEnabled()) {
throw new GLException("VBO array is not disabled: "+array);
}
- BufferFactory.rangeCheck(array.getBuffer(), 1);
- if (!BufferFactory.isDirect(array.getBuffer())) {
+ Buffers.rangeCheck(array.getBuffer(), 1);
+ if (!Buffers.isDirect(array.getBuffer())) {
throw new GLException("Argument \"pointer\" was not a direct buffer"); }
}
fixedFunction.glNormalPointer(gl, array);
@@ -293,8 +293,8 @@ public class FixedFuncHook implements GLLightingFunc, GLMatrixFunc, GLPointerFun
if(gl.glIsVBOArrayEnabled()) {
throw new GLException("VBO array is not disabled: "+array);
}
- BufferFactory.rangeCheck(array.getBuffer(), 1);
- if (!BufferFactory.isDirect(array.getBuffer())) {
+ Buffers.rangeCheck(array.getBuffer(), 1);
+ if (!Buffers.isDirect(array.getBuffer())) {
throw new GLException("Argument \"pointer\" was not a direct buffer"); }
}
fixedFunction.glTexCoordPointer(gl, array);
diff --git a/src/jogl/native/audio/Mixer.cpp b/src/jogl/native/audio/Mixer.cpp
index 821a03246..9fa5b61bc 100755
--- a/src/jogl/native/audio/Mixer.cpp
+++ b/src/jogl/native/audio/Mixer.cpp
@@ -2,7 +2,7 @@
#include <stdlib.h>
#include <mmsystem.h>
#include <mmreg.h>
-#include "com_jogamp_javafx_audio_windows_waveout_Mixer.h"
+#include "com_jogamp_audio_windows_waveout_Mixer.h"
static HANDLE event = NULL;
static HWAVEOUT output = NULL;
@@ -57,7 +57,7 @@ void CALLBACK playbackCallback(HWAVEOUT output,
}
}
-JNIEXPORT jboolean JNICALL Java_com_jogamp_javafx_audio_windows_waveout_Mixer_initializeWaveOut
+JNIEXPORT jboolean JNICALL Java_com_jogamp_audio_windows_waveout_Mixer_initializeWaveOut
(JNIEnv *env, jclass unused, jlong eventObject)
{
event = (HANDLE) eventObject;
@@ -98,7 +98,7 @@ JNIEXPORT jboolean JNICALL Java_com_jogamp_javafx_audio_windows_waveout_Mixer_in
return JNI_TRUE;
}
-JNIEXPORT void JNICALL Java_com_jogamp_javafx_audio_windows_waveout_Mixer_shutdownWaveOut
+JNIEXPORT void JNICALL Java_com_jogamp_audio_windows_waveout_Mixer_shutdownWaveOut
(JNIEnv *env, jclass unused)
{
// writeString("Pausing\n");
@@ -109,7 +109,7 @@ JNIEXPORT void JNICALL Java_com_jogamp_javafx_audio_windows_waveout_Mixer_shutdo
waveOutClose(output);
}
-JNIEXPORT jlong JNICALL Java_com_jogamp_javafx_audio_windows_waveout_Mixer_getNextMixerBuffer
+JNIEXPORT jlong JNICALL Java_com_jogamp_audio_windows_waveout_Mixer_getNextMixerBuffer
(JNIEnv *env, jclass unused)
{
WAVEHDR* hdr = NULL;
@@ -123,28 +123,28 @@ JNIEXPORT jlong JNICALL Java_com_jogamp_javafx_audio_windows_waveout_Mixer_getNe
return (jlong) hdr;
}
-JNIEXPORT jobject JNICALL Java_com_jogamp_javafx_audio_windows_waveout_Mixer_getMixerBufferData
+JNIEXPORT jobject JNICALL Java_com_jogamp_audio_windows_waveout_Mixer_getMixerBufferData
(JNIEnv *env, jclass unused, jlong mixerBuffer)
{
WAVEHDR* hdr = (WAVEHDR*) mixerBuffer;
return env->NewDirectByteBuffer(hdr->lpData, hdr->dwBufferLength);
}
-JNIEXPORT jlong JNICALL Java_com_jogamp_javafx_audio_windows_waveout_Mixer_getMixerBufferDataAddress
+JNIEXPORT jlong JNICALL Java_com_jogamp_audio_windows_waveout_Mixer_getMixerBufferDataAddress
(JNIEnv *env, jclass unused, jlong mixerBuffer)
{
WAVEHDR* hdr = (WAVEHDR*) mixerBuffer;
return (jlong) hdr->lpData;
}
-JNIEXPORT jint JNICALL Java_com_jogamp_javafx_audio_windows_waveout_Mixer_getMixerBufferDataCapacity
+JNIEXPORT jint JNICALL Java_com_jogamp_audio_windows_waveout_Mixer_getMixerBufferDataCapacity
(JNIEnv *env, jclass unused, jlong mixerBuffer)
{
WAVEHDR* hdr = (WAVEHDR*) mixerBuffer;
return (jint) hdr->dwBufferLength;
}
-JNIEXPORT jboolean JNICALL Java_com_jogamp_javafx_audio_windows_waveout_Mixer_prepareMixerBuffer
+JNIEXPORT jboolean JNICALL Java_com_jogamp_audio_windows_waveout_Mixer_prepareMixerBuffer
(JNIEnv *env, jclass unused, jlong mixerBuffer)
{
MMRESULT res = waveOutPrepareHeader(output,
@@ -156,7 +156,7 @@ JNIEXPORT jboolean JNICALL Java_com_jogamp_javafx_audio_windows_waveout_Mixer_pr
return JNI_FALSE;
}
-JNIEXPORT jboolean JNICALL Java_com_jogamp_javafx_audio_windows_waveout_Mixer_writeMixerBuffer
+JNIEXPORT jboolean JNICALL Java_com_jogamp_audio_windows_waveout_Mixer_writeMixerBuffer
(JNIEnv *env, jclass unused, jlong mixerBuffer)
{
MMRESULT res = waveOutWrite(output,
@@ -170,13 +170,13 @@ JNIEXPORT jboolean JNICALL Java_com_jogamp_javafx_audio_windows_waveout_Mixer_wr
return JNI_FALSE;
}
-JNIEXPORT jlong JNICALL Java_com_jogamp_javafx_audio_windows_waveout_Mixer_CreateEvent
+JNIEXPORT jlong JNICALL Java_com_jogamp_audio_windows_waveout_Mixer_CreateEvent
(JNIEnv *env, jclass unused)
{
return (jlong) CreateEvent(NULL, FALSE, TRUE, NULL);
}
-JNIEXPORT jboolean JNICALL Java_com_jogamp_javafx_audio_windows_waveout_Mixer_WaitForSingleObject
+JNIEXPORT jboolean JNICALL Java_com_jogamp_audio_windows_waveout_Mixer_WaitForSingleObject
(JNIEnv *env, jclass unused, jlong eventObject)
{
DWORD res = WaitForSingleObject((HANDLE) eventObject, INFINITE);
@@ -186,13 +186,13 @@ JNIEXPORT jboolean JNICALL Java_com_jogamp_javafx_audio_windows_waveout_Mixer_Wa
return JNI_FALSE;
}
-JNIEXPORT void JNICALL Java_com_jogamp_javafx_audio_windows_waveout_Mixer_SetEvent
+JNIEXPORT void JNICALL Java_com_jogamp_audio_windows_waveout_Mixer_SetEvent
(JNIEnv *env, jclass unused, jlong eventObject)
{
SetEvent((HANDLE) eventObject);
}
-JNIEXPORT void JNICALL Java_com_jogamp_javafx_audio_windows_waveout_Mixer_CloseHandle
+JNIEXPORT void JNICALL Java_com_jogamp_audio_windows_waveout_Mixer_CloseHandle
(JNIEnv *env, jclass unused, jlong eventObject)
{
CloseHandle((HANDLE) eventObject);
diff --git a/src/jogl/native/openmax/com_sun_openmax_OMXInstance.c b/src/jogl/native/openmax/com_sun_openmax_OMXInstance.c
index 1ca973097..5317c2abc 100644
--- a/src/jogl/native/openmax/com_sun_openmax_OMXInstance.c
+++ b/src/jogl/native/openmax/com_sun_openmax_OMXInstance.c
@@ -1,5 +1,5 @@
/*
- * javafx_media_video_Movie.c
+ * media_video_Movie.c
* JFXFramework
*
* Created by sun on 17/02/08.
@@ -21,8 +21,8 @@ static const char * const ClazzNameRuntimeException =
"java/lang/RuntimeException";
static jclass runtimeExceptionClz=NULL;
#ifdef _WIN32_WCE
- #define STDOUT_FILE "\\Storage Card\\javafx_demos\\stdout.txt"
- #define STDERR_FILE "\\Storage Card\\javafx_demos\\stderr.txt"
+ #define STDOUT_FILE "\\Storage Card\\demos\\stdout.txt"
+ #define STDERR_FILE "\\Storage Card\\demos\\stderr.txt"
#endif
static void _initStatics(JNIEnv *env)