Mercurial > hg > Game > Cerium
diff TaskManager/Test/test_render/viewer.cc @ 468:796f72cb21d9 draft
test_nogl on Mac OS X worked.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 02 Oct 2009 16:40:43 +0900 |
parents | 60f44d3ea452 |
children | 4e0308d2ba73 |
line wrap: on
line diff
--- a/TaskManager/Test/test_render/viewer.cc Thu Oct 01 19:25:25 2009 +0900 +++ b/TaskManager/Test/test_render/viewer.cc Fri Oct 02 16:40:43 2009 +0900 @@ -509,6 +509,9 @@ (uint32)&pixels[(startx-1) + this->width*(starty-1)]); task_draw->add_param(this->width); } else { + // 7.7.3 SL1 Data Cache Range Set to Zero コマンド + // を使って、DMAでclearするべき... ということは、 + // それもSPEでやる方が良い? memset(&pixels[(startx-1)+this->width*(starty-1)], 0, (this->width)*sizeof(int)*rangey); break;