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

D3D pipeline processes multiple PaintEvent at initial drawing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 17, 18
    • client-libs
    • None
    • 2d
    • b13
    • x86_64
    • windows

      A DESCRIPTION OF THE PROBLEM :
      On Windows platform, default drawing pipeline (D3D) processes multiple PaintEvent at initial drawing. This behavior does not occur on GDI pipeline (-Dsun.java2d.noddraw=true).

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      compile and run attached sample code on Windows platform. This sample counts a number of paint() calls.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Green window is shown and "1" is printed on console.

      ACTUAL -
      Red window is shown and print "2" is printed on console.

      This additional PaintEvent is unnecessary and may cause performance issue.

            myano Masanori Yano
            myano Masanori Yano
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: