Skip to content

Refactors glasses connection handling. - #80

Open
patrickdown wants to merge 1 commit into
GodotVR:mainfrom
patrickdown:refactor-glasses-reconnection
Open

Refactors glasses connection handling.#80
patrickdown wants to merge 1 commit into
GodotVR:mainfrom
patrickdown:refactor-glasses-reconnection

Conversation

@patrickdown

Copy link
Copy Markdown
Collaborator

Improves glasses connection and disconnection logic to handle unavailable glasses more robustly.

Renames on_start_display and on_stop_display to on_allocate_render_textures and on_deallocate_render_textures respectively to better reflect their purpose.

Adds a monitor task for unavailable glasses and logic to re-attempt connection.

Adds the set_existing API to the Glasses class to separate glasses handle creation from the state of being existing member of the NDK glasses list.

Improves glasses connection and disconnection logic to handle unavailable glasses more robustly.

Renames `on_start_display` and `on_stop_display` to `on_allocate_render_textures` and `on_deallocate_render_textures` respectively to better reflect their purpose.

Adds a monitor task for unavailable glasses and logic to re-attempt connection.

Adds the `set_existing` API to the Glasses class to separate glasses handle creation from the state of being existing member of the NDK glasses list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant