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 slowness with viewer get_option_values() while drawing #12753

Merged
merged 1 commit into from Mar 14, 2024

Conversation

maloel
Copy link
Collaborator

@maloel maloel commented Mar 14, 2024

PR #12708 introduced slowness because rs2_get_options_list is called when drawing controls.

  • Instead of calling the API, draw the controls already stored in options_metadata, populated with rs2_get_options_list during creation in subdevice-model

@maloel maloel added the bug label Mar 14, 2024
@maloel maloel requested a review from Nir-Az March 14, 2024 10:35
@Nir-Az Nir-Az merged commit 18489a6 into IntelRealSense:development Mar 14, 2024
16 of 17 checks passed
@maloel maloel deleted the slow-opt branch March 14, 2024 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants