Mercurial > hg > Game > Cerium
view Renderer/Engine/spe/spe-main.cc @ 970:1a4849b2acad draft
change pipeline and TaskArray fast
author | Yutaka Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 26 Aug 2010 20:38:06 +0900 |
parents | aa9728394194 |
children | 293b36802714 |
line wrap: on
line source
#include "../Func.h" #include "SchedTask.h" SchedExternTask(DataAllocate); SchedExternTask(DataUpdate); SchedExternTask(DataFree); SchedExternTask(LoadTexture); SchedExternTask(DrawSpan); SchedExternTask(DrawSpanEnd); SchedExternTask(DrawSpanRenew); SchedExternTask(DrawBack); //SchedExternTask(ChainCal); //SchedExternTask(ChainInit); SchedExternTask(CreateSpan); SchedExternTask(CreatePolygon); //SchedExternTask(CreatePolygonFromSceneGraph); SchedExternTask(ShowTime); SchedExternTask(InitKey); SchedExternTask(UpdateKey); //SchedExternTask(PropertyTask); //SchedExternTask(UniverseTask); //SchedExternTask(ChainTask); void task_init(Scheduler *s) { SchedRegister( DataAllocate); SchedRegister( DataUpdate); SchedRegister( DataFree); SchedRegister( LoadTexture); SchedRegister( DrawSpan); //SchedRegister( ChainCal); //SchedRegister( ChainInit); SchedRegister( DrawBack); SchedRegister( CreateSpan); SchedRegister( CreatePolygon); //SchedRegister( CreatePolygonFromSceneGraph); SchedRegister( ShowTime); SchedRegister( InitKey); SchedRegister( UpdateKey); //SchedRegister( PropertyTask); //SchedRegister( UniverseTask); //SchedRegister( ChainTask); }