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

Do not always recreate the whole geometry in calls to impl_configShape

XMLWordPrintable

      In a test application (see e.g. RT-20452) I have created many shapes which
      I want to select via mouse click. A mouse movement results in many
      calls to the Node.contains method which in turn calls impl_configShape.
      I noticed that all implementations of this method recreate the whole geometry
      of the shape. If you are dealing with a scenario of 10s of thousands of lines
      this looks like a terrible performance bottleneck. Why don't you check the
      corresponding dirty bits to see whether the geometry or anyting else realy
      has to be recreated to do a hit test?

            Unassigned Unassigned
            dpausjfx Dr. Michael Paus (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Imported: