summaryrefslogtreecommitdiffstats
path: root/make/config/oculusvr/oculusvr-common.cfg
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-03-27 03:07:58 +0100
committerSven Gothel <[email protected]>2015-03-27 03:07:58 +0100
commite626312c79f49b2244b5fdae8dbbf1ee22520817 (patch)
tree717c760aa7f02bd67ca5ab020844286ae4caa367 /make/config/oculusvr/oculusvr-common.cfg
parentbb6a8fdc8decdbec64bbab0fe2175e76211d0e77 (diff)
Bug 1116: Oculus SDK 0.4.4 support for JOGL - Part-3: New set of C-files, adapt to new SDK API
- Tested on Windows and working StereoDemo01 w/ DK2!
Diffstat (limited to 'make/config/oculusvr/oculusvr-common.cfg')
-rw-r--r--make/config/oculusvr/oculusvr-common.cfg19
1 files changed, 14 insertions, 5 deletions
diff --git a/make/config/oculusvr/oculusvr-common.cfg b/make/config/oculusvr/oculusvr-common.cfg
index c330ce5be..86d0ce745 100644
--- a/make/config/oculusvr/oculusvr-common.cfg
+++ b/make/config/oculusvr/oculusvr-common.cfg
@@ -17,14 +17,23 @@ RuntimeExceptionType OVRException
# Mappings for data types
Opaque boolean ovrBool
-# Not implemented in SDK !?
-Ignore ovrHmd_ProcessLatencyTest
-
# Not native sized: CType['uintptr_t *', size [fixed false, lnx64 64], [array*1]]
Ignore ovrRenderAPIConfig.PlatformData
# Not native sized: CType['uintptr_t *', size [fixed false, lnx64 64], [array*1]]
Ignore ovrTexture.PlatformData
+# We use the SDK in headless mode:
+# #define HEADLESS_APP 1
+# implying: ovrHmdCap_ExtendDesktop
+#
+Ignore ovr_InitializeRenderingShim
+Ignore ovrHmd_RegisterPostDistortionCallback
+Ignore ovrHmd_AttachToWindow
+# HSW = Health and Safety Warning
+Ignore ovrHSWDisplayState
+Ignore ovrHmd_GetHSWDisplayState
+Ignore ovrHmd_DismissHSWDisplay
+
# These routines use or return strings
ReturnsString ovrHmd_GetLastError
ReturnsString ovrHmd_GetLatencyTestResult
@@ -39,8 +48,8 @@ ReturnedArrayLength ovrHmdDesc.Handle 1
ReturnedArrayLength ovrDistortionMesh.pVertexData getVertexCount()
ReturnedArrayLength ovrDistortionMesh.pIndexData getIndexCount()
-ReturnValueCapacity ovrHmd_Create sizeof(ovrHmd)
-ReturnValueCapacity ovrHmd_CreateDebug sizeof(ovrHmd)
+ReturnValueCapacity ovrHmd_Create sizeof(ovrHmdDesc)
+ReturnValueCapacity ovrHmd_CreateDebug sizeof(ovrHmdDesc)
JavaPrologue ovr_Initialize if( !isAvailable() ) { return false; }
JavaPrologue ovrHmd_Create if( !isAvailable() ) { return null; }