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

Frederic Thevenet github.com+7450507+fthevenet at openjdk.java.net
Mon Mar 9 10:01:54 UTC 2020


On Sun, 8 Mar 2020 12:47:52 GMT, Nir Lisker <nlisker at openjdk.org> wrote:

>> The pull request has been updated with 1 additional commit.
>
> modules/javafx.graphics/src/main/java/javafx/scene/Scene.java line 1296:
> 
>> 1295:         int width = Math.max(xMax - xMin, 1);
>> 1296:         int height = Math.max(yMax - yMin, 1);
>> 1297:         if (wimg == null) {
> 
> The changes here do not need to be reverted, this is still extra calculation.

Well spotted. I've re-applied that change.

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

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


More information about the openjfx-dev mailing list