Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8096763

[Monocle] Use the X11 implementation in preference to framebuffer if DISPLAY is set

XMLWordPrintable

      Currently the platform cascade list is: MX6,OMAP,Dispman,Linux,Headless

      We should include X11 in this list and make the X11PlatformFactory matcher return true if and only if the DISPLAY environment variable is set.
      Options are:

      A) Put X11 first in the list so that we also run with X11 if the DISPLAY variable is set. This has the advantage of being most likely to work out of the box, but the disadvantage that it puts an unsupported platform (X11) before the reference platform (MX6). It will also cause execution to fail or fall back to software rendering on the Raspberry Pi if DISPLAY is set, since Dispman does not support EGL/X11.
      B) Put X11 just before "Linux". This will first run through the supported accelerated framebuffer options and only then attempt to render using EGL/X11.

      B) seems safer.

            dblaukop Daniel Blaukopf (Inactive)
            dblaukop Daniel Blaukopf (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: