Mercurial > hg > Game > Cerium
view TaskManager/Test/test_render/spe/spe-main.cpp @ 395:208ba3551474 draft
chain on SPE
author | game@localhost.localdomain |
---|---|
date | Thu, 17 Sep 2009 16:55:18 +0900 |
parents | e2f1706b4eeb |
children |
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(void) { 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); }