On Sat, Mar 28, 2015 at 11:22 AM, Chris Newland <cnewl...@chrisnewland.com> wrote:
> Hi Robert, > > I've not filed a Jira yet as I was hoping to find time to investigate > thoroughly but when I saw your question I thought I'd better add my > findings. > > I believe the issue is in the ES2Pipeline as if I run with > -Dprism.order=sw then strokePolygon outperforms the series of strokeLine > commands as expected: > > java -cp target/DemoFX.jar -Dprism.order=sw > com.chrisnewland.demofx.DemoFXApplication -c 500 -m line > Result: 44fps > > java -cp target/DemoFX.jar -Dprism.order=sw > com.chrisnewland.demofx.DemoFXApplication -c 500 -m poly > Result: 60fps > > Will see if I can find the root cause as I've got plenty more examples > where ES2Pipeline performs horribly on my Mac which should have no problem > throwing around a few thousand polys. > > I realise there's a *lot* of indirection involved in making JavaFX support > such a wide range of underlying graphics systems but I do think there's a > bug here. > > Will file a Jira if I can contribute a bit more than "feels slow" ;) > > Cheers, > > Chris > > Great, thanks!