Mercurial > hg > Game > Cerium
annotate Renderer/Engine/task/task_init.cc @ 759:45f7ab7101ea draft
first of all commit, not work Rendering/Test/create_task
author | hiroki |
---|---|
date | Thu, 04 Feb 2010 14:46:09 +0900 |
parents | 8aaa29d3e874 |
children | 4d83a6a958fd |
rev | line source |
---|---|
539 | 1 #include "../Func.h" |
2 #include "Scheduler.h" | |
3 | |
747 | 4 SchedExternTask(DataLoad); |
5 SchedExternTask(DataUpdate); | |
6 | |
539 | 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
07351a5a51c9
fix many task example (sort).
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
624
diff
changeset
|
21 // SchedExternTask(Dummy); |
539 | 22 |
23 SchedExternTask(ShowTime); | |
24 SchedExternTask(ChainMove); | |
25 SchedExternTask(SendKey); | |
26 | |
27 SchedExternTask(UpdateKey); | |
28 SchedExternTask(InitKey); | |
29 | |
30 SchedExternTask(Switch); | |
751
1666dba6f6d9
rendering, move_coll parallel running
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
747
diff
changeset
|
31 SchedExternTask(RunMove); |
539 | 32 |
755
8aaa29d3e874
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
751
diff
changeset
|
33 SchedExternTask(PropertyTask); |
759
45f7ab7101ea
first of all commit, not work Rendering/Test/create_task
hiroki
parents:
755
diff
changeset
|
34 SchedExternTask(ExecMove); |
755
8aaa29d3e874
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
751
diff
changeset
|
35 |
539 | 36 |
37 /** | |
38 * set_cpu(CPU_PPE) で動作する task | |
39 */ | |
40 void | |
41 task_initialize() | |
42 { | |
747 | 43 SchedRegister( DataLoad); |
44 SchedRegister( DataUpdate); | |
45 | |
615
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
46 SchedRegister( Create_SGP); |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
47 SchedRegister( Update_SGP); |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
48 SchedRegister(CreatePolygonFromSceneGraph); |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
49 SchedRegister( CreateSpan); |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
50 |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
51 SchedRegister( DrawSpan); |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
52 SchedRegister( DrawBack); |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
53 |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
54 SchedRegister( LoadTexture); |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
55 |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
56 SchedRegister( Move); |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
57 SchedRegister( Draw); |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
58 |
674
07351a5a51c9
fix many task example (sort).
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
624
diff
changeset
|
59 // SchedRegister( Dummy); |
615
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
60 |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
61 SchedRegister( UpdateKey); |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
62 SchedRegister( InitKey); |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
63 |
747 | 64 //SchedRegister( ShowTime); |
615
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
65 SchedRegister( Switch); |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
66 |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
67 // usr |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
68 SchedRegister( ChainMove); |
751
1666dba6f6d9
rendering, move_coll parallel running
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
747
diff
changeset
|
69 SchedRegister( RunMove); |
755
8aaa29d3e874
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
751
diff
changeset
|
70 SchedRegister( PropertyTask); |
759
45f7ab7101ea
first of all commit, not work Rendering/Test/create_task
hiroki
parents:
755
diff
changeset
|
71 SchedRegister( ExecMove); |
615
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
72 |
539 | 73 } |