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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
539
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 #include "../Func.h"
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 #include "Scheduler.h"
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3
915
aa9728394194 create_polygon_task ..not worked yet.
yutaka@localhost.localdomain
parents: 860
diff changeset
4 SchedExternTask(DataAllocate);
747
18d31d18a6b2 TaskManager changeset 683, Renderer changeset 746
hiroki
parents: 674
diff changeset
5 SchedExternTask(DataUpdate);
915
aa9728394194 create_polygon_task ..not worked yet.
yutaka@localhost.localdomain
parents: 860
diff changeset
6 SchedExternTask(DataFree);
747
18d31d18a6b2 TaskManager changeset 683, Renderer changeset 746
hiroki
parents: 674
diff changeset
7
539
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 SchedExternTask(Create_SGP);
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 SchedExternTask(Update_SGP);
860
63a08f3a468a Still on the way
yutaka@localhost.localdomain
parents: 779
diff changeset
10 SchedExternTask(CreatePolygon);
539
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 SchedExternTask(CreatePolygonFromSceneGraph);
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 SchedExternTask(CreateSpan);
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
13
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 SchedExternTask(DrawSpan);
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 SchedExternTask(DrawSpanRenew);
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 SchedExternTask(DrawBack);
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
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
185f025f7ce5 not yet done
yutaka@localhost.localdomain
parents: 965
diff changeset
19 SchedExternTask(RUN_LOOP_TASK);
185f025f7ce5 not yet done
yutaka@localhost.localdomain
parents: 965
diff changeset
20 SchedExternTask(RENDERING_TASK);
185f025f7ce5 not yet done
yutaka@localhost.localdomain
parents: 965
diff changeset
21
539
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
22 SchedExternTask(LoadTexture);
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
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
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
25 SchedExternTask(Draw);
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
26
674
07351a5a51c9 fix many task example (sort).
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 624
diff changeset
27 // SchedExternTask(Dummy);
539
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
28
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
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
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
31 SchedExternTask(SendKey);
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
32
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
33 SchedExternTask(UpdateKey);
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
34 SchedExternTask(InitKey);
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
35
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
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
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
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
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
42
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
43 /**
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
44 * set_cpu(CPU_PPE) で動作する task
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
45 */
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
46 void
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
47 task_initialize()
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
48 {
915
aa9728394194 create_polygon_task ..not worked yet.
yutaka@localhost.localdomain
parents: 860
diff changeset
49 SchedRegister( DataAllocate);
747
18d31d18a6b2 TaskManager changeset 683, Renderer changeset 746
hiroki
parents: 674
diff changeset
50 SchedRegister( DataUpdate);
915
aa9728394194 create_polygon_task ..not worked yet.
yutaka@localhost.localdomain
parents: 860
diff changeset
51 SchedRegister( DataFree);
747
18d31d18a6b2 TaskManager changeset 683, Renderer changeset 746
hiroki
parents: 674
diff changeset
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
63a08f3a468a Still on the way
yutaka@localhost.localdomain
parents: 779
diff changeset
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
185f025f7ce5 not yet done
yutaka@localhost.localdomain
parents: 965
diff changeset
63 SchedRegister(RUN_LOOP_TASK);
185f025f7ce5 not yet done
yutaka@localhost.localdomain
parents: 965
diff changeset
64 SchedRegister(RENDERING_TASK);
185f025f7ce5 not yet done
yutaka@localhost.localdomain
parents: 965
diff changeset
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
18d31d18a6b2 TaskManager changeset 683, Renderer changeset 746
hiroki
parents: 674
diff changeset
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
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
86 }