public class DRIHack
extends java.lang.Object
There are at least two possible solutions. One would be to change the JOGL implementation to call through function pointers uniformly so that it does not need to link against libGL.so. This is possible, but requires changes to GlueGen and also is not really necessary in any other situation than with the DRI drivers. Another solution is to force the first load of libGL.so.1.2 to be done dynamically with RTLD_GLOBAL before libjogl.so is loaded and causes libGL.so.1.2 to be loaded again. The NativeLibrary class in the GlueGen runtime has this property, and we use it to implement this workaround.
Constructor and Description |
---|
DRIHack() |
Modifier and Type | Method and Description |
---|---|
static void |
begin() |
static void |
end() |
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.