Unverified Commit b43f419d authored by Nikolay Igotti's avatar Nikolay Igotti Committed by GitHub

Skija update (#17)

parent 1e752028
...@@ -233,6 +233,7 @@ tasks.withType(CppCompile::class.java).configureEach { ...@@ -233,6 +233,7 @@ tasks.withType(CppCompile::class.java).configureEach {
"-DSK_SHAPER_HARFBUZZ_AVAILABLE", "-DSK_SHAPER_HARFBUZZ_AVAILABLE",
"-DSK_SUPPORT_OPENCL=0", "-DSK_SUPPORT_OPENCL=0",
"-Dskija_EXPORTS", "-Dskija_EXPORTS",
"-DSK_UNICODE_AVAILABLE",
"-DNDEBUG" "-DNDEBUG"
)) ))
when (target) { when (target) {
...@@ -290,7 +291,7 @@ project.tasks.register<Exec>("objcCompile") { ...@@ -290,7 +291,7 @@ project.tasks.register<Exec>("objcCompile") {
val objcSrc = "drawlayer" val objcSrc = "drawlayer"
commandLine = listOf( commandLine = listOf(
"clang", "clang",
"-mmacosx-version-min=10.14", "-mmacosx-version-min=10.13",
"-I$jdkHome/include", "-I$jdkHome/include",
"-I$jdkHome/include/darwin", "-I$jdkHome/include/darwin",
"-c", "-c",
......
kotlin.code.style=official kotlin.code.style=official
deploy.version=0.1 deploy.version=0.1
dependencies.skija.git.commit=11dc7805b8148df8f7b2c72651008b73bf06c00d dependencies.skija.git.commit=c95dec9940f972be1b4457cc3ddad0da767b2495
dependencies.skia.windows=m87-a0c82f0/Skia-m87-a0c82f0-windows-Release-x64 dependencies.skia.windows=m87-4893488/Skia-m87-4893488-windows-Release-x64
dependencies.skia.linux=m87-a0c82f0/Skia-m87-a0c82f0-linux-Release-x64 dependencies.skia.linux=m87-4893488/Skia-m87-4893488-linux-Release-x64
dependencies.skia.macos=m87-a0c82f0/Skia-m87-a0c82f0-macos-Release-x64 dependencies.skia.macos=m87-4893488/Skia-m87-4893488-macos-Release-x64
...@@ -55,6 +55,7 @@ object Library { ...@@ -55,6 +55,7 @@ object Library {
private fun miscSystemInit() { private fun miscSystemInit() {
// we have to set this property to avoid render flickering. // we have to set this property to avoid render flickering.
System.setProperty("sun.awt.noerasebackground", "true") System.setProperty("sun.awt.noerasebackground", "true")
System.setProperty("skija.staticLoad", "false")
// setup menu look and feel // setup menu look and feel
try { try {
...@@ -64,4 +65,4 @@ object Library { ...@@ -64,4 +65,4 @@ object Library {
// Not all platforms allow this. // Not all platforms allow this.
} }
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment