From 1be7b5271ec1d08b6929a88dd811754d33d149de Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 6 Nov 2010 06:15:21 +0100 Subject: 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. --- src/newt/native/KDWindow.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/newt/native/KDWindow.c') 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 -#include #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 -- cgit v1.2.3