-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DirectX rendering implementation. #63
Conversation
skiko/build.gradle.kts
Outdated
@@ -380,7 +381,10 @@ tasks.withType(LinkSharedLibrary::class.java).configureEach { | |||
"Dwmapi.lib", | |||
"opengl32.lib", | |||
"shcore.lib", | |||
"user32.lib" | |||
"user32.lib", | |||
"d3d12.lib", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it mean we must have dx12 dlls on the target system?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I understand, the new graphics card drivers contain the d3d12 library, but depending on the OS and D3D_FEATURE_LEVEL_11_0
may create a DirectX12 or DirectX11 context. But I cannot verify this yet. The best solution is to test this on Windows 8 / 8.1 because Microsoft has released DirectX12 support on Windows 7.
skiko/src/jvmMain/kotlin/org/jetbrains/skiko/SkikoProperties.kt
Outdated
Show resolved
Hide resolved
skiko/src/jvmMain/kotlin/org/jetbrains/skiko/context/Direct3DContextHandler.kt
Outdated
Show resolved
Hide resolved
skiko/src/jvmMain/kotlin/org/jetbrains/skiko/context/Direct3DContextHandler.kt
Show resolved
Hide resolved
skiko/src/jvmMain/kotlin/org/jetbrains/skiko/redrawer/Direct3DRedrawer.kt
Show resolved
Hide resolved
skiko/src/jvmMain/kotlin/org/jetbrains/skiko/context/Direct3DContextHandler.kt
Outdated
Show resolved
Hide resolved
…eachabilityFence.
DirectX rendering support.