- split between textures and images is complete now.

* split up FMultiPatchTexture into a builder class and the actual image source.
* since images can now be referenced by multiple textures the old redirection mechanism has been removed. It can be done better and less intrusive now. Simple single patch textures already directly reference the underlying patch image now.
* allocate all image source related data from a memory arena. Since this is all static this makes it a lot easier to free this in bulk.
This commit is contained in:
Christoph Oelckers 2018-12-09 15:25:56 +01:00
commit 4cedbf6cc2
16 changed files with 1136 additions and 1183 deletions

View file

@ -38,7 +38,7 @@
#include "bitmap.h"
#include "image.h"
FMemArena FImageSource::ImageArena(32768);
//===========================================================================
//
// the default just returns an empty texture.