Mercurial > hg > Members > kono > Cerium
view TaskManager/Test/test_render/spe/spe-main.cc @ 448:0ef430eff384
test_render fixed..
test_render fixed...
author | kazz@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Fri, 25 Sep 2009 16:49:49 +0900 |
parents | afb717c43a3c |
children | 01dc4e5be965 |
line wrap: on
line source
#include "../Func.h" #include "SchedTask.h" SchedExternTask(LoadTexture); SchedExternTask(SetTexture); SchedExternTask(DrawSpan); SchedExternTask(DrawSpanRenew); SchedExternTask(DrawBack); SchedExternTask(ChainCal); SchedExternTask(ChainInit); SchedExternTask(CreateSpan); //SchedExternTask(CreatePolygon); SchedExternTask(ShowTime); void task_init(Scheduler *s) { SchedRegisterTask(TASK_INIT_TEXTURE, LoadTexture); SchedRegisterTask(TASK_SET_TEXTURE, SetTexture); SchedRegisterTask(TASK_DRAW_SPAN, DrawSpan); SchedRegisterTask(CHAINCAL_TASK, ChainCal); SchedRegisterTask(CHAININIT_TASK, ChainInit); #if 0 SchedRegisterTask(TASK_DRAW_SPAN2, DrawSpanRenew); #endif SchedRegisterTask(TASK_DRAW_BACK, DrawBack); SchedRegisterTask(TASK_CREATE_SPAN, CreateSpan); //SchedRegisterTask(TASK_CREATE_PP, CreatePolygon); SchedRegisterTask(SHOW_TIME, ShowTime); }