summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-03-26 21:05:15 +0200
committerSven Gothel <[email protected]>2012-03-26 21:05:15 +0200
commit56434e48876a85e027bca5463afdc86929d025cf (patch)
tree7652bc6c3fd72aa8bebc1d3aaa5fd8b733e586c0 /src/jogl/classes/com/jogamp
parent375ab2da54ded1f3b3d90dc21b91fc6b87c64285 (diff)
Adapt to gluegen commit 1c03dfd6d1939a46018583419956e350e531f4fe - Fix Bug 566
Diffstat (limited to 'src/jogl/classes/com/jogamp')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/cg/CgDynamicLibraryBundleInfo.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/cg/CgDynamicLibraryBundleInfo.java b/src/jogl/classes/com/jogamp/opengl/cg/CgDynamicLibraryBundleInfo.java
index ba159b82c..d901096bc 100644
--- a/src/jogl/classes/com/jogamp/opengl/cg/CgDynamicLibraryBundleInfo.java
+++ b/src/jogl/classes/com/jogamp/opengl/cg/CgDynamicLibraryBundleInfo.java
@@ -29,8 +29,10 @@
package com.jogamp.opengl.cg;
import com.jogamp.common.jvm.JNILibLoaderBase;
+import com.jogamp.common.os.DynamicLibraryBundle;
import com.jogamp.common.os.DynamicLibraryBundleInfo;
import com.jogamp.common.os.Platform;
+import com.jogamp.common.util.RunnableExecutor;
import com.jogamp.common.util.cache.TempJarCache;
import java.security.AccessController;
@@ -66,25 +68,31 @@ public class CgDynamicLibraryBundleInfo implements DynamicLibraryBundleInfo {
}
/** Make Cg symbols available to CgGL */
+ @Override
public boolean shallLinkGlobal() { return true; }
/** default **/
+ @Override
public boolean shallLookupGlobal() { return false; }
/** Tool has none **/
+ @Override
public final List<String> getToolGetProcAddressFuncNameList() {
return null;
}
/** Tool has none **/
+ @Override
public final long toolGetProcAddress(long toolGetProcAddressHandle, String funcName) {
return 0;
}
+ @Override
public boolean useToolGetProcAdressFirst(String funcName) {
return false;
}
+ @Override
public List<List<String>> getToolLibNames() {
final List<List<String>> libsList = new ArrayList<List<String>>();
final List<String> libsCg = new ArrayList<String>();
@@ -98,9 +106,15 @@ public class CgDynamicLibraryBundleInfo implements DynamicLibraryBundleInfo {
return libsList;
}
+ @Override
public final List<String> getGlueLibNames() {
return glueLibNames;
}
+
+ @Override
+ public RunnableExecutor getLibLoaderExecutor() {
+ return DynamicLibraryBundle.getDefaultRunnableExecutor();
+ }
}