| 152 | } |
| 153 | |
| 154 | void Tr2TextureLodManager::GpuTextureCreated( const Tr2BitmapDimensions& desc ) |
| 155 | { |
| 156 | auto size = GetTextureSize( desc ); |
| 157 | m_gpuMemorySize += size; |
| 158 | CCP_STATS_SET( textureLodGpuSize, m_gpuMemorySize ); |
| 159 | CCP_STATS_ADD( textureLodUploadSize, size ); |
| 160 | } |
| 161 | |
| 162 | void Tr2TextureLodManager::GpuTextureDestroyed( const Tr2BitmapDimensions& desc ) |
| 163 | { |
no test coverage detected