Definition at line 149 of file OglImageCache.h. References GetImIdPair(), and GetLRU(). Referenced by AddNoScalingTextured(), Impala::Application::MediaTable::MediaTable::Init(), OglGui::WindowTimeLine::LoadViewImage(), Impala::Application::MediaTable::RandomImageWindow::LoadViewImage(), and Impala::Application::MediaTable::TableViewCache::ProcessDelayLoad(). 00150 { 00151 ImIdPair* p = 0; 00152 00153 if (allowReplace) 00154 p = GetImIdPair(id); 00155 if (!p) 00156 p = GetLRU(); 00157 if (im) 00158 im->refCount++; 00159 if (p->first) 00160 ReleaseOglImage(p->first); 00161 p->first = im; 00162 p->second = id; 00163 }
Here is the call graph for this function:
|