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

Volatile Images are not restored properly after a surface loss, on Win32

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 5.0
    • client-libs
    • 2d
    • Fix Understood
    • x86
    • windows_xp


      Platform: Win XP Professional
      Build: Occurs since Tiger-b36. Reproducible with the current tiger build (b61).
      Video Card: Reproducible on Nvidia Geforce4 MX440, Nvidia Geforce2, Nvidia Geforce MX4000

      I am running an application that uses 3 volatile images - Opaque, Bitmask and Translucent dukes. When I push the command prompt to fullscreen mode by pressing ALT + ENTER and restore it back, none of the volatile images are restored and the frame looks empty.

      This started occuring in Tiger-b36 and works fine on previous builds.

      I have attached a sample test. Execute the sample test. You would see a frame with 3 duke images (opaque, bitmask and translucent). Make sure command prompt does not overlap the frame. Push the command prompt to fullscreen mode by pressing ALT + ENTER. Wait there for a couple of sec and restore it back to normal mode. If you see a blank frame, then the bug is reproduced.

      The following bug fix has been integrated into tiger-b36 and probably this could have caused this regression.
      4965928: Infinite Loop possible during VolatileImage rendering after surface loss

      Here is the platform info:
      CPU:
      Intel 32bit
      Single Processor
      Processor Speed: 2394 MHz

      Operating System:
      Windows XP (version 5.1 Service Pack 1 (Build 2600))

      DirectX version: DirectX 8.1 or greater

      DirectX display devices:
      Device 0:
        Resolution (width x height x depth): 1024 x 768 x 32
        Video memory (Total, Free): 130875 KB, 130833 KB
        Device driver nv4_disp.dll version 6.14.10.6177

      GDI display devices:
      Primary: Name = \\.\DISPLAY1, Description = NVIDIA GeForce4 MX 4000

            chaasesunw Chet Haase (Inactive)
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: