File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ namespace rs2
159
159
namespace performance
160
160
{
161
161
static const char * glsl_for_rendering{ " performance.glsl_for_rendering.v2" };
162
- static const char * glsl_for_processing{ " performance.glsl_for_processing.v2 " };
162
+ static const char * glsl_for_processing{ " performance.glsl_for_processing.v3 " };
163
163
static const char * enable_msaa{ " performance.msaa" };
164
164
static const char * msaa_samples{ " performance.msaa_samples" };
165
165
static const char * show_fps{ " performance.show_fps" };
Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ namespace rs2
105
105
106
106
config_file::instance ().set_nested_default (configurations::dds::enable_dds, false );
107
107
config_file::instance ().set_nested_default (configurations::dds::domain_id, 0 );
108
+
108
109
#ifdef __APPLE__
109
110
110
111
config_file::instance ().set_default (configurations::performance::font_oversample, 2 );
@@ -158,6 +159,10 @@ namespace rs2
158
159
config_file::instance ().set_default (configurations::viewer::shading_mode, 0 );
159
160
}
160
161
#endif
162
+
163
+ // Since we have seen on several laptops models that using GLSL for processing cause a memory leak decided to disable it by default
164
+ // Users can still enable it if they wish
165
+ config_file::instance ().set_default (configurations::performance::glsl_for_processing, false );
161
166
}
162
167
163
168
void ux_window::reload ()
You can’t perform that action at this time.
0 commit comments