Mercurial > hg > Members > kono > Cerium
comparison TaskManager/Test/test_render/spe/Load_Texture.cpp @ 371:f88744ee9350
change DrawSpan, #define USE_MEMLIST use MemList(LRU)
author | aaa |
---|---|
date | Wed, 29 Jul 2009 16:34:26 +0900 (2009-07-29) |
parents | b89ba1d96fff |
children | b4b8345b5366 |
comparison
equal
deleted
inserted
replaced
370:4435c9990988 | 371:f88744ee9350 |
---|---|
25 */ | 25 */ |
26 void *hash_tmp | 26 void *hash_tmp |
27 = smanager->global_alloc(GLOBAL_TEXTURE_HASH, sizeof(TileHash)); | 27 = smanager->global_alloc(GLOBAL_TEXTURE_HASH, sizeof(TileHash)); |
28 new(hash_tmp) TileHash; | 28 new(hash_tmp) TileHash; |
29 | 29 |
30 #ifdef USE_MEMLIST | |
31 void *tileList_tmp | |
32 = smanager->global_alloc(GLOBAL_TILE_LIST, sizeof(MemList)); | |
33 new(tileList_tmp) MemList; | |
34 #else | |
30 void *tileList_tmp | 35 void *tileList_tmp |
31 = smanager->global_alloc(GLOBAL_TILE_LIST, sizeof(TileList)); | 36 = smanager->global_alloc(GLOBAL_TILE_LIST, sizeof(TileList)); |
32 new(tileList_tmp) TileList; | 37 new(tileList_tmp) TileList; |
33 | 38 #endif |
34 return 0; | 39 return 0; |
35 } | 40 } |