view Renderer/Engine/spe/spe-main.cc @ 915:ad10d6d39ca6

create_polygon_task ..not worked yet.
author yutaka@localhost.localdomain
date Fri, 23 Jul 2010 18:05:40 +0900
parents 649e4cb84683
children 33630c6ff445
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);
}