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

Simple primitives (rectangle and lines) are slow when rendered with a transform

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      b23
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        A short test case is attached which shows that simple transformed rectangle
        fills and AA rectangles are up to 20 or more times slower than simple
        untransformed rectangle fills, even on the latest hardware. With the power
        of the hardware GPUs in todays machines, there should be little, if any,
        difference in the rendering speed of these primitives.

        Indeed, experiments show that we can achieve near-parity for transformed and
        AA rectangles and wide lines using simple variations of the D3D and OGL
        FillRect primitive and a small Pixel Shader program that runs on most
        graphics cards that have been common for the past 3 or 4 years.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                flar Jim Graham
                Reporter:
                flar Jim Graham
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: