Revision 94f4770b
Added by danij over 13 years ago
Files
- added
- modified
- copied
- renamed
- deleted
- doomsday
- build
- engine
- api
- defs
- portable
- include
- def_main.h (diff)
- gl_texmanager.h (diff)
- mapdata.hs (diff)
- materialvariant.h
- p_dmu.h (diff)
- p_mapdata.h (diff)
- p_maptypes.h (diff)
- p_material.h (diff)
- p_materialmanager.h (diff)
- r_data.h (diff)
- r_world.h (diff)
- rend_sprite.h (diff)
- texture.h (diff)
- texturevariant.h (diff)
- texturevariantspecification.h (diff)
- src
- cl_world.c (diff)
- dd_pinit.c (diff)
- def_main.c (diff)
- gl_main.c (diff)
- gl_texmanager.c (diff)
- materialvariant.c
- p_dmu.c (diff)
- p_material.c (diff)
- p_materialmanager.c (diff)
- p_surface.c (diff)
- r_data.c (diff)
- r_draw.c (diff)
- r_lumobjs.c (diff)
- r_main.c (diff)
- r_model.c (diff)
- r_sky.c (diff)
- r_things.c (diff)
- r_world.c (diff)
- rend_console.c (diff)
- rend_decor.c (diff)
- rend_fakeradio.c (diff)
- rend_main.c (diff)
- rend_model.c (diff)
- rend_sky.c (diff)
- rend_sprite.c (diff)
- s_environ.c (diff)
- sv_pool.c (diff)
- texture.c (diff)
- texturevariant.c (diff)
- ui2_main.c (diff)
- include
- plugins
Introduced MaterialVariant and MaterialVariantSpecification; these are essentially parallels of the similarly named Texture* objects and used in pretty much the same manner. Specifications are shared among all variants and owned by the Materials collection.
Replaced Material precache mechanism with a variant cache queue. Reduced redundant variant caching significantly.
Switched the Materials subsystem to allocate from the real heap when constructing objects from the Material hierarchy.