Skip to content
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

Offscreen, Linux. Fix native crash when OpenGL isn't available #877

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

igordmn
Copy link
Collaborator

@igordmn igordmn commented Feb 23, 2024

Instead, fallback to Software.

Discovered during #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

Instead, fallback to Software.

Discovered during #876 investigation
@igordmn igordmn requested review from Walingar and elijah-semyonov and removed request for Walingar February 23, 2024 19:27
@igordmn igordmn merged commit 20f8941 into master Feb 26, 2024
5 checks passed
@igordmn igordmn deleted the igor.demin/fix-linux-offscreen-crash branch February 26, 2024 15:32
igordmn added a commit that referenced this pull request Feb 28, 2024
Instead, fallback to Software.

Discovered during #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
igordmn added a commit to JetBrains/compose-multiplatform-core that referenced this pull request Feb 29, 2024
## Proposed Changes
A diff is JetBrains/skiko@v0.7.93...v0.7.94

## Issues Fixed

[Offscreen, Linux. Fix native crash when OpenGL isn't
available](JetBrains/skiko#877)
[Fix loadOpenGLLibrary for web
targets](JetBrains/skiko#875)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants