Mercurial > hg > Members > kono > Cerium
view Renderer/Engine/task/task_init.cc @ 756:2575791a333a
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 (2010-01-29) |
parents | 5d23ffea34e3 |
children | 24a37fe8419a |
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); }