Mercurial > hg > Members > kono > Cerium
annotate Renderer/Engine/task/task_init.cc @ 756:2575791a333a
add Test/create_task {spe, task}/Property
author | hiroki@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Fri, 29 Jan 2010 11:34:43 +0900 |
parents | 5d23ffea34e3 |
children | 24a37fe8419a |
rev | line source |
---|---|
507 | 1 #include "../Func.h" |
2 #include "Scheduler.h" | |
3 | |
748 | 4 SchedExternTask(DataLoad); |
5 SchedExternTask(DataUpdate); | |
6 | |
507 | 7 SchedExternTask(Create_SGP); |
8 SchedExternTask(Update_SGP); | |
9 SchedExternTask(CreatePolygonFromSceneGraph); | |
10 SchedExternTask(CreateSpan); | |
11 | |
12 SchedExternTask(DrawSpan); | |
13 SchedExternTask(DrawSpanRenew); | |
14 SchedExternTask(DrawBack); | |
15 | |
16 SchedExternTask(LoadTexture); | |
17 | |
18 SchedExternTask(Move); | |
19 SchedExternTask(Draw); | |
20 | |
674
bde5f13adf10
fix many task example (sort).
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
624
diff
changeset
|
21 // SchedExternTask(Dummy); |
507 | 22 |
23 SchedExternTask(ShowTime); | |
24 SchedExternTask(ChainMove); | |
25 SchedExternTask(SendKey); | |
26 | |
27 SchedExternTask(UpdateKey); | |
28 SchedExternTask(InitKey); | |
29 | |
30 SchedExternTask(Switch); | |
752
5d23ffea34e3
rendering, move_coll parallel running
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
748
diff
changeset
|
31 SchedExternTask(RunMove); |
507 | 32 |
756
2575791a333a
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
752
diff
changeset
|
33 SchedExternTask(PropertyTask); |
2575791a333a
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
752
diff
changeset
|
34 |
507 | 35 |
36 /** | |
37 * set_cpu(CPU_PPE) で動作する task | |
38 */ | |
39 void | |
40 task_initialize() | |
41 { | |
748 | 42 SchedRegister( DataLoad); |
43 SchedRegister( DataUpdate); | |
44 | |
614
4e44147d78ee
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
45 SchedRegister( Create_SGP); |
4e44147d78ee
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
46 SchedRegister( Update_SGP); |
4e44147d78ee
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
47 SchedRegister(CreatePolygonFromSceneGraph); |
4e44147d78ee
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
48 SchedRegister( CreateSpan); |
4e44147d78ee
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
49 |
4e44147d78ee
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
50 SchedRegister( DrawSpan); |
4e44147d78ee
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
51 SchedRegister( DrawBack); |
4e44147d78ee
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
52 |
4e44147d78ee
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
53 SchedRegister( LoadTexture); |
4e44147d78ee
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
54 |
4e44147d78ee
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
55 SchedRegister( Move); |
4e44147d78ee
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
56 SchedRegister( Draw); |
4e44147d78ee
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
57 |
674
bde5f13adf10
fix many task example (sort).
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
624
diff
changeset
|
58 // SchedRegister( Dummy); |
614
4e44147d78ee
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
59 |
4e44147d78ee
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
60 SchedRegister( UpdateKey); |
4e44147d78ee
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
61 SchedRegister( InitKey); |
4e44147d78ee
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
62 |
748 | 63 //SchedRegister( ShowTime); |
614
4e44147d78ee
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
64 SchedRegister( Switch); |
4e44147d78ee
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
65 |
4e44147d78ee
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
66 // usr |
4e44147d78ee
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
67 SchedRegister( ChainMove); |
752
5d23ffea34e3
rendering, move_coll parallel running
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
748
diff
changeset
|
68 SchedRegister( RunMove); |
756
2575791a333a
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
752
diff
changeset
|
69 SchedRegister( PropertyTask); |
614
4e44147d78ee
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
70 |
507 | 71 } |