annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
1 #include "../Func.h"
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
2 #include "SchedTask.h"
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
3
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
4 SchedExternTask(LoadTexture);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
5 SchedExternTask(SetTexture);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
6 SchedExternTask(DrawSpan);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
7 SchedExternTask(DrawBack);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
8
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
9 SchedExternTask(CreateSpan);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
10 SchedExternTask(CreatePolygon);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
11
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
12 void
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
13 task_init(void)
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
14 {
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
15 SchedRegisterTask(TASK_INIT_TEXTURE, LoadTexture);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
16 SchedRegisterTask(TASK_SET_TEXTURE, SetTexture);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
17 SchedRegisterTask(TASK_DRAW_SPAN, DrawSpan);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
18 SchedRegisterTask(TASK_DRAW_BACK, DrawBack);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
19
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
20 SchedRegisterTask(TASK_CREATE_SPAN, CreateSpan);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
21 SchedRegisterTask(TASK_CREATE_PP, CreatePolygon);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
22 }