view TaskManager/Test/test_render/spe/spe-main.cc @ 422:217258e3d148 draft

change spe/*.cpp -> spe/*.cc
author hiroki@henri.cr.ie.u-ryukyu.ac.jp
date Thu, 24 Sep 2009 15:26:58 +0900
parents TaskManager/Test/test_render/spe/spe-main.cpp@208ba3551474
children 19524a506039
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);
}