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

Improve performance of drawing "Play" button in the browser #106

Open
elgopher opened this issue Sep 2, 2023 · 1 comment
Open

Improve performance of drawing "Play" button in the browser #106

elgopher opened this issue Sep 2, 2023 · 1 comment

Comments

@elgopher
Copy link
Owner

elgopher commented Sep 2, 2023

Until audio is initialzed Pi shows the "Play" button in the browser. It looks like drawing the image on each Draw using Ebitengine is gpu-intensive operation.

@elgopher
Copy link
Owner Author

elgopher commented Sep 4, 2023

One possible solution is to use sync.Once

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

1 participant