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

Rendering broken on iOS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8u60
    • 8u60
    • javafx

      The changes for RT-39008 broke the rendering on iOS.
      1. In IosView the long nativePtr field was removed, but it was accessed in native code (GlassView.m).
      2. No rendering on screen anymore.

      The nativePtr issue was easily fixed, but the rendering is harder. I created a patch with a workaround at http://cr.openjdk.java.net/~ckyang/RT-39008/webrev.00/rt.patch but I think that reverts the goal of RT-39008 as we again use the prism context to set the pointer to the native handle.

      Using the glass context as was the case after the RT-39008 doesn't render anything on the screen. The prismContext.getNativeHandle and the glassContext.getNativeHandle point to different values. Are those expected to be the same, i.e. is there a prismContext and a glassContext which are 2 separate objects that share the same handle?

            ckyang Chien Yang (Inactive)
            jvos Johan Vos
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: