-
Notifications
You must be signed in to change notification settings - Fork 7
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
How do I... #16
Comments
If you want to draw using the CPU, this is the right approach. The If you want me to review more of your code, you should use less swearwords for variables. |
https://gist.github.com/pachuco/4c769f1a55d1745fd38b76ea445ed3cc/a32a529b49dcef579641701c5b90e0b64a4e6a9b
If I clean it up sufficienly, maybe I can submit it later as PR, before taking code in my direction. |
Do the config events with the correct dimensions arrive? SurfaceView is for Android 8.0+, and you can use it with CPU rendering, though the intended use case is GPU rendering. |
What is the lifecycle of a buffer and how do I change the buffer in case of screen orientation change(treating it like "windows has changed size, new buffer needed" on desktop)? tgui_create_image_view(), is this even the right type of view I need?
Basically I want to create bitmap gui that always occupies full screen and handles rotation.
https://gist.github.com/pachuco/4c769f1a55d1745fd38b76ea445ed3cc/fd91f9747c7694ef19c01ce1b9faaa8d103c0e83
This is my code so far. Feel free to poke at other deficiencies.
The text was updated successfully, but these errors were encountered: