Mercurial > hg > Game > Cerium
view Renderer/Engine/task/task_init.cc @ 616:350b9b8c985f draft
First addOutput rendering try failed.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 14 Nov 2009 18:57:54 +0900 |
parents | 184d6d3f0cd9 |
children | 55c95360f95b |
line wrap: on
line source
#include "../Func.h" #include "Scheduler.h" SchedExternTask(Create_SGP); SchedExternTask(Update_SGP); SchedExternTask(CreatePolygon); SchedExternTask(CreatePolygonFromSceneGraph); SchedExternTask(CreateSpan); SchedExternTask(DrawSpan); SchedExternTask(DrawSpanRenew); SchedExternTask(DrawBack); SchedExternTask(LoadTexture); SchedExternTask(SetTexture); 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( Create_SGP); SchedRegister( Update_SGP); SchedRegister( CreatePolygon); SchedRegister(CreatePolygonFromSceneGraph); SchedRegister( CreateSpan); SchedRegister( DrawSpan); SchedRegister( DrawBack); SchedRegister( LoadTexture); SchedRegister( SetTexture); SchedRegister( Move); SchedRegister( Draw); SchedRegister( Dummy); SchedRegister( UpdateKey); SchedRegister( InitKey); SchedRegister( ShowTime); SchedRegister( Switch); // usr SchedRegister( ChainMove); }