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

PIT: Volatile Image's ImageCap.isTrueVolatile() returns false on Win32

    XMLWordPrintable

Details

    • 2d
    • b33
    • 6
    • beta
    • x86
    • linux_sun, windows_xp
    • Verified

    Description

      I am creating an opaque volatile image and rendering it on a JComponent. I am getting the ImageCapabilities object from this volatile image and calling ImageCap.isTrueVolatile(). On the PIT build given below, this method returns false on WinXP-sp2.

      java version "2d.pit-jcg-win-03-2005-04-09.mustang"
      Java(TM) 2 Runtime Environment, Standard Edition (build 2d.pit-jcg-win-03-2005-04-09.mustang)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b31, mixed mode)

      This is reproducible only on the PIT build and not occuring on Mustag-b31.

      I have attached a sample test. Execute the sample test. You would see a frame with a duke image. If the console shows that the volatile image is not accelerated, the bug is reproduced. I am using NVidia GeForce Mx4000 video card with the latest driver.

      ------ Here is the console output -----------------
      On PIT Build: Default mode
      --------------------------
      From IMG: Is Accelerated? true
      From IMG: Is True Volatile? false
      From GC: Is Accelerated? true
      From GC: Is True Volatile? true

      On Mustang-b31: Default Mode
      -----------------------------
      From IMG: Is Accelerated? true
      From IMG: Is True Volatile? true
      From GC: Is Accelerated? true
      From GC: Is True Volatile? true
      ----------------------------------------------

      On PIT build: OpenGL Mode
      -------------------------
      From IMG: Is Accelerated? true
      From IMG: Is True Volatile? false
      From GC: Is Accelerated? true
      From GC: Is True Volatile? true

      On Mustang-b31 : OpenGL Mode
      ----------------------------
      From IMG: Is Accelerated? true
      From IMG: Is True Volatile? true
      From GC: Is Accelerated? true
      From GC: Is True Volatile? false

      ###@###.### 2005-04-13 17:53:06 GMT

      Attachments

        Issue Links

          Activity

            People

              tdv Dmitri Trembovetski (Inactive)
              pmohansunw Praveen Mohan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: