RFR: 8254569: Remove hard dependency on Dispman in Monocle fb rendering

Johan Vos jvos at openjdk.java.net
Wed Nov 4 10:17:55 UTC 2020


On Tue, 3 Nov 2020 21:15:34 GMT, Kevin Rushforth <kcr at openjdk.org> 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


More information about the openjfx-dev mailing list