[Rev 01] RFR: 8088198: Exception thrown from snapshot if dimensions are larger than max texture size

Frederic Thevenet github.com+7450507+fthevenet at openjdk.java.net
Thu Jan 16 16:20:38 UTC 2020


On Thu, 16 Jan 2020 10:47:26 GMT, Ambarish Rapte <arapte 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 1303:
> 
>> 1302:         if (height > maxTextureSize || width > maxTextureSize) {
>> 1303:             // The requested size for the screenshot is to big to fit a single texture,
>> 1304:             // so we need to take several snapshot tiles and merge them into single image (fixes JDK-8088198)
> 
> Should be `too` big to fit

done in 501917284e0490d16b1831fcd854e31a779449b9

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

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


More information about the openjfx-dev mailing list