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

Verify whether we need setNeedsDisplay or not with CVDisplayLink

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 17
    • client-libs
    • 2d
    • generic
    • os_x

      In JDK-8247332 we are enabling usage of CVDisplayLink to blit to CAMetalLayer.

      https://developer.apple.com/library/archive/qa/qa1385/_index.html doesnt mention about using setNeedsDisplay when we use CVDisplayLink. But in our current OpenGL implementation we always drive blitting to CALayer in Appkit thread.

      Preliminary testing of CVDisplayLink with or without setNeedsDisplay has shown no difference in output.
      Verify whether we need to use setNeedsDisplay to blit or directly call blit routine.

            jdv Jayathirth D V
            jdv Jayathirth D V
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: