view TaskManager/Test/test_render/spe/spe-main.cpp @ 131:805d27efafd8

fix
author gongo@charles.cr.ie.u-ryukyu.ac.jp
date Tue, 25 Nov 2008 17:24:18 +0900
parents 5c194c71eca8
children 3fd24be89d02
line wrap: on
line source

#include "../Func.h"
#include "SchedTask.h"

SchedExternTask(LoadTexture);
SchedExternTask(SetTexture);
SchedExternTask(DrawSpan);
SchedExternTask(DrawBack);

SchedExternTask(CreateSpan);
SchedExternTask(CreatePolygon);

void
task_init(void)
{
    SchedRegisterTask(TASK_INIT_TEXTURE, LoadTexture);
    SchedRegisterTask(TASK_SET_TEXTURE, SetTexture);
    SchedRegisterTask(TASK_DRAW_SPAN, DrawSpan);
    SchedRegisterTask(TASK_DRAW_BACK, DrawBack);

    SchedRegisterTask(TASK_CREATE_SPAN, CreateSpan);
    SchedRegisterTask(TASK_CREATE_PP, CreatePolygon);
}