aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/native/KDWindow.c
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-06 06:15:21 +0100
committerSven Gothel <[email protected]>2010-11-06 06:15:21 +0100
commit1be7b5271ec1d08b6929a88dd811754d33d149de (patch)
tree2c321a1952035509eacc3bca1c46fa7385d31def /src/newt/native/KDWindow.c
parentb0845ac49e7717c88b1714766518ac553751fa97 (diff)
Complete removal of NV KD and OMX started with 46f17013c7cd59d551371edb2c1a4a57f8cbd84f (code dependencies)
This currently removes KD fullscreen for NV devices and the whole OMX NV stream/file type detection, which renders the OMX hack useless. However, updated EGL sync (NV proprietary) to EGL_KHR_reusable_sync and EGL_KHR_fence_sync.
Diffstat (limited to 'src/newt/native/KDWindow.c')
-rw-r--r--src/newt/native/KDWindow.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/newt/native/KDWindow.c b/src/newt/native/KDWindow.c
index b574731c2..33af4d963 100644
--- a/src/newt/native/KDWindow.c
+++ b/src/newt/native/KDWindow.c
@@ -62,7 +62,6 @@
#endif
#include <KD/kd.h>
-#include <KD/NV_extwindowprops.h>
#include "com_jogamp_newt_impl_opengl_kd_KDWindow.h"
@@ -319,12 +318,18 @@ JNIEXPORT void JNICALL Java_com_jogamp_newt_impl_opengl_kd_KDWindow_setVisible0
JNIEXPORT void JNICALL Java_com_jogamp_newt_impl_opengl_kd_KDWindow_setFullScreen0
(JNIEnv *env, jobject obj, jlong window, jboolean fullscreen)
{
+/** not supported, due to missing NV property ..
KDWindow *w = (KDWindow*) (intptr_t) window;
KDboolean v = fullscreen;
int res = kdSetWindowPropertybv(w, KD_WINDOWPROPERTY_FULLSCREEN_NV, &v);
DBG_PRINT( "[setFullScreen] v=%d, res=%d\n", fullscreen, res);
(void)res;
+*/
+ (void)env;
+ (void)obj;
+ (void)window;
+ (void)fullscreen;
}
JNIEXPORT void JNICALL Java_com_jogamp_newt_impl_opengl_kd_KDWindow_setSize0