[Rev 03] RFR: 8238954: Improve performance of tiled snapshot rendering

Frederic Thevenet github.com+7450507+fthevenet at openjdk.java.net
Tue Mar 17 14:21:59 UTC 2020


On Tue, 17 Mar 2020 13:28:57 GMT, Nir Lisker <nlisker at openjdk.org> wrote:

> 
> 
> Now that the tiling is done in the `QuantumRenderer` level, I'll bring back
> [JDK-8189082](https://bugs.openjdk.java.net/browse/JDK-8189082). Can't this tiling be used to fix that?

It won't help with thing in their current state, as the `RenderToImage` method that is modified in this PR is currently
called only by the snapshot feature in `Scene` But of course I suspect the same technique could also be used to solve
[JDK-8189082](https://bugs.openjdk.java.net/browse/JDK-8189082) and now is indeed a good time to investigate it
further. I'll have a look to see if it is possible to factorize the tiling implementation for both classes of issues,
in which case it would make sense to do prior to merging this PR. If it is different enough that the implementation
cannot be shared but only the general idea, then I suggest we address it in a different PR.

What do you all think ?

-------------

PR: https://git.openjdk.java.net/jfx/pull/112


More information about the openjfx-dev mailing list