Mercurial > hg > Members > kono > Cerium
annotate TaskManager/Test/test_render/task/task_init.cc @ 417:475a01e217cd
add key
author | Hiroki NAKASONE <hiroki@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 23 Sep 2009 21:05:24 +0900 |
parents | dd2ab68e4036 |
children | 9348e49f63cf |
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); |
417 | 25 SchedExternTask(UpdateKey); |
26 SchedExternTask(InitKey); | |
397
a4f690f44842
delete manager (in kernel/ppe/TaskManager.h)
game@henri.cr.ie.u-ryukyu.ac.jp
parents:
387
diff
changeset
|
27 |
109 | 28 /** |
321 | 29 * set_cpu(CPU_PPE) で動作する task |
109 | 30 */ |
31 void | |
32 task_initialize() | |
33 { | |
34 SchedRegisterTask(TASK_CREATE_SGP, Create_SGP); | |
35 SchedRegisterTask(TASK_UPDATE_SGP, Update_SGP); | |
36 SchedRegisterTask(TASK_CREATE_PP, CreatePolygon); | |
137
6cf991f28c6c
SceneGraphPack の代わりに、今は SceneGraph をそのまま使う様に設定。
gongo@gendarme.cr.ie.u-ryukyu.ac.jp
parents:
109
diff
changeset
|
37 SchedRegisterTask(TASK_CREATE_PP2, CreatePolygonFromSceneGraph); |
109 | 38 SchedRegisterTask(TASK_CREATE_SPAN, CreateSpan); |
39 | |
40 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
|
41 // SchedRegisterTask(TASK_DRAW_SPAN2, DrawSpanRenew); |
109 | 42 SchedRegisterTask(TASK_DRAW_BACK, DrawBack); |
43 | |
44 SchedRegisterTask(TASK_INIT_TEXTURE, LoadTexture); | |
45 SchedRegisterTask(TASK_SET_TEXTURE, SetTexture); | |
46 | |
408 | 47 SchedRegisterTask(TASK_MOVE, Move); |
48 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
|
49 |
109 | 50 SchedRegisterTask(TASK_DUMMY, Dummy); |
406 | 51 |
417 | 52 SchedRegisterTask(UPDATE_KEY, UpdateKey); |
53 SchedRegisterTask(INIT_KEY_TASK, InitKey); | |
54 | |
327
7c6d4b101956
add test_render/show_time.{cpp,h} {spe,task}/ShowTime.{cpp,h} but incomplete
aaa
parents:
321
diff
changeset
|
55 SchedRegisterTask(SHOW_TIME, ShowTime); |
408 | 56 |
57 // usr | |
58 SchedRegisterTask(CHAIN_MOVE, ChainMove); | |
109 | 59 } |