Mercurial > hg > Members > kono > Cerium
view TaskManager/Test/test_render/spe/spe-main.cc @ 472:699ee087234e
fix spe test_render
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 02 Oct 2009 23:20:25 +0900 |
parents | 96c941eae962 |
children |
line wrap: on
line source
#include "../Func.h" #include "SchedTask.h" SchedExternTask(LoadTexture); SchedExternTask(SetTexture); SchedExternTask(DrawSpan); SchedExternTask(DrawSpanEnd); SchedExternTask(DrawSpanRenew); SchedExternTask(DrawBack); SchedExternTask(ChainCal); SchedExternTask(ChainInit); SchedExternTask(CreateSpan); //SchedExternTask(CreatePolygon); SchedExternTask(ShowTime); SchedExternTask(InitKey); SchedExternTask(UpdateKey); void task_init(Scheduler *s) { SchedRegisterTask(TASK_INIT_TEXTURE, LoadTexture); SchedRegisterTask(TASK_SET_TEXTURE, SetTexture); SchedRegisterTask(TASK_DRAW_SPAN, DrawSpan); SchedRegisterTask(TASK_DRAW_SPAN_END, DrawSpanEnd); 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); SchedRegisterTask(INIT_KEY_TASK, InitKey); SchedRegisterTask(UPDATE_KEY, UpdateKey); }