Re: Dumping the rendering process in JavaFX

2014-11-16 Thread Herve Girod
Hello, I did as it was proposed, and it work. I still have some cases where textures are a little off compared to the position where they should be, but it might be due to the post-processing I perform after creating the awt BufferedImage. Compared to what I thought, there were not a lot of class

Re: Dumping the rendering process in JavaFX

2014-11-13 Thread Jim Graham
Some pie in the sky observations about the background here... Note that there was a fine line there that had to be evaluated. Many of the printing detection changes were basically just "Oh, look, I have a new ResourceFactory now, that probably means new Textures", but it was tempered with "On

Re: Dumping the rendering process in JavaFX

2014-11-13 Thread Herve Girod
Thanks for you two, I will try this tomorrow - I'm in France so it's late now ;) Our project is Open Source, but this functionality is not central to it, I will extract this on another Open Source project then after it's done, this could be useful to other devs think. Hervé 2014-11-14 0:15 GMT+0

Re: Dumping the rendering process in JavaFX

2014-11-13 Thread Phil Race
Basically for printing we had to detect that we were printing and use a non-cached texture. If you look for references to "PrinterGraphics" you might find some of them. Canvas is one place we had to deal with this. There are at least one or two others. Doing anything like only this via public AP

Re: Dumping the rendering process in JavaFX

2014-11-13 Thread Herve Girod
Thanks a lot, I did not think about that. 2014-11-13 23:49 GMT+01:00 Kevin Rushforth : > You could take a look at what JavaFX internally does for printing, which > is similar to what you are trying to do. It also forces the J2D pipeline > and had to deal with this issue. You likely won't be able

Re: Dumping the rendering process in JavaFX

2014-11-13 Thread Kevin Rushforth
You could take a look at what JavaFX internally does for printing, which is similar to what you are trying to do. It also forces the J2D pipeline and had to deal with this issue. You likely won't be able to do it without modifying FX internals, though, which is what printing does in a few place

Re: Dumping the rendering process in JavaFX

2013-06-07 Thread Hervé Girod
Thanks, that's very interesting ! It may be what I need ! I will check it soon ! Hervé Sent from my iPhone On 7 juin 2013, at 15:55, "Alexandre (Shura) Iline" wrote: > Hi. > > > FWIW, with JemmyFX you can do: > new SceneDock().asParent().lookup().dump(System.out); > > What you get is (full

Re: Dumping the rendering process in JavaFX

2013-06-07 Thread Tom Schindl
I've started working on a JavaFX-Scene to FXML dumper but its not yet really useable. Tom On 07.06.13 14:34, Hervé Girod wrote: Hello, We are porting a swing application in JavaFX, and we had various unit tests where we created for testing purposes a dummy Graphics2D which stored the list o