mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-05 19:29:11 +01:00
perf(debug): memory of the process and of its parts in the debug panel: resident, peak and private memory, card memory (GL_NVX_gpu_memory_info), the copies kept by the textures, geometry banks, models, scenery shapes and lines, sleepers and sound buffers
This commit is contained in:
@@ -108,6 +108,8 @@ public:
|
||||
audio::openal_buffer const &buffer( audio::buffer_handle const Buffer ) const;
|
||||
// makes buffers of all sound files still decoded in the background (sound.asyncload), waiting for them
|
||||
void complete_buffers();
|
||||
// the sound buffers and the bytes of their data, for the debug panel
|
||||
memory_count buffers_memory() const { return m_buffers.memory(); }
|
||||
|
||||
bool init();
|
||||
|
||||
@@ -164,4 +166,4 @@ private:
|
||||
extern openal_renderer renderer;
|
||||
extern bool event_volume_change;
|
||||
|
||||
} // namespace audio
|
||||
} // namespace audio
|
||||
Reference in New Issue
Block a user