Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

ImIdPair* OglGui::OglImageCache::GetUnusedImIdPairWithTexSize ( int  texW,
int  texH 
) [inline, private]

Definition at line 180 of file OglImageCache.h.

References mImages, and UpdateLRU().

Referenced by AddNoScalingTextured().

00181     {
00182         OGLIMAGE* im;
00183         for (int i=0; i<mImages.size(); i++)
00184         {
00185             if ((im = mImages[i]->first) && im->refCount==1 &&
00186                 im->texture && im->texW == texW && im->texH == texH)
00187             {
00188                 UpdateLRU(i);
00189                 return mImages[i];
00190             }
00191         }
00192         return 0;
00193     }

Here is the call graph for this function:


Generated on Fri Mar 19 12:03:59 2010 for ImpalaSrc by  doxygen 1.5.1