view TaskManager/Test/test_render/spe/spe-main.cpp @ 266:5c9dbd54cd51

merge
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 04 Jun 2009 00:00:09 +0900
parents 3fd24be89d02
children 907bda4a1a14
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);
}