view old/simple_pack/task/task_init.cpp @ 1014:58c3cbf6e3dd

merge
author tkaito
date Fri, 05 Nov 2010 01:06:51 +0900
parents 735f76483bb2
children
line wrap: on
line source

#include "polygon.h"
#include "scene_graph_pack.h"
#include "polygon_pack.h"
#include "span_pack.h"
#include "TaskManager.h"
#include "spu_span.h"

extern TaskManager *manager;
extern int create_sgp(Polygon *sg, SceneGraphPack *sgp);
extern int update_sgp(SceneGraphPack *sgp, SceneGraphPack *_sgp);
extern int create_pp(SceneGraphPack *sgp, PolygonPack *pp);
extern int create_span(void *wbuf, void *rbuf);
//extern int spu_span(SPANPACKLIST *spl, SPUSPANLIST *ssl);
//extern int spu_span(SPLSSL *splssl, SPUSPANLIST *a);

void
task_initialize()
{
    manager->set_symbol("CreateSGP", (void*)create_sgp);
    manager->set_symbol("UpdateSGP", (void*)update_sgp);
    manager->set_symbol("CreatePP", (void*)create_pp);
    manager->set_symbol("CreateSP", (void*)create_span);
    //manager->set_symbol("SpuSP", (void*)spu_span);
}