- 04 Nov, 2025 1 commit
-
-
vladertel authored
Migrate Dockerfiles to use Amazon Linux 2 from Ubuntu 20.04 for both amd64 and arm64 platforms (#1120)
-
- 17 Oct, 2025 1 commit
-
-
Christoph authored
As of November Google requires 16kb page sizes for native libraries. https://developer.android.com/guide/practices/page-sizes Updated the ndk version in the gradle and docker files Tested this with the sample app and also with a more complex project. Fixes [SKIKO-1064](https://youtrack.jetbrains.com/issue/SKIKO-1064)
-
- 13 Oct, 2025 1 commit
-
-
Alexander Maryanovsky authored
-
- 12 Oct, 2025 1 commit
-
-
Alexander Maryanovsky authored
-
- 09 Oct, 2025 2 commits
-
-
Igor Demin authored
Reverts JetBrains/skiko#1082 Sign task failed on CI (`publishSkikoJvmRuntimeWindowsX64PublicationToComposeRepoRepository`): ``` Some problems were found with the configuration of task ':signSkikoJvmRuntimeWindowsX64Publication' (type 'Sign'). 16:29:09 - Gradle detected a problem with the following location: 'C:\buildagent\work\381d14fe560aa354\skiko\build\libs\skiko-0.9.28+debug-javadoc.jar.asc'. org.gradle.internal.execution.WorkValidationException: Some problems were found with the configuration of task ':signSkikoJvmRuntimeWindowsX64Publication' (type 'Sign'). - Gradle detected a problem with the following location: 'C:\buildagent\work\381d14fe560aa354\skiko\build\libs\skiko-0.9.28+debug-javadoc.jar.asc'. Reason: Task ':publishSkikoJvmRuntimeAngleWindowsX64PublicationToComposeRepoRepository' uses this output of task ':signSkikoJvmRuntimeWindowsX64Publication' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Possible solutions: 1. Declare task ':signSkikoJvmRuntimeWindowsX64Publication' as an input of ':publishSkikoJvmRuntimeAngleWindowsX64PublicationToComposeRepoRepository'. 2. Declare an explicit dependency on ':signSkikoJvmRuntimeWindowsX64Publication' from ':publishSkikoJvmRuntimeAngleWindowsX64PublicationToComposeRepoRepository' using Task#dependsOn. 3. Declare an explicit dependency on ':signSkikoJvmRuntimeWindowsX64Publication' from ':publishSkikoJvmRuntimeAngleWindowsX64PublicationToComposeRepoRepository' using Task#mustRunAfter. For more information, please refer to https://docs.gradle.org/8.14.3/userguide/validation_problems.html#implicit_dependency in the Gradle documentation. - Gradle detected a problem with the following location: 'C:\buildagent\work\381d14fe560aa354\skiko\build\libs\skiko-0.9.28+debug-sources.jar.asc'. Reason: Task ':publishSkikoJvmRuntimeAngleWindowsX64PublicationToComposeRepoRepository' uses this output of task ':signSkikoJvmRuntimeWindowsX64Publication' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Possible solutions: 1. Declare task ':signSkikoJvmRuntimeWindowsX64Publication' as an input of ':publishSkikoJvmRuntimeAngleWindowsX64PublicationToComposeRepoRepository'. 2. Declare an explicit dependency on ':signSkikoJvmRuntimeWindowsX64Publication' from ':publishSkikoJvmRuntimeAngleWindowsX64PublicationToComposeRepoRepository' using Task#dependsOn. 3. Declare an explicit dependency on ':signSkikoJvmRuntimeWindowsX64Publication' from ':publishSkikoJvmRuntimeAngleWindowsX64PublicationToComposeRepoRepository' using Task#mustRunAfter. For more information, please refer to https://docs.gradle.org/8.14.3/userguide/validation_problems.html#implicit_dependency in the Gradle documentation. ``` -
Igor Demin authored
An addition to [the feature PR](https://github.com/JetBrains/skiko/pull/1017) that allows including ANGLE the same way as Skiko native libraries included: - unpack it from an additional jar `org.jetbrains.skiko:skiko-awt-runtime-angle-$target:$version` - find them in `skiko.library.path` directoty (a system property) - find them in `java.home` It reuses the same logic that is used to load `Skiko.dll`. Currently only Windows supported, the same way as in the original PR. No CI changes needed, as building of this jar is added as a dependency for `publishSkikoJvmRuntimeWindowsX64PublicationToComposeRepoRepository`/`publishSkikoJvmRuntimeWindowsArm64PublicationToComposeRepoRepository` ## Testing Manually with `skiko.rendering.angle.enabled` true/false on SkikoAwtSample. ## Release Notes (Skiko) ### Features - Desktop A new experimental renderer is introduced for Windows. It uses [the ANGLE library](https://github.com/google/angle) which has proven to be stable because it is used inside Chromium, compared to the `DIRECT3D` renderer that has issues on a few machines. Note that `ANGLE` still uses `DIRECT3D` API under the hood. 1. Add this to the code to enable it: ``` System.setProperty("skiko.rendering.angle.enabled", "true") ``` 2. Add the ANGLE library into the dependencies: - If you use Gradle: ``` if (System.getProperty("os.name").startsWith("Win")) { implementation("org.jetbrains.skiko:skiko-awt-runtime-angle-$target:$version") } ``` - If you set `skiko.library.path`. Extract `libEGL.dll`, `libGLESv2.dll` from https://github.com/JetBrains/angle-pack/releases into this directory. ## Release Notes (Compose) ### Features - Desktop N/A Until we specify how to match Skiko and Compose versions, or include it in Compose, it is a Skiko-only experimental feature. Some projects can include Skiko directly, it should work, but not supported as a Compose feature.
-
- 08 Oct, 2025 3 commits
-
-
Ivan Matkov authored
Restoring correct behaviour of caches after #1108 --------- Co-authored-by:Igor Demin <igordmn@users.noreply.github.com>
-
Alexander Maryanovsky authored
-
Alexander Maryanovsky authored
-
- 07 Oct, 2025 1 commit
-
-
Eric Shelbogashev authored
Fixed - Unresolved reference 'layer' in MacosClocks constructor - Added startup trigger `skiaLayer.needRedraw()` in main()
-
- 21 Sep, 2025 1 commit
-
-
Alexander Maryanovsky authored
-
- 17 Sep, 2025 1 commit
-
-
Igor Demin authored
Fix "ComposePanel doesn't use hardware acceleration with RenderSettings.SwingGraphics on Linux" (#1103) Fixes https://youtrack.jetbrains.com/issue/CMP-8936 `glXChooseFBConfig` fails to find a config with `GLX_DOUBLEBUFFER, False` on my machine, it only has double buffered configs. But double/single buffering doesn't matter as we use pixel buffers. Also choose a correct config that is required by https://registry.khronos.org/OpenGL-Refpages/gl2.1/xhtml/glXCreatePbuffer.xml: ``` BadMatch is generated if config does not support rendering to pixel buffers (e.g., GLX_DRAWABLE_TYPE does not contain GLX_PBUFFER_BIT) ``` ## Testing - manually, in the clocks example - the modified test failed before the fix, now it doesn't fail ## Release Notes (Skiko) Fix "SkiaSwingLayer doesn't use hardware acceleration on Linux" ## Release Notes (Compose) ### Fixes - Desktop Fix "ComposePanel doesn't use hardware acceleration with RenderSettings.SwingGraphics on Linux"
-
- 16 Sep, 2025 1 commit
-
-
Nikita Lipsky authored
Fixes: [CMP-8916](https://youtrack.jetbrains.com/issue/CMP-8916/Provide-a-way-to-configure-Skias-DirectContext-GPU-Resource-Cache-size) The cache can be limited on Desktop platforms by specifying `-Dskiko.gpu.resourceCacheLimit` VM property (accepts numbers optionally suffixed with "K", "M" or "G").
-
- 15 Sep, 2025 1 commit
-
-
Alexander Maryanovsky authored
-
- 12 Sep, 2025 2 commits
-
-
Alexander Maryanovsky authored
-
Alexander Maryanovsky authored
-
- 11 Sep, 2025 4 commits
-
-
Ivan Matkov authored
Generate release notes like in https://github.com/JetBrains/skiko/releases/tag/v0.9.25 automatically
-
Ivan Matkov authored
It fixes ``` :setupMultistrapLinuxArm64 E: Can't find a source to download version '2020.02.11.4' of 'ubuntu-keyring:amd64' ``` failure on CI (#1096 regression). Usually `/var/lib/apt/lists` is recommended to be removed from final docker images. But in our case, `multistrap` tool requires downloading some dependencies during the build. It's the issue only on `linux-amd64`, for others linux images this removal is correct.
-
Ivan Matkov authored
Publishing CI fails after Gradle update because of it
-
Ivan Matkov authored
Changes: - Moved Windows docker image from compose repo - Update JDK to 21 in all images - Cleanup unused scripts/CI stages/etc
-
- 09 Sep, 2025 4 commits
-
-
Shagen Ogandzhanian authored
This PR updates SkikoJsSample (which is renamed to SkikoWebSample) in following aspects: - By default sample built against release version so that user can check the sample without local build at all - When build against local skiko, `skiko.version` parameter is ignored - Sample code commonized and prepared for future introduction of common web source sets in Kotlin 2.2.20
-
Ivan Matkov authored
Fixes [SKIKO-1039](https://youtrack.jetbrains.com/issue/SKIKO-1039) Update Skiko project to K2 - Update Kotlin to 2.0.10 - Fix `InteropPointer` declaration - Fix warnings
-
Ivan Matkov authored
Fixes [SKIKO-761](https://youtrack.jetbrains.com/issue/SKIKO-761) SkikoAndroidSample crashes with skiko v0.7.68 Testing: run `SkikoAndroidSample`
-
Ivan Matkov authored
Also: - Update JDK in GitHub Actions to 21 - AGP in SkiaAndroidSample to 8.9.0 - Kotlin in SkiaAwtSample to 1.9.21 - macosx-version-min=10.15 (align to skia, there was a warning) - Various deprecation warnings in build scripts
-
- 08 Sep, 2025 1 commit
-
-
Shagen Ogandzhanian authored
Following changes introduced in this PR: * jsWasmMain and jsWasmTest sourcesets renamed to webMain and webTest (it causes less confusion, regarding the fact that we already have wasmJsMain, apart from that, this would be a standard name for this sourceset in webMain) * remove redunant resource processing (there's yet room for improvement though) * Simplify wasm task introduction * Remove flag for building js separately from wasm (this flag was a lie - we can not have separate js target)
-
- 05 Sep, 2025 1 commit
-
-
Alexander Maryanovsky authored
-
- 26 Aug, 2025 1 commit
-
-
Ivan Matkov authored
-
- 14 Aug, 2025 3 commits
-
-
Alovchin91 authored
Update instructions for VS 2022.
-
Igor Demin authored
It is now required for development. Tested it locally
-
Alovchin91 authored
This change adds ANGLE renderer support to Skiko. [ANGLE project](https://chromium.googlesource.com/angle/angle) translates OpenGL ES API calls to the native platform's graphics API. This is mostly useful on Windows where ANGLE provides the Direct3D 11 backend. Right now, there is a gap in Skiko's graphics support. On Windows ARM, Skia doesn't support OpenGL yet. At the same time, some GPUs, like Parallels or VMware virtual GPUs, don't support DirectX 12. This means Skiko falls back to the slow software rendering on those GPUs. ANGLE solves this problem by providing an easy-to-use DirectX 11 backend. In addition, ANGLE is used by Chromium-based browsers and apps, so we expect it to be more stable than Skia's DirectX backend. --------- Co-authored-by:
Igor Demin <igor.demin@jetbrains.com>
-
- 08 Aug, 2025 4 commits
-
-
Ivan Matkov authored
Fixes [CMP-8701](https://youtrack.jetbrains.com/issue/CMP-8701) Addition to https://github.com/JetBrains/skia/pull/11
-
Ivan Matkov authored
-
Vladimir Mazunin authored
updated skia version to m138-9e6b5bff162-2
-
- 21 Jul, 2025 1 commit
-
-
Shagen Ogandzhanian authored
Co-authored-by:Vladimir Mazunin <vladimir.mazunin@jetbrains.com>
-
- 18 Jul, 2025 1 commit
-
-
Shagen Ogandzhanian authored
This is part of achieving goals described in https://youtrack.jetbrains.com/issue/CMP-7674
-
- 04 Jul, 2025 1 commit
-
-
Victor Kropp authored
fixes SKIKO-1035
-
- 02 Jul, 2025 3 commits
-
-
Igor Demin authored
-
Alen MapuH authored
### New: (related #1019) 1. Adds bindings to GrBackendTextures::MakeGL 2. Adds bindings to SkImages::AdoptTextureFrom 3. Adds bindings to GrBackendTextures::GLTextureParametersModdified ### Changes in build scripts: (related #742) 1. Add file paths treating if building on Windows machine 2. Use "emcc.bat" instead of "emcc" if building on Windows machine, as described on Emscripten website ### Use-case: Allows skia to draw images, rendered externally on gpu. Compose would benefit greatly, allowing to embed VideoPlayer or Browser without any friction or need to use Swing.
-
Igor Demin authored
New sources are in https://github.com/JetBrains/compose-multiplatform/pull/5343 Was published in https://teamcity.jetbrains.com/buildConfiguration/JetBrainsPublicProjects_Compose_PublishBuildHelpers/5279403 from a branch
-