Mercurial > hg > Game > Cerium
view Renderer/Engine/task/task_init.cc @ 725:3a97fdd53a8e draft
Light data load fix (general load routine)
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 19 Dec 2009 15:02:43 +0900 |
parents | 24054155368c |
children | 4d83a6a958fd |
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); /** * 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); }