Skip to content

fix slowness with viewer get_option_values() while drawing - #12753

Merged
Nir-Az merged 1 commit into
realsenseai:developmentfrom
maloel:slow-opt
Mar 14, 2024
Merged

fix slowness with viewer get_option_values() while drawing#12753
Nir-Az merged 1 commit into
realsenseai:developmentfrom
maloel:slow-opt

Conversation

@maloel

@maloel maloel commented Mar 14, 2024

Copy link
Copy Markdown
Contributor

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 realsenseai:development Mar 14, 2024
@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.

2 participants