comparison TaskManager/Test/test_render/task/DrawSpan.cpp @ 215:7ca6a2ef5be9

fix SceneGraph Constructor, Destructor
author gongo@gendarme.local
date Sun, 01 Feb 2009 22:14:44 +0900
parents 3e7e8b5d9f17
children 0f1ff7b06157
comparison
equal deleted inserted replaced
214:5bd1425fb561 215:7ca6a2ef5be9
186 186
187 uint32 187 uint32
188 DrawSpan::get_rgb(int tx, int ty, uint32 *addr) 188 DrawSpan::get_rgb(int tx, int ty, uint32 *addr)
189 { 189 {
190 TilePtr tile; 190 TilePtr tile;
191 //printf("get %p\n", addr); 191
192 tile = hash->get(addr); 192 tile = hash->get(addr);
193 return tile->pixel[(TEXTURE_SPLIT_PIXEL)*ty+tx]; 193 return tile->pixel[(TEXTURE_SPLIT_PIXEL)*ty+tx];
194 } 194 }
195 195
196 /** 196 /**
414 414
415 set_rgbs(tex_addr, max_addr, wait_tag); 415 set_rgbs(tex_addr, max_addr, wait_tag);
416 return js; 416 return js;
417 #else 417 #else
418 set_rgb(tex_addr, wait_tag); 418 set_rgb(tex_addr, wait_tag);
419 ret = j; 419 //ret = j;
420 continue; 420 smanager->dma_wait(wait_tag);
421 //continue;
421 #endif 422 #endif
422 } 423 }
423 424
424 updateBuffer(tex_z, rangex, localx, localy, 425 updateBuffer(tex_z, rangex, localx, localy,
425 tex_localx, tex_localy, tex_addr); 426 tex_localx, tex_localy, tex_addr);