Nikolay Igotti
Nikolay Igotti
Interesting, hard to say from the crashdump, as workaround please use direct software rendering.
I.e. with env variable `SKIKO_RENDER_API=DIRECT_SOFTWARE`.
No need to modify Skiko - we already name is in proper format.
Probably we shall be careful when creating such tasks, as it may unintentionally clutter native distribution for particular platform with unneeded Skia for other platforms.
Probably safer approach would be not rely on AWT fonts in Compose apps at all. Why it is needd?
Profiler just got merged, so feel free to use it.
Would you accept contribution making the library multiplatform?
Seems crash is in ``` j org.jetbrains.skiko.redrawer.Direct3DRedrawer.makeDirectXRenderTarget(JII)J+0 j org.jetbrains.skiko.redrawer.Direct3DRedrawer.makeRenderTarget(JII)Lorg/jetbrains/skija/BackendRenderTarget;+9 j org.jetbrains.skiko.context.Direct3DContextHandler.initCanvas()V+55 j org.jetbrains.skiko.SkiaLayer.draw()V+83 j org.jetbrains.skiko.redrawer.Direct3DRedrawer.draw()V+4 j org.jetbrains.skiko.redrawer.Direct3DRedrawer.redrawImmediately()V+57 j org.jetbrains.skiko.SkiaLayer.paint(Ljava/awt/Graphics;)V+77 j javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+523 java.desktop@15 j javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+318 java.desktop@15 j javax.swing.JLayeredPane.paint(Ljava/awt/Graphics;)V+73 java.desktop@15 j javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+523...
Guess we could close it, once SwingPanel support merged.
Runtime instrumentation is indeed likely out of the question. Unless we will do something like https://en.wikipedia.org/wiki/DTrace with lightweight probes. Compile-time wise, there are options. Most obvious one is a source...