Skip to content

Releases: JetBrains/skiko

Version 0.7.98.1

14 Mar 17:33
4721587
Compare
Choose a tag to compare
Remove media events from Skiko completely (#892)

This is the skiko part of
https://youtrack.jetbrains.com/issue/COMPOSE-1149/wasm-js-Remove-media-events-from-Skiko

This commit introduces following changes:

 * CanvasRenderer is html-agnostic and deals with NativePointer
* SkiaLayer does not set any DOM dimensions of the canvas - it's up to
the user of the Skia to resolve this dimensions
 * Media event listeners are removed completely

Version 0.7.97

06 Mar 19:35
c3a9008
Compare
Choose a tag to compare
Windows. Fix a crash when we resize to zero and then to non-zero (#883)

Fixes https://github.com/JetBrains/compose-multiplatform/issues/4425

It is a regression after https://github.com/JetBrains/skiko/pull/858

The crash was because `d3dDevice->swapChain->GetBuffer` didn't return
the buffer to draw on if we reused the buffer from the previous frame
(we didn't change `surface` in case of zero size).

I am not completely sure why, but I exhausted my the investigation limit
and this fix is needed by other reasons (we need to wait for vsync).

## Testing
An additional check in the existed test (fails before the fix)

Version 0.7.96

01 Mar 19:45
2f711b7
Compare
Choose a tag to compare
Update skiko build for ICU renamed symbols (#881)

Now we build skia/icu with _skiko suffix to avoid clashes with Apple SDK

Corresponding skia change: https://github.com/JetBrains/skia/pull/3

Corresponding skia commit:
https://github.com/JetBrains/skia/commit/47d3027b8cbeea76135c0995d5886aa2e58e7512

Version 0.7.95.1

01 Mar 16:32
Compare
Choose a tag to compare
v0.7.95.1

Use CreateSwapChainForHwnd without transparency

Version 0.7.95

01 Mar 14:35
0f1775d
Compare
Choose a tag to compare
Add fallback to `CreateSwapChainForHwnd` (#856)

It adds a fallback to the old initialization method in case of any
problems.

Version 0.7.94

26 Feb 16:04
20f8941
Compare
Choose a tag to compare
Offscreen, Linux. Fix native crash when OpenGL isn't available (#877)

Instead, fallback to Software.

Discovered during https://github.com/JetBrains/skiko/issues/876
investigation

## Explanation

We throw RenderException, and Fallback mechanism catches it and switches
to Software

## Testing

1. Setup the system without OpenGL
2. Run SkiaSwingLayer
3. See the native crash

Version 0.7.93

10 Feb 17:15
1d380da
Compare
Choose a tag to compare
Update skia version - m116-b54492e-3 (#871)

* Update skia version - m116-b54492e-1

* test windows

* Update skia version to m116-b54492e-3

Version 0.7.92

06 Feb 12:50
f49e746
Compare
Choose a tag to compare
Remove js/wasm events handling from skiko (almost) completely (#864)

This is first part of achieving goal of COMPOSE-891

Version 0.7.91

05 Feb 12:37
21d7a12
Compare
Choose a tag to compare
Don't try to init D3D with zero size (#858)

* Don't try to init D3D with zero size

* Pass AWT size for swap chain initialization

* Avoid reading size twice

Version 0.7.90

12 Dec 16:32
5a29cb5
Compare
Choose a tag to compare
Transparency support for D3D swap chain (#837)

* Transparency support for D3D swap chain

* Store composition objects in DirectXDevice

* Fix AWT transparent sample