Mercurial > hg > Game > Cerium
annotate Renderer/Engine/task/task_init.cc @ 1112:fa1f4a1c47bf draft
fix viewer for non screen mode.
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 17 Jan 2011 06:15:46 +0900 |
parents | 25d3cfb85439 |
children | 7ba266bb54d3 |
rev | line source |
---|---|
539 | 1 #include "../Func.h" |
2 #include "Scheduler.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(Create_SGP); |
9 SchedExternTask(Update_SGP); | |
860 | 10 SchedExternTask(CreatePolygon); |
539 | 11 SchedExternTask(CreatePolygonFromSceneGraph); |
12 SchedExternTask(CreateSpan); | |
13 | |
14 SchedExternTask(DrawSpan); | |
15 SchedExternTask(DrawSpanRenew); | |
16 SchedExternTask(DrawBack); | |
17 | |
1112
fa1f4a1c47bf
fix viewer for non screen mode.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents:
1107
diff
changeset
|
18 SchedExternTask(EXEC_ONLY_TASK); |
1097 | 19 SchedExternTask(RUN_LOOP_TASK); |
20 SchedExternTask(RENDERING_TASK); | |
21 | |
539 | 22 SchedExternTask(LoadTexture); |
23 | |
965
e0427cdee770
removing user task from Renderer Engine
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
915
diff
changeset
|
24 // SchedExternTask(Move); |
539 | 25 SchedExternTask(Draw); |
26 | |
674
07351a5a51c9
fix many task example (sort).
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
624
diff
changeset
|
27 // SchedExternTask(Dummy); |
539 | 28 |
29 SchedExternTask(ShowTime); | |
965
e0427cdee770
removing user task from Renderer Engine
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
915
diff
changeset
|
30 // SchedExternTask(ChainMove); |
539 | 31 SchedExternTask(SendKey); |
32 | |
33 SchedExternTask(UpdateKey); | |
34 SchedExternTask(InitKey); | |
35 | |
36 SchedExternTask(Switch); | |
751
1666dba6f6d9
rendering, move_coll parallel running
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
747
diff
changeset
|
37 SchedExternTask(RunMove); |
539 | 38 |
755
8aaa29d3e874
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
751
diff
changeset
|
39 SchedExternTask(PropertyTask); |
759
45f7ab7101ea
first of all commit, not work Rendering/Test/create_task
hiroki
parents:
755
diff
changeset
|
40 SchedExternTask(ExecMove); |
755
8aaa29d3e874
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
751
diff
changeset
|
41 |
539 | 42 |
43 /** | |
44 * set_cpu(CPU_PPE) で動作する task | |
45 */ | |
46 void | |
47 task_initialize() | |
48 { | |
915
aa9728394194
create_polygon_task ..not worked yet.
yutaka@localhost.localdomain
parents:
860
diff
changeset
|
49 SchedRegister( DataAllocate); |
747 | 50 SchedRegister( DataUpdate); |
915
aa9728394194
create_polygon_task ..not worked yet.
yutaka@localhost.localdomain
parents:
860
diff
changeset
|
51 SchedRegister( DataFree); |
747 | 52 |
615
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
53 SchedRegister( Create_SGP); |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
54 SchedRegister( Update_SGP); |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
55 SchedRegister(CreatePolygonFromSceneGraph); |
860 | 56 SchedRegister(CreatePolygon); |
615
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
57 SchedRegister( CreateSpan); |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
58 |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
59 SchedRegister( DrawSpan); |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
60 SchedRegister( DrawBack); |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
61 |
1112
fa1f4a1c47bf
fix viewer for non screen mode.
koba <koba@cr.ie.u-ryukyu.ac.jp>
parents:
1107
diff
changeset
|
62 SchedRegister(EXEC_ONLY_TASK); |
1097 | 63 SchedRegister(RUN_LOOP_TASK); |
64 SchedRegister(RENDERING_TASK); | |
65 | |
615
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
66 SchedRegister( LoadTexture); |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
67 |
965
e0427cdee770
removing user task from Renderer Engine
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
915
diff
changeset
|
68 // SchedRegister( Move); |
615
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
69 SchedRegister( Draw); |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
70 |
674
07351a5a51c9
fix many task example (sort).
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
624
diff
changeset
|
71 // SchedRegister( Dummy); |
615
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
72 |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
73 SchedRegister( UpdateKey); |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
74 SchedRegister( InitKey); |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
75 |
747 | 76 //SchedRegister( ShowTime); |
615
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
77 SchedRegister( Switch); |
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
78 |
759
45f7ab7101ea
first of all commit, not work Rendering/Test/create_task
hiroki
parents:
755
diff
changeset
|
79 SchedRegister( ExecMove); |
615
184d6d3f0cd9
remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
539
diff
changeset
|
80 |
965
e0427cdee770
removing user task from Renderer Engine
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
915
diff
changeset
|
81 // usr |
e0427cdee770
removing user task from Renderer Engine
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
915
diff
changeset
|
82 // SchedRegister( ChainMove); |
e0427cdee770
removing user task from Renderer Engine
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
915
diff
changeset
|
83 // SchedRegister( RunMove); |
e0427cdee770
removing user task from Renderer Engine
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
915
diff
changeset
|
84 // SchedRegister( PropertyTask); |
e0427cdee770
removing user task from Renderer Engine
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
915
diff
changeset
|
85 |
539 | 86 } |