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

Node parentToLocalTx should be BaseBounds not Affine3D and should not be final

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • javafx

      Each Node carries the weight of a complete Affine3D even when it only needs Identity or Translate2D. This cost carries down to the synchronization step with the peer as well, because in setTransformMatrix of NGNode, we call:

      transform = transform.deriveWithNewTransform(tx);

      If it turns out we have to check flags on the Affine3D to see if it is really an identity or Translate2D (in most cases it will be one of those), then we'll waste cycles.

            psafrata Pavel Ĺ afrata
            rbair Richard Bair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: