From b6dc03080fa3ca1a11c47d9ecdb573e3c1531b4c Mon Sep 17 00:00:00 2001 From: Arunprasad Rajkumar Date: Wed, 18 Jul 2018 11:17:14 +0530 Subject: [PATCH] Disable Accelerated Composition by default, will be enabled once it is stablized --- .../javafx.web/src/main/java/com/sun/webkit/WebPage.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/javafx.web/src/main/java/com/sun/webkit/WebPage.java b/modules/javafx.web/src/main/java/com/sun/webkit/WebPage.java index d1fc74926b..166295a45b 100644 --- a/modules/javafx.web/src/main/java/com/sun/webkit/WebPage.java +++ b/modules/javafx.web/src/main/java/com/sun/webkit/WebPage.java @@ -146,8 +146,11 @@ public final class WebPage { "com.sun.webkit.useJIT", "true")); final boolean useDFGJIT = Boolean.valueOf(System.getProperty( "com.sun.webkit.useDFGJIT", "true")); - final boolean useCSS3D = Boolean.valueOf(System.getProperty( - "com.sun.webkit.useCSS3D", Platform.isSupported(ConditionalFeature.SCENE3D) ? "true" : "false")); + + // TODO: Enable CSS3D by default once it is stabilized. + boolean useCSS3D = Boolean.valueOf(System.getProperty( + "com.sun.webkit.useCSS3D", "false")); + useCSS3D = useCSS3D && Platform.isSupported(ConditionalFeature.SCENE3D); // Initialize WTF, WebCore and JavaScriptCore. twkInitWebCore(useJIT, useDFGJIT, useCSS3D);