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

{Float,Double}Buffer performance regression

XMLWordPrintable

    • b22
    • generic
    • generic

        There appears to have been a change in either the JAWT or the default AWT Canvas
        properties on Windows in 1.4.2 (not present in 1.4.1_02) that is causing severe
        performance degradation of Java applications using OpenGL through e.g. the
        GL4Java library.

        To reproduce, extract the attached archive. Add the jar files to your classpath
        and place the .dll in your path. javac VertexArrayRange.java ;
        java VertexArrayRange. Requires an NVidia GeForce family card, though the code
        path in the demo which doesn't use the NVidia-specific extension also shows a
        significant slowdown relative to 1.4.1_02.

        The slowdown isn't affected by either the -Dsun.java2d.noddraw=true or
        -Dsun.java2d.d3d=false flags. It also isn't affected by setting vs. not setting
        the GraphicsConfiguration of the created Canvas (GL4Java's GLAnimCanvas class
        subclasses Canvas).

              mr Mark Reinhold
              kbr Kenneth Russell (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: