annotate Renderer/Engine/spe/spe-main.cc @ 970:1a4849b2acad draft

change pipeline and TaskArray fast
author Yutaka Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
date Thu, 26 Aug 2010 20:38:06 +0900
parents aa9728394194
children 293b36802714
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 "SchedTask.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: 624
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: 624
diff changeset
7
539
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 SchedExternTask(LoadTexture);
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 SchedExternTask(DrawSpan);
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 SchedExternTask(DrawSpanEnd);
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 SchedExternTask(DrawSpanRenew);
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 SchedExternTask(DrawBack);
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
13
970
1a4849b2acad change pipeline and TaskArray fast
Yutaka Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
parents: 915
diff changeset
14 //SchedExternTask(ChainCal);
1a4849b2acad change pipeline and TaskArray fast
Yutaka Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
parents: 915
diff changeset
15 //SchedExternTask(ChainInit);
539
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
16
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
17 SchedExternTask(CreateSpan);
860
63a08f3a468a Still on the way
yutaka@localhost.localdomain
parents: 779
diff changeset
18 SchedExternTask(CreatePolygon);
624
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 621
diff changeset
19 //SchedExternTask(CreatePolygonFromSceneGraph);
539
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
20
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
21 SchedExternTask(ShowTime);
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
22
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
23 SchedExternTask(InitKey);
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
24 SchedExternTask(UpdateKey);
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
25
970
1a4849b2acad change pipeline and TaskArray fast
Yutaka Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
parents: 915
diff changeset
26 //SchedExternTask(PropertyTask);
1a4849b2acad change pipeline and TaskArray fast
Yutaka Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
parents: 915
diff changeset
27 //SchedExternTask(UniverseTask);
1a4849b2acad change pipeline and TaskArray fast
Yutaka Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
parents: 915
diff changeset
28 //SchedExternTask(ChainTask);
755
8aaa29d3e874 add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 747
diff changeset
29
539
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
30 void
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
31 task_init(Scheduler *s)
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
32 {
747
18d31d18a6b2 TaskManager changeset 683, Renderer changeset 746
hiroki
parents: 624
diff changeset
33
915
aa9728394194 create_polygon_task ..not worked yet.
yutaka@localhost.localdomain
parents: 860
diff changeset
34 SchedRegister( DataAllocate);
747
18d31d18a6b2 TaskManager changeset 683, Renderer changeset 746
hiroki
parents: 624
diff changeset
35 SchedRegister( DataUpdate);
915
aa9728394194 create_polygon_task ..not worked yet.
yutaka@localhost.localdomain
parents: 860
diff changeset
36 SchedRegister( DataFree);
747
18d31d18a6b2 TaskManager changeset 683, Renderer changeset 746
hiroki
parents: 624
diff changeset
37
615
184d6d3f0cd9 remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 539
diff changeset
38 SchedRegister( LoadTexture);
184d6d3f0cd9 remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 539
diff changeset
39 SchedRegister( DrawSpan);
539
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
40
970
1a4849b2acad change pipeline and TaskArray fast
Yutaka Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
parents: 915
diff changeset
41 //SchedRegister( ChainCal);
1a4849b2acad change pipeline and TaskArray fast
Yutaka Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
parents: 915
diff changeset
42 //SchedRegister( ChainInit);
615
184d6d3f0cd9 remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 539
diff changeset
43 SchedRegister( DrawBack);
539
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
44
615
184d6d3f0cd9 remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 539
diff changeset
45 SchedRegister( CreateSpan);
860
63a08f3a468a Still on the way
yutaka@localhost.localdomain
parents: 779
diff changeset
46 SchedRegister( CreatePolygon);
624
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 621
diff changeset
47 //SchedRegister( CreatePolygonFromSceneGraph);
539
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
48
615
184d6d3f0cd9 remove uncessary Task Name definision
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 539
diff changeset
49 SchedRegister( ShowTime);
539
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
50
755
8aaa29d3e874 add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 747
diff changeset
51 SchedRegister( InitKey);
8aaa29d3e874 add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 747
diff changeset
52 SchedRegister( UpdateKey);
766
3541fe06be2b add spe/univers_move
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents: 755
diff changeset
53
970
1a4849b2acad change pipeline and TaskArray fast
Yutaka Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
parents: 915
diff changeset
54 //SchedRegister( PropertyTask);
1a4849b2acad change pipeline and TaskArray fast
Yutaka Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
parents: 915
diff changeset
55 //SchedRegister( UniverseTask);
1a4849b2acad change pipeline and TaskArray fast
Yutaka Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
parents: 915
diff changeset
56 //SchedRegister( ChainTask);
539
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
57 }