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

fix: Avoid disabling hardware acceleration on every platform #7940

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

atomrc
Copy link
Contributor

@atomrc atomrc commented Jun 12, 2024

To avoid a bug on hardwares that did not have GPU, we conditionally disabled hardware acceleration if 2d_canvas was disabled.

Problem is: this info is not available directly, it need to wait for the gpu-info-update event to be fired before it can be read.

This PR makes sure the gpu info are ready before conditionally disabling hardware acceleration.

Copy link

sonarcloud bot commented Jun 12, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@atomrc atomrc merged commit 3fbfcaa into dev Jun 12, 2024
5 checks passed
@atomrc atomrc deleted the fix/hardware-acceleration branch June 12, 2024 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants