Mercurial > hg > Game > Cerium
view Renderer/Engine/task/task_init.cc @ 755:8aaa29d3e874 draft
add Test/create_task {spe, task}/Property
author | hiroki@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Fri, 29 Jan 2010 11:34:43 +0900 |
parents | 1666dba6f6d9 |
children | 45f7ab7101ea |
line wrap: on
line source
#include "../Func.h" #include "Scheduler.h" SchedExternTask(DataLoad); SchedExternTask(DataUpdate); SchedExternTask(Create_SGP); SchedExternTask(Update_SGP); SchedExternTask(CreatePolygonFromSceneGraph); SchedExternTask(CreateSpan); SchedExternTask(DrawSpan); SchedExternTask(DrawSpanRenew); SchedExternTask(DrawBack); SchedExternTask(LoadTexture); SchedExternTask(Move); SchedExternTask(Draw); // SchedExternTask(Dummy); SchedExternTask(ShowTime); SchedExternTask(ChainMove); SchedExternTask(SendKey); SchedExternTask(UpdateKey); SchedExternTask(InitKey); SchedExternTask(Switch); SchedExternTask(RunMove); SchedExternTask(PropertyTask); /** * set_cpu(CPU_PPE) で動作する task */ void task_initialize() { SchedRegister( DataLoad); SchedRegister( DataUpdate); SchedRegister( Create_SGP); SchedRegister( Update_SGP); SchedRegister(CreatePolygonFromSceneGraph); SchedRegister( CreateSpan); SchedRegister( DrawSpan); SchedRegister( DrawBack); SchedRegister( LoadTexture); SchedRegister( Move); SchedRegister( Draw); // SchedRegister( Dummy); SchedRegister( UpdateKey); SchedRegister( InitKey); //SchedRegister( ShowTime); SchedRegister( Switch); // usr SchedRegister( ChainMove); SchedRegister( RunMove); SchedRegister( PropertyTask); }