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

PandaGlSurfaceView : Optimisations #382

Closed
wants to merge 5 commits into from

Conversation

Ishan09811
Copy link
Contributor

No description provided.

@wheremyfoodat
Copy link
Owner

This PR doesn't really add any optimizations, doesn't compile, breaks formatting and some of the things it does will very likely cause problems down the line (eg shutting down the emulator in SurfaceDestroy will break if the Android port adds multithreading or for some reason the emulator core wants to outlive the drawing surface)

The tiny amount of resource leakage here is also fine, since it's only 2 small GL objects and they aren't really leaked since the driver will automatically free them when the program closes, ie when they actually die.

@Ishan09811 Ishan09811 deleted the test branch February 29, 2024 09:59
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.

2 participants