Mercurial > hg > Game > Cerium
view Renderer/Engine/task/task_init.cc @ 1107:25d3cfb85439 draft
debug use post task
author | Yutaka_Kinjyo |
---|---|
date | Mon, 10 Jan 2011 22:09:06 +0900 |
parents | 185f025f7ce5 |
children | fa1f4a1c47bf |
line wrap: on
line source
#include "../Func.h" #include "Scheduler.h" SchedExternTask(DataAllocate); SchedExternTask(DataUpdate); SchedExternTask(DataFree); SchedExternTask(Create_SGP); SchedExternTask(Update_SGP); SchedExternTask(CreatePolygon); SchedExternTask(CreatePolygonFromSceneGraph); SchedExternTask(CreateSpan); SchedExternTask(DrawSpan); SchedExternTask(DrawSpanRenew); SchedExternTask(DrawBack); SchedExternTask(RUN_LOOP_TASK); SchedExternTask(RENDERING_TASK); SchedExternTask(LoadTexture); // SchedExternTask(Move); SchedExternTask(Draw); // SchedExternTask(Dummy); SchedExternTask(ShowTime); // SchedExternTask(ChainMove); SchedExternTask(SendKey); SchedExternTask(UpdateKey); SchedExternTask(InitKey); SchedExternTask(Switch); SchedExternTask(RunMove); SchedExternTask(PropertyTask); SchedExternTask(ExecMove); /** * set_cpu(CPU_PPE) で動作する task */ void task_initialize() { SchedRegister( DataAllocate); SchedRegister( DataUpdate); SchedRegister( DataFree); SchedRegister( Create_SGP); SchedRegister( Update_SGP); SchedRegister(CreatePolygonFromSceneGraph); SchedRegister(CreatePolygon); SchedRegister( CreateSpan); SchedRegister( DrawSpan); SchedRegister( DrawBack); SchedRegister(RUN_LOOP_TASK); SchedRegister(RENDERING_TASK); SchedRegister( LoadTexture); // SchedRegister( Move); SchedRegister( Draw); // SchedRegister( Dummy); SchedRegister( UpdateKey); SchedRegister( InitKey); //SchedRegister( ShowTime); SchedRegister( Switch); SchedRegister( ExecMove); // usr // SchedRegister( ChainMove); // SchedRegister( RunMove); // SchedRegister( PropertyTask); }