Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
1.0 KiB

//---------------------------------------------------------------------------
// CacheList.h - manages list of CRenderCache objects
//---------------------------------------------------------------------------
#pragma once
//---------------------------------------------------------------------------
#include "Cache.h"
//---------------------------------------------------------------------------
extern DWORD _tls_CacheListIndex;
//---------------------------------------------------------------------------
class CCacheList
{
//---- methods ----
public:
CCacheList();
~CCacheList();
HRESULT GetCacheObject(CRenderObj *pRenderObj, int iSlot, CRenderCache **ppCache);
HRESULT Resize(int iMaxSlot);
//---- data ----
protected:
CSimpleArray<CRenderCache *> _CacheEntries;
};
//---------------------------------------------------------------------------
CCacheList *GetTlsCacheList(BOOL fOkToCreate);
//---------------------------------------------------------------------------