Mercurial > hg > Game > Cerium
view Renderer/Engine/spe/spe-main.cc @ 2069:26aa08c9a1de draft default tip
cuda example fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 12 Feb 2017 10:04:55 +0900 |
parents | 8917aff8629c |
children |
line wrap: on
line source
#include "../Func.h" #include "SchedTask.h" SchedExternTask(DataAllocate); SchedExternTask(DataUpdate); SchedExternTask(DataFree); SchedExternTask(AllocateSegment); 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( AllocateSegment); 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); }