The embedded JavaFX arm version throws a runtime exception when a BoxBlur effect is applied: Error creating shader program.
The following code may be used to reproduce the error:
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.effect.BoxBlur;
import javafx.scene.layout.StackPane;
import javafx.scene.shape.Circle;
import javafx.stage.Stage;
public class BoxBlurStandalone extends Application {
public static void main(final String[] args) {
Application.launch(args);
}
@Override
public void start(final Stage primaryStage) throws Exception {
final StackPane pane = new StackPane();
final Scene scene = new Scene(pane, 400, 400);
final Circle circle = new Circle(50);
circle.setEffect(new BoxBlur(50, 100, 2));
pane.getChildren().add(circle);
primaryStage.setScene(scene);
primaryStage.show();
}
}
The following code may be used to reproduce the error:
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.effect.BoxBlur;
import javafx.scene.layout.StackPane;
import javafx.scene.shape.Circle;
import javafx.stage.Stage;
public class BoxBlurStandalone extends Application {
public static void main(final String[] args) {
Application.launch(args);
}
@Override
public void start(final Stage primaryStage) throws Exception {
final StackPane pane = new StackPane();
final Scene scene = new Scene(pane, 400, 400);
final Circle circle = new Circle(50);
circle.setEffect(new BoxBlur(50, 100, 2));
pane.getChildren().add(circle);
primaryStage.setScene(scene);
primaryStage.show();
}
}
- is blocked by
-
JDK-8097863 ES2: Need to provide query and print out (on verbose) support for OpenGL ES2 implementation dependent limits
- Resolved