-
-
Notifications
You must be signed in to change notification settings - Fork 683
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
restorable: Split pixel data into multiple slices #897
Labels
Milestone
Comments
hajimehoshi
added a commit
that referenced
this issue
Jul 9, 2019
This hides the implementation details of allocating byte slice. This change also adds comments about #897.
hajimehoshi
added a commit
that referenced
this issue
Jul 16, 2019
This simplifies Pixels struct. This is a preparation to change how to record pixels. Updates #897
I think we can reduce redundant memory usages by these actions:
Then, I estimate we can reduce 40-50MB peak memory usage in theory in usual cases. |
hajimehoshi
added a commit
that referenced
this issue
Jul 17, 2019
This is an optimization. This change enables to avoid reading pixels from GPU when extending an image. Updates #897
Experimental branch: https://github.com/hajimehoshi/ebiten/tree/issue-897-rects |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
For sparse images, this should be effective in terms of memory usage. Big shareable images tend to be sparse in our experience.
The text was updated successfully, but these errors were encountered: