Mercurial > hg > Game > Cerium
comparison TaskManager/Test/simple_render/task/task_init.cpp @ 86:61bacd3b4405
*** empty log message ***
author | gongo |
---|---|
date | Wed, 27 Feb 2008 10:56:09 +0900 |
parents | 70a0ac46133e |
children | 3e331f7576a1 |
comparison
equal
deleted
inserted
replaced
85:9b96b190cb73 | 86:61bacd3b4405 |
---|---|
1 #include "polygon.h" | |
1 #include "scene_graph_pack.h" | 2 #include "scene_graph_pack.h" |
2 #include "polygon.h" | 3 #include "polygon_pack.h" |
4 #include "span_pack.h" | |
3 #include "TaskManager.h" | 5 #include "TaskManager.h" |
6 #include "spu_span.h" | |
4 | 7 |
5 extern TaskManager *manager; | 8 extern TaskManager *manager; |
6 extern int create_sgp(Polygon *sg, SceneGraphPack *sgp); | 9 extern int create_sgp(Polygon *sg, SceneGraphPack *sgp); |
7 extern int update_sgp(SceneGraphPack *sgp, SceneGraphPack *_sgp); | 10 extern int update_sgp(SceneGraphPack *sgp, SceneGraphPack *_sgp); |
8 extern int create_pp(SceneGraphPack *sgp, PolygonPack *pp); | 11 extern int create_pp(SceneGraphPack *sgp, PolygonPack *pp); |
12 extern int create_span(void *wbuf, void *rbuf); | |
13 //extern int spu_span(SPANPACKLIST *spl, SPUSPANLIST *ssl); | |
14 //extern int spu_span(SPLSSL *splssl, SPUSPANLIST *a); | |
9 | 15 |
10 void | 16 void |
11 task_initialize() | 17 task_initialize() |
12 { | 18 { |
13 manager->set_symbol("CreateSGP", (void*)create_sgp); | 19 manager->set_symbol("CreateSGP", (void*)create_sgp); |
14 manager->set_symbol("UpdateSGP", (void*)update_sgp); | 20 manager->set_symbol("UpdateSGP", (void*)update_sgp); |
15 manager->set_symbol("CreatePP", (void*)create_pp); | 21 manager->set_symbol("CreatePP", (void*)create_pp); |
22 manager->set_symbol("CreateSP", (void*)create_span); | |
23 //manager->set_symbol("SpuSP", (void*)spu_span); | |
16 } | 24 } |