This repo contains samples for DriftFX.
- Native code (C++) Samples using the driftcpp api
seeorg.eclipse.fx.drift.samples.cpp
andorg.eclipse.fx.drift.samples.cpp.native
- Pure Java Samples using lwjgl
seeorg.eclipse.fx.drift.samples.lwjgl
- e4 sample (pde based)
seedriftfx-e4-sample
If you create a sample which uses drift feel free to contribute it to this repo. We are happy to add all kinds of samples which use drift to render to java fx. ;-)
To simple start the samples use gradle:
TBD
export JAVA_HOME=/path/to/your/jdk-11
export JAVA_HOME_11=$JAVA_HOME
gradle run11
TBD
eclipse VM arguments
--module-path ${project_classpath:org.eclipse.fx.drift.samples}
--add-modules javafx.controls
--add-exports javafx.graphics/com.sun.javafx.sg.prism=ALL-UNNAMED
--add-exports javafx.graphics/com.sun.javafx.scene=ALL-UNNAMED
--add-exports javafx.graphics/com.sun.javafx.util=ALL-UNNAMED
--add-exports javafx.graphics/com.sun.javafx.tk=ALL-UNNAMED
--add-exports javafx.graphics/com.sun.javafx.geom=ALL-UNNAMED
--add-exports javafx.graphics/com.sun.javafx.geom.transform=ALL-UNNAMED
--add-exports javafx.graphics/com.sun.javafx.scene.text=ALL-UNNAMED
--add-exports javafx.graphics/com.sun.javafx.font=ALL-UNNAMED
--add-exports javafx.graphics/com.sun.prism.paint=ALL-UNNAMED
--add-opens javafx.graphics/com.sun.prism=ALL-UNNAMED
--add-opens javafx.graphics/com.sun.prism.es2=ALL-UNNAMED
--add-opens javafx.graphics/com.sun.prism.d3d=ALL-UNNAMED
--add-opens javafx.graphics/com.sun.prism.impl=ALL-UNNAMED