Skip to content

Set GL preference to GLVND. #1349

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

Merged
merged 1 commit into from
Sep 25, 2021
Merged

Set GL preference to GLVND. #1349

merged 1 commit into from
Sep 25, 2021

Conversation

JulianGro
Copy link
Contributor

Originally by daleglass.

This PR allows cmake use libOpenGL and libGLX directly instead of going through libGL. Current libGL is basically a compatibility layer for this, so nothing should change except that we save that layer. My understanding is that this might slightly improve performance. Compatibility is given for all distributions Vircadia can currently run on.

Windows is not affected by this change.
MacOS might be affected and should be tested.

The issue that we ran into in the past was that we provided libOpenGL in the AppImages which somehow broke GLVND. vircadia/vircadia-builder#73 fixes this.

The original PR is #763

@JulianGro JulianGro added needs testing (QA) The PR is ready for testing needs CR (code review) linux This is related to Linux. labels Sep 18, 2021
@JulianGro JulianGro requested a review from daleglass September 18, 2021 01:13
@JulianGro JulianGro linked an issue Sep 18, 2021 that may be closed by this pull request
@digisomni digisomni added this to the 2021.2.0 Selene Release milestone Sep 19, 2021
@digisomni digisomni added CR Approved At least one code reviewer has approved the PR. CMake labels Sep 19, 2021
@digisomni
Copy link
Member

Successfully ran by Dave K. with an Intel Mac running Big Sur.

@daleglass daleglass added QA Approved The PR has been tested successfully. and removed needs testing (QA) The PR is ready for testing labels Sep 25, 2021
@daleglass
Copy link
Contributor

Tested on Linux, everything looks fine.

@daleglass daleglass merged commit 3349d02 into vircadia:master Sep 25, 2021
@JulianGro JulianGro deleted the use_GLVND branch September 26, 2021 06:15
@digisomni digisomni changed the title Set GL preference to GLVND Set GL preference to GLVND. Nov 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CMake CR Approved At least one code reviewer has approved the PR. linux This is related to Linux. QA Approved The PR has been tested successfully.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Code should be built with OpenGL_GL_PREFERENCE=GLVND
4 participants