Revision 331e2fe7
Added by skyjake over 8 years ago
Files
- added
- modified
- copied
- renamed
- deleted
- doomsday
- apps
- client
- include
- ClientTexture
- Texture
- TextureManifest
- TextureScheme
- gl
- render
- resource
- animgroup.h (diff)
- clienttexture.h
- compositebitmapfont.h (diff)
- compositetexture.h
- framemodel.h (diff)
- framemodeldef.h (diff)
- image.h (diff)
- material.h (diff)
- materialanimator.h (diff)
- materiallightdecoration.h (diff)
- materialvariantspec.h (diff)
- resourcesystem.h (diff)
- texture.h
- texturemanifest.h
- texturescheme.h
- texturevariantspec.h (diff)
- src
- clientapp.cpp (diff)
- dd_main.cpp (diff)
- def_main.cpp (diff)
- gl
- render
- resource
- animgroup.cpp (diff)
- api_material.cpp (diff)
- api_resource.cpp (diff)
- clienttexture.cpp
- compositebitmapfont.cpp (diff)
- compositetexture.cpp
- framemodel.cpp (diff)
- image.cpp (diff)
- material.cpp (diff)
- materialanimator.cpp (diff)
- materialdetaillayer.cpp (diff)
- materiallightdecoration.cpp (diff)
- materialshinelayer.cpp (diff)
- resourcesystem.cpp (diff)
- texture.cpp
- texturemanifest.cpp
- texturescheme.cpp
- texturevariant.cpp (diff)
- ui
- world
- p_mobj.cpp (diff)
- sky.cpp (diff)
- surface.cpp (diff)
- include
- libdoomsday
- server
- client
- apps
Refactor|Resources: Moved texture resources to libdoomsday (big commit)
This commit splits Texture to the generic res::Texture and
client-specific ClientTexture. Other classes moved to libdoomsday
include TextureScheme, TextureManifest, PatchName, and CompositeTexture.
All the texture-related objects are now owned by the Textures class,
which in turn owned by libdoomsday's Resources.
Also fixed a couple of errors in the implementation:
- Retaining references to TextureVariantSpec without any kind of
reference counting, leading to use-after-free errors during engine
reset.
- Pointers to owning TextureSchemes are now kept as direct pointers,
which avoids problems during teardown (trying to iterate partially
deleted scheme lists).