aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/egl/EGLDynamicLibraryBundleInfo.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-08-09 20:12:00 +0200
committerSven Gothel <[email protected]>2011-08-09 20:12:00 +0200
commitff2c2bfb69699ad00ba80f90cbfea6d4ce1ab778 (patch)
tree2e956caf2d701d288947484fcd685505d0cfbde3 /src/jogl/classes/jogamp/opengl/egl/EGLDynamicLibraryBundleInfo.java
parent4ebd4e46f1b17fce7dabf7e0290f7a3e489873ca (diff)
Adapt to DynamicLibraryBundleInfo API change ; Remove non std EGL/ES libs (Android)
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/egl/EGLDynamicLibraryBundleInfo.java')
-rw-r--r--src/jogl/classes/jogamp/opengl/egl/EGLDynamicLibraryBundleInfo.java13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/jogl/classes/jogamp/opengl/egl/EGLDynamicLibraryBundleInfo.java b/src/jogl/classes/jogamp/opengl/egl/EGLDynamicLibraryBundleInfo.java
index ff838dd0b..4182c4666 100644
--- a/src/jogl/classes/jogamp/opengl/egl/EGLDynamicLibraryBundleInfo.java
+++ b/src/jogl/classes/jogamp/opengl/egl/EGLDynamicLibraryBundleInfo.java
@@ -60,23 +60,26 @@ public abstract class EGLDynamicLibraryBundleInfo extends GLDynamicLibraryBundle
/** Might be a desktop GL library, and might need to allow symbol access to subsequent libs */
public boolean shallLinkGlobal() { return true; }
+
+ public boolean shallLookupGlobal() { return true; }
+
public final List getToolGetProcAddressFuncNameList() {
List res = new ArrayList();
res.add("eglGetProcAddress");
return res;
}
- public final long toolDynamicLookupFunction(long toolGetProcAddressHandle, String funcName) {
+ public final long toolGetProcAddress(long toolGetProcAddressHandle, String funcName) {
return EGL.eglGetProcAddress(toolGetProcAddressHandle, funcName);
}
+ public final boolean useToolGetProcAdressFirst(String funcName) {
+ return false; // JAU / FIXME funcName.startsWith("egl");
+ }
+
protected List/*<String>*/ getEGLLibNamesList() {
List/*<String>*/ eglLibNames = new ArrayList();
- if(Platform.getOSType() == Platform.OSType.ANDROID) {
- // using the android-EGL fails
- eglLibNames.add("/system/lib/egl/libEGL_POWERVR_SGX530_125.so");
- }
// try default generic names first
eglLibNames.add("EGL");