-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Change GLSL for processing to default off #14021
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
Conversation
common/ux-window.cpp
Outdated
| // while this can be worked-around, this will take more development time, | ||
| // so for now Macs should not use the GLSL stuff | ||
| config_file::instance().set_default(configurations::performance::glsl_for_processing, false); | ||
| //config_file::instance().set_default(configurations::performance::glsl_for_processing, false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I comment out the placed that set it because it has special logic if it's MAC or not
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure about removing it or keep it commented out, thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't remove. It's an historical investigation we won't have time and resources to re-investigate if users will complain about again. I would even leave uncommented.
common/ux-window.cpp
Outdated
| config_file::instance().set_nested_default(configurations::dds::enable_dds, false); | ||
| config_file::instance().set_nested_default(configurations::dds::domain_id, 0); | ||
|
|
||
| // Since we have seen on severan laptops models that using GLSL for processing cause a memory leak Decided to disable it by default |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor. If doing other changes in the file. Typo "severan". "Decided" does not need capital letter.
|
I changed the order and fix the typos, please re-review |
…lt to off (cherry picked from commit e9e0bb6)
We have seen that several laptops consume high memory and even gets a memory leak when GLSL for processing feature in the RS viewer is ON.
This will disable it by default, user can still turn it on if he likes.
Tracked on [LRS-1266]