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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 8
    • 8
    • javafx
    • 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
        2. FXCanvasApp_RT33390.java
          7 kB
        3. FXCanvasApp.zip
          5.09 MB
        4. FXCanvasAppFX_RT33390.java
          2 kB
        5. FXCanvasAppSwing_RT33390.java
          3 kB
        6. swt.jar
          1.79 MB
        7. SWTInteropTest-heavyweight.png
          SWTInteropTest-heavyweight.png
          2 kB
        8. SWTInteropTest-heavyweight-expected.png
          SWTInteropTest-heavyweight-expected.png
          2 kB

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

              Created:
              Updated:
              Resolved:
              Imported: