| 
    KiCad PCB EDA Suite
    
   | 
 
Classes | |
| struct | CACHED_BITMAP | 
Public Member Functions | |
| GL_BITMAP_CACHE () | |
| ~GL_BITMAP_CACHE () | |
| GLuint | RequestBitmap (const BITMAP_BASE *aBitmap) | 
Private Member Functions | |
| GLuint | cacheBitmap (const BITMAP_BASE *aBitmap) | 
Private Attributes | |
| const size_t | m_cacheMaxElements = 50 | 
| const size_t | m_cacheMaxSize = 256 * 1024 * 1024 | 
| std::map< const KIID, CACHED_BITMAP > | m_bitmaps | 
| std::list< KIID > | m_cacheLru | 
| size_t | m_cacheSize | 
| std::list< GLuint > | m_freedTextureIds | 
Definition at line 87 of file opengl_gal.cpp.
      
  | 
  inline | 
Definition at line 90 of file opengl_gal.cpp.
References m_cacheSize.
| GL_BITMAP_CACHE::~GL_BITMAP_CACHE | ( | ) | 
Definition at line 121 of file opengl_gal.cpp.
References m_bitmaps.
      
  | 
  private | 
Definition at line 165 of file opengl_gal.cpp.
References KIGFX::GL_BITMAP_CACHE::CACHED_BITMAP::accessTime, BITMAP_BASE::GetImageID(), BITMAP_BASE::GetOriginalImageData(), KIGFX::GL_BITMAP_CACHE::CACHED_BITMAP::h, KIGFX::GL_BITMAP_CACHE::CACHED_BITMAP::id, m_bitmaps, m_cacheLru, m_cacheMaxElements, m_cacheMaxSize, m_cacheSize, m_freedTextureIds, niluuid, KIGFX::GL_BITMAP_CACHE::CACHED_BITMAP::size, and KIGFX::GL_BITMAP_CACHE::CACHED_BITMAP::w.
Referenced by RequestBitmap().
| GLuint GL_BITMAP_CACHE::RequestBitmap | ( | const BITMAP_BASE * | aBitmap | ) | 
Definition at line 128 of file opengl_gal.cpp.
References cacheBitmap(), BITMAP_BASE::GetImageID(), m_bitmaps, m_cacheLru, m_cacheSize, and m_freedTextureIds.
      
  | 
  private | 
Definition at line 112 of file opengl_gal.cpp.
Referenced by cacheBitmap(), RequestBitmap(), and ~GL_BITMAP_CACHE().
      
  | 
  private | 
Definition at line 113 of file opengl_gal.cpp.
Referenced by cacheBitmap(), and RequestBitmap().
      
  | 
  private | 
Definition at line 109 of file opengl_gal.cpp.
Referenced by cacheBitmap().
      
  | 
  private | 
Definition at line 110 of file opengl_gal.cpp.
Referenced by cacheBitmap().
      
  | 
  private | 
Definition at line 114 of file opengl_gal.cpp.
Referenced by cacheBitmap(), GL_BITMAP_CACHE(), and RequestBitmap().
      
  | 
  private | 
Definition at line 115 of file opengl_gal.cpp.
Referenced by cacheBitmap(), and RequestBitmap().