On Tue, 3 Nov 2020 21:15:34 GMT, Kevin Rushforth <[email protected]> wrote:
>> Allow the EGL functionality in monocle to leverage EGL-based systems. The
>> low-level specific details about how the EGL calls should be constructed are
>> left out, and a native interface (egl_ext.h) is created that can be mapped
>> to any low-level system.
>
> modules/javafx.graphics/src/main/java/com/sun/glass/ui/monocle/EGLPlatform.java
> line 37:
>
>> 35: String lib = System.getProperty("monocle.egl.lib");
>> 36: if (lib != null) {
>> 37: LinuxSystem.getLinuxSystem().dlopen(lib,
>> LinuxSystem.RTLD_LAZY | LinuxSystem.RTLD_GLOBAL);
>
> Do you need to check the return value (and maybe throw an Exception)?
Good idea. Added.
-------------
PR: https://git.openjdk.java.net/jfx/pull/343