diff options
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/egl/EGLES2DynamicLibraryBundleInfo.java')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/egl/EGLES2DynamicLibraryBundleInfo.java | 43 |
1 files changed, 23 insertions, 20 deletions
diff --git a/src/jogl/classes/jogamp/opengl/egl/EGLES2DynamicLibraryBundleInfo.java b/src/jogl/classes/jogamp/opengl/egl/EGLES2DynamicLibraryBundleInfo.java index 7943e1946..ac6d76220 100644 --- a/src/jogl/classes/jogamp/opengl/egl/EGLES2DynamicLibraryBundleInfo.java +++ b/src/jogl/classes/jogamp/opengl/egl/EGLES2DynamicLibraryBundleInfo.java @@ -39,26 +39,29 @@ public class EGLES2DynamicLibraryBundleInfo extends EGLDynamicLibraryBundleInfo super(); } - public List getToolLibNames() { - List/*<List>*/ libNames = new ArrayList(); - - List/*<String>*/ glesLibNames = new ArrayList(); - - // try default generic names first - glesLibNames.add("GLES20"); - glesLibNames.add("GLESv2"); - glesLibNames.add("GLESv2_CM"); - // for windows distributions using the 'unlike' lib prefix - // where our tool does not add it. - glesLibNames.add("libGLES20"); - glesLibNames.add("libGLESv2"); - glesLibNames.add("libGLESv2_CM"); - // this is the default lib name, according to the spec - glesLibNames.add("libGLESv2.so.2"); + public List<List<String>> getToolLibNames() { + final List<List<String>> libsList = new ArrayList<List<String>>(); + { + final List<String> libsGL = new ArrayList<String>(); + + // try default generic names first + libsGL.add("GLES20"); + libsGL.add("GLESv2"); + libsGL.add("GLESv2_CM"); + // for windows distributions using the 'unlike' lib prefix + // where our tool does not add it. + libsGL.add("libGLES20"); + libsGL.add("libGLESv2"); + libsGL.add("libGLESv2_CM"); + // this is the default lib name, according to the spec + libsGL.add("libGLESv2.so.2"); + + libsList.add(libsGL); + } + libsList.add(getEGLLibNamesList()); - libNames.add(glesLibNames); - libNames.add(getEGLLibNamesList()); - return libNames; - } + return libsList; + } + } |