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

Handle loss of WebGL context #375

Open
wouterlucas opened this issue Sep 10, 2024 · 1 comment
Open

Handle loss of WebGL context #375

wouterlucas opened this issue Sep 10, 2024 · 1 comment

Comments

@wouterlucas
Copy link
Contributor

Seems newer Chrome >123 versions will pull the WebGL context, this was raised in a previous L2 issue where we stated coming up with such a solution would be hard with the state of the L2 code being what it is. However we should experiment with ways to do so in L3.

Assuming:

  • We get an event that the WebGL context is lost
  • We get an event that its back available again, like onfocus or similar
  • We can reinitialize our shader programs / glw wrapper and resume rendering
  • Notify the app dev framework this has happened accordingly

Moved over from an original L2 issue:
rdkcentral/Lightning#469

More importantly this particular comment:
rdkcentral/Lightning#469 (comment)

cc @erikhaandrikman

@erikhaandrikman
Copy link
Contributor

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

No branches or pull requests

2 participants