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

Verify whether we need setNeedsDisplay or not with CVDisplayLink

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: internal
    • Fix Version/s: internal
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d
    • CPU:
      generic
    • OS:
      os_x

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: