Mercurial > hg > Members > kono > Cerium
view TaskManager/Test/test_render/task/TileHash.h @ 383:25c820b6060e
fix header, MemHash in kernel
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 06 Aug 2009 12:04:55 +0900 |
parents | eab18aa0c7f6 |
children | 44c0bce54dcf |
line wrap: on
line source
#ifndef INCLUDED_TEXTURE_HASH #define INCLUDED_TEXTURE_HASH #include "Tapestry.h" class TileHash { public: TileHash(void); private: TilePtr *table; int hashSize; int tableSize; public: void clear(void); int hash(memaddr data); int put(memaddr addr, TilePtr tile); TilePtr get(memaddr addr); void remove(memaddr addr); }; typedef TileHash* TileHashPtr; #endif