Created by: ShokerStlk
Experimental, off by default. Can be moved to game options. Thnx to iOrange for idea and help.
Added new console command "texture_disable_managed" and new launch key "-nomanagedtex". Both do the same thing.
OpenGL already have such behavior by default.
In vanila engine almost every texture is duplicated to RAM. It's has point for DX9 since vid_restart require to reload every texture. But for DX10+ it's not needed.
Currently the only drawback i see - R1\R2 on vid_restart require to reload all active textures from HDD. Still it takes ~3 seconds for SSD.
With not vanila gamedata (additional textures) i got RAM usage drop: R1\R2: from 1.3 GB to 800 Mb (32-bit) R3\R4: from 2.2 GB to 650-900 Mb (32-bit)
Not tested for Release build. But should be fine.