- 
    Enhancement 
- 
    Resolution: Duplicate
- 
     P3 P3
- 
    None
- 
    fx2.1
- 
    Processor: Intel Core 2 DUO 1.80 Ghz 
 Memory: 3 GB RAM
 Operating system: Windows XP Professional 2002 Service Pack 3
 Graphic card: NVIDIA Quadro NVS 130M
 Java: 1.7.0_03
 JavaFX: 2.1.0-b16
                    I am developing some tests to achieve de loading of geographic information from a shapefile using JavaFX 2.0. I read the shapefile data using the feature facilites provided by GeoTools API, and rendering these data using JavaFX Path class (with MoveTo and LineTo). I have also implemented a zoom operation associated to mousePressed event, that simply changes the scaleXProperty and scaleYPropety in the map.
I have noticed that if the map is quite complex, the zoom operation is very slow. For example, with a map with 20000 lines the performance is very poor when making the zoom this way. The result is almos the same if I use Polylines to represent the map info.
I have made some tests with the scaling operation and the thing is that the problems start when I use Path objects. For example, If I render a scene with 40000 rectangles (object Rectangle) the scaling works fine, but if a render the same scene using 40000 lines (in paths) the performance falls down dramatically. Is this normal?
I have noticed that if the map is quite complex, the zoom operation is very slow. For example, with a map with 20000 lines the performance is very poor when making the zoom this way. The result is almos the same if I use Polylines to represent the map info.
I have made some tests with the scaling operation and the thing is that the problems start when I use Path objects. For example, If I render a scene with 40000 rectangles (object Rectangle) the scaling works fine, but if a render the same scene using 40000 lines (in paths) the performance falls down dramatically. Is this normal?
- duplicates
- 
                    JDK-8117892 Poor Path rendering performance. -           
- Closed
 
-         
- 
                    JDK-8177985 Use Marlin renderer as the default FX rasterizer -           
- Resolved
 
-         
- is blocked by
- 
                    JDK-8169270 Leverage new Java2D Marlin rasterizer for JavaFX -           
- Resolved
 
-         
- relates to
- 
                    JDK-8169294 JavaFX Path2D storage growth algorithms should be less linear -           
- Resolved
 
-