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

[D3D] Bad assumption in D3D clip leads to rendering errors


    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:
    • Environment:

      8.0b110, win7, 64 bit


      NOTE: This was originally filed against SWT, then it was determined that this was a general rendering problem.

      Jim says: "A number of recent bugs have stemmed from a mistaken assumption in the D3D code that calls to update the render target would always cause a new render target to be installed which would clear the clip on D3D. Recently, that assumption started failing and sometimes the render target does not change and so the clip is not cleared."


      Run the attached application.
      Click to show heavy weight popup, and click on button and into text field. Text boldness changes, between states, as shown on 2 attached images.

      I use swt jar win7 64-bit, as an attached one.


        1. ConditionalResetClip.draft.patch
          5 kB
          Jim Graham
        2. FXCanvasApp_RT33390.java
          7 kB
          Steve Northover
        3. FXCanvasAppFX_RT33390.java
          2 kB
          Steve Northover
        4. FXCanvasAppSwing_RT33390.java
          3 kB
          Steve Northover
        5. SWTInteropTest-heavyweight.png
          2 kB
          Alexander Kirov
        6. SWTInteropTest-heavyweight-expected.png
          2 kB
          Alexander Kirov

          Issue Links



              • Assignee:
                vadim Vadim Pakhnushev
                akirov Alexander Kirov (Inactive)
              • Votes:
                1 Vote for this issue
                12 Start watching this issue


                • Created: