From 4267837c591c9c205ff5206afaf38bba8c4215ac Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 9 Jun 2023 20:31:17 +0200 Subject: Adopt to GlueGen commit 952e0c1f83c9e0583a97d39988a6ba1428911c8c To limit growing code due to GlueGen's more capable new `Struct` emitter (more supported setter), `Struct` with intended read-only access have been marked `ImmutableAccess` in their GlueGen config file. Produced code with above setting compared with pre-GlueGen change is reduced while also having dropped all of the JNI calls retrieving `Struct` values. Only calls to function-pointer produced JNI methods, of course. --- make/config/oculusvr/oculusvr.cfg | 1 - 1 file changed, 1 deletion(-) (limited to 'make/config/oculusvr/oculusvr.cfg') diff --git a/make/config/oculusvr/oculusvr.cfg b/make/config/oculusvr/oculusvr.cfg index b2870e59a..23531c040 100644 --- a/make/config/oculusvr/oculusvr.cfg +++ b/make/config/oculusvr/oculusvr.cfg @@ -9,7 +9,6 @@ Import com.jogamp.common.util.SecurityUtil Import java.security.PrivilegedAction IncludeAs CustomJavaCode OVR oculusvr-ovr-CustomJavaCode.java -ManualStaticInitCall OVR # Provide #includes to native code CustomCCode #define HEADLESS_APP 1 -- cgit v1.2.3