Mercurial > hg > Members > kono > Cerium
annotate TaskManager/Test/test_render/task/task_init.cc @ 419:9348e49f63cf
merge
author | Hiroki NAKASONE <hiroki@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 23 Sep 2009 21:24:38 +0900 |
parents | 475a01e217cd a71cc69f2343 |
children | bd5b93d39597 |
rev | line source |
---|---|
109 | 1 #include "../Func.h" |
2 #include "Scheduler.h" | |
3 | |
4 SchedExternTask(Create_SGP); | |
5 SchedExternTask(Update_SGP); | |
6 SchedExternTask(CreatePolygon); | |
137
6cf991f28c6c
SceneGraphPack の代わりに、今は SceneGraph をそのまま使う様に設定。
gongo@gendarme.cr.ie.u-ryukyu.ac.jp
parents:
109
diff
changeset
|
7 SchedExternTask(CreatePolygonFromSceneGraph); |
109 | 8 SchedExternTask(CreateSpan); |
9 | |
10 SchedExternTask(DrawSpan); | |
184 | 11 SchedExternTask(DrawSpanRenew); |
109 | 12 SchedExternTask(DrawBack); |
13 | |
14 SchedExternTask(LoadTexture); | |
15 SchedExternTask(SetTexture); | |
16 | |
408 | 17 SchedExternTask(Move); |
18 SchedExternTask(Draw); | |
397
a4f690f44842
delete manager (in kernel/ppe/TaskManager.h)
game@henri.cr.ie.u-ryukyu.ac.jp
parents:
387
diff
changeset
|
19 |
109 | 20 SchedExternTask(Dummy); |
21 | |
327
7c6d4b101956
add test_render/show_time.{cpp,h} {spe,task}/ShowTime.{cpp,h} but incomplete
aaa
parents:
321
diff
changeset
|
22 SchedExternTask(ShowTime); |
417 | 23 SchedExternTask(ChainMove); |
406 | 24 SchedExternTask(SendKey); |
419 | 25 |
417 | 26 SchedExternTask(UpdateKey); |
27 SchedExternTask(InitKey); | |
397
a4f690f44842
delete manager (in kernel/ppe/TaskManager.h)
game@henri.cr.ie.u-ryukyu.ac.jp
parents:
387
diff
changeset
|
28 |
408 | 29 SchedExternTask(ChainMove); |
415 | 30 SchedExternTask(Switch); |
327
7c6d4b101956
add test_render/show_time.{cpp,h} {spe,task}/ShowTime.{cpp,h} but incomplete
aaa
parents:
321
diff
changeset
|
31 |
397
a4f690f44842
delete manager (in kernel/ppe/TaskManager.h)
game@henri.cr.ie.u-ryukyu.ac.jp
parents:
387
diff
changeset
|
32 |
109 | 33 /** |
321 | 34 * set_cpu(CPU_PPE) で動作する task |
109 | 35 */ |
36 void | |
37 task_initialize() | |
38 { | |
39 SchedRegisterTask(TASK_CREATE_SGP, Create_SGP); | |
40 SchedRegisterTask(TASK_UPDATE_SGP, Update_SGP); | |
41 SchedRegisterTask(TASK_CREATE_PP, CreatePolygon); | |
137
6cf991f28c6c
SceneGraphPack の代わりに、今は SceneGraph をそのまま使う様に設定。
gongo@gendarme.cr.ie.u-ryukyu.ac.jp
parents:
109
diff
changeset
|
42 SchedRegisterTask(TASK_CREATE_PP2, CreatePolygonFromSceneGraph); |
109 | 43 SchedRegisterTask(TASK_CREATE_SPAN, CreateSpan); |
44 | |
45 SchedRegisterTask(TASK_DRAW_SPAN, DrawSpan); | |
387
5e2d30bfbf23
no compile error but not worked.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
356
diff
changeset
|
46 // SchedRegisterTask(TASK_DRAW_SPAN2, DrawSpanRenew); |
109 | 47 SchedRegisterTask(TASK_DRAW_BACK, DrawBack); |
48 | |
49 SchedRegisterTask(TASK_INIT_TEXTURE, LoadTexture); | |
50 SchedRegisterTask(TASK_SET_TEXTURE, SetTexture); | |
51 | |
408 | 52 SchedRegisterTask(TASK_MOVE, Move); |
53 SchedRegisterTask(TASK_DRAW, Draw); | |
397
a4f690f44842
delete manager (in kernel/ppe/TaskManager.h)
game@henri.cr.ie.u-ryukyu.ac.jp
parents:
387
diff
changeset
|
54 |
109 | 55 SchedRegisterTask(TASK_DUMMY, Dummy); |
406 | 56 |
417 | 57 SchedRegisterTask(UPDATE_KEY, UpdateKey); |
58 SchedRegisterTask(INIT_KEY_TASK, InitKey); | |
59 | |
327
7c6d4b101956
add test_render/show_time.{cpp,h} {spe,task}/ShowTime.{cpp,h} but incomplete
aaa
parents:
321
diff
changeset
|
60 SchedRegisterTask(SHOW_TIME, ShowTime); |
415 | 61 SchedRegisterTask(TASK_SWITCH, Switch); |
408 | 62 |
63 // usr | |
64 SchedRegisterTask(CHAIN_MOVE, ChainMove); | |
109 | 65 } |