Mercurial > hg > Game > Cerium
annotate Renderer/Engine/spe/spe-main.cc @ 970:1a4849b2acad draft
change pipeline and TaskArray fast
author | Yutaka Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 26 Aug 2010 20:38:06 +0900 |
parents | aa9728394194 |
children | 293b36802714 |
rev | line source |
---|---|
539 | 1 #include "../Func.h" |
2 #include "SchedTask.h" | |
3 | |
915
aa9728394194
create_polygon_task ..not worked yet.
yutaka@localhost.localdomain
parents:
860
diff
changeset
|
4 SchedExternTask(DataAllocate); |
747 | 5 SchedExternTask(DataUpdate); |
915
aa9728394194
create_polygon_task ..not worked yet.
yutaka@localhost.localdomain
parents:
860
diff
changeset
|
6 SchedExternTask(DataFree); |
747 | 7 |
539 | 8 SchedExternTask(LoadTexture); |
9 SchedExternTask(DrawSpan); | |
10 SchedExternTask(DrawSpanEnd); | |
11 SchedExternTask(DrawSpanRenew); | |
12 SchedExternTask(DrawBack); | |
13 | |
970
1a4849b2acad
change pipeline and TaskArray fast
Yutaka Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
parents:
915
diff
changeset
|
14 //SchedExternTask(ChainCal); |
1a4849b2acad
change pipeline and TaskArray fast
Yutaka Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
parents:
915
diff
changeset
|
15 //SchedExternTask(ChainInit); |
539 | 16 |
17 SchedExternTask(CreateSpan); | |
860 | 18 SchedExternTask(CreatePolygon); |
624 | 19 //SchedExternTask(CreatePolygonFromSceneGraph); |
539 | 20 |
21 SchedExternTask(ShowTime); | |
22 | |
23 SchedExternTask(InitKey); | |
24 SchedExternTask(UpdateKey); | |
25 | |
970
1a4849b2acad
change pipeline and TaskArray fast
Yutaka Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
parents:
915
diff
changeset
|
26 //SchedExternTask(PropertyTask); |
1a4849b2acad
change pipeline and TaskArray fast
Yutaka Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
parents:
915
diff
changeset
|
27 //SchedExternTask(UniverseTask); |
1a4849b2acad
change pipeline and TaskArray fast
Yutaka Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
parents:
915
diff
changeset
|
28 //SchedExternTask(ChainTask); |
755
8aaa29d3e874
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
747
diff
changeset
|
29 |
539 | 30 void |
31 task_init(Scheduler *s) | |
32 { | |
747 | 33 |
915
aa9728394194
create_polygon_task ..not worked yet.
yutaka@localhost.localdomain
parents:
860
diff
changeset
|
34 SchedRegister( DataAllocate); |
747 | 35 SchedRegister( DataUpdate); |
915
aa9728394194
create_polygon_task ..not worked yet.
yutaka@localhost.localdomain
parents:
860
diff
changeset
|
36 SchedRegister( DataFree); |
747 | 37 |
615
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
38 SchedRegister( LoadTexture); |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
39 SchedRegister( DrawSpan); |
539 | 40 |
970
1a4849b2acad
change pipeline and TaskArray fast
Yutaka Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
parents:
915
diff
changeset
|
41 //SchedRegister( ChainCal); |
1a4849b2acad
change pipeline and TaskArray fast
Yutaka Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
parents:
915
diff
changeset
|
42 //SchedRegister( ChainInit); |
615
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
43 SchedRegister( DrawBack); |
539 | 44 |
615
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
45 SchedRegister( CreateSpan); |
860 | 46 SchedRegister( CreatePolygon); |
624 | 47 //SchedRegister( CreatePolygonFromSceneGraph); |
539 | 48 |
615
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
49 SchedRegister( ShowTime); |
539 | 50 |
755
8aaa29d3e874
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
747
diff
changeset
|
51 SchedRegister( InitKey); |
8aaa29d3e874
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
747
diff
changeset
|
52 SchedRegister( UpdateKey); |
766 | 53 |
970
1a4849b2acad
change pipeline and TaskArray fast
Yutaka Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
parents:
915
diff
changeset
|
54 //SchedRegister( PropertyTask); |
1a4849b2acad
change pipeline and TaskArray fast
Yutaka Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
parents:
915
diff
changeset
|
55 //SchedRegister( UniverseTask); |
1a4849b2acad
change pipeline and TaskArray fast
Yutaka Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
parents:
915
diff
changeset
|
56 //SchedRegister( ChainTask); |
539 | 57 } |