diff --git a/graphics/resource_manager.cpp b/graphics/resource_manager.cpp index 5d2aeb1c1d..377c88975e 100644 --- a/graphics/resource_manager.cpp +++ b/graphics/resource_manager.cpp @@ -440,6 +440,7 @@ namespace m_threadSlots[i].m_glyphCache->addFonts(fontNames); } + /* void ResourceManager::memoryWarning() { } @@ -469,6 +470,7 @@ namespace if (m_storagePools[i].get()) m_storagePools[i]->EnterForeground(); } + */ shared_ptr ResourceManager::createRenderTarget(unsigned w, unsigned h) { diff --git a/graphics/resource_manager.hpp b/graphics/resource_manager.hpp index 8dec35f946..6046ec9b8a 100644 --- a/graphics/resource_manager.hpp +++ b/graphics/resource_manager.hpp @@ -1,20 +1,20 @@ #pragma once -#include "../std/shared_ptr.hpp" -#include "../std/map.hpp" -#include "../std/string.hpp" -#include "../std/list.hpp" -#include "../std/vector.hpp" - -#include "../base/mutex.hpp" -#include "../base/resource_pool.hpp" - #include "opengl/storage.hpp" #include "opengl/program_manager.hpp" #include "glyph_cache.hpp" #include "data_formats.hpp" #include "defines.hpp" +//#include "../base/mutex.hpp" +#include "../base/resource_pool.hpp" + +#include "../std/shared_ptr.hpp" +#include "../std/map.hpp" +#include "../std/string.hpp" +#include "../std/vector.hpp" + + namespace graphics { class ResourceCache; @@ -218,7 +218,7 @@ namespace graphics void loadSkinInfoAndTexture(string const & skinFileName, EDensity density); - threads::Mutex m_mutex; + //threads::Mutex m_mutex; vector > m_texturePools; vector > m_storagePools; @@ -263,9 +263,11 @@ namespace graphics void addFonts(vector const & fontNames); + /* void memoryWarning(); void enterBackground(); void enterForeground(); + */ void updatePoolState();