Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Textures take too much space #226

Open
Nielsbishere opened this issue Apr 1, 2019 · 3 comments
Open

Textures take too much space #226

Nielsbishere opened this issue Apr 1, 2019 · 3 comments
Assignees
Labels
refactor Request to re-factor a working system/class/etc.

Comments

@Nielsbishere
Copy link
Contributor

Is your request related to a problem? Please describe.
After debugging/profiling it seems that ~50-60% of the memory is taken up by texture allocations.

Describe the solution you'd like
To reduce the memory in general, use texture compression (dds textures). Before we add compression however, it is important to free the allocated CPU memory and GPU intermediate texture.

Describe alternatives you've considered
Additional context
N.A

@Nielsbishere Nielsbishere added the refactor Request to re-factor a working system/class/etc. label Apr 1, 2019
@Nielsbishere Nielsbishere self-assigned this Apr 1, 2019
@Nielsbishere
Copy link
Contributor Author

#228 Cleans up intermediate texture allocations

@Nielsbishere
Copy link
Contributor Author

Nielsbishere commented Apr 4, 2019

Cubemap intermediate is also (probably) being left over, I'll look into it further.

EDIT: #241

@Nielsbishere
Copy link
Contributor Author

The skybox is mipmapped but doesn't have to be, this costs approx 50% more memory than without mipmapping, as the mips aren't used anywhere.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
refactor Request to re-factor a working system/class/etc.
Projects
None yet
Development

No branches or pull requests

1 participant