Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
Disable Accelerated Composition by default, will be enabled once it i…
Browse files Browse the repository at this point in the history
…s stablized
  • Loading branch information
arajkumar committed Jul 18, 2018
1 parent b30c40b commit b6dc030
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions modules/javafx.web/src/main/java/com/sun/webkit/WebPage.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b6dc030

Please sign in to comment.