Mercurial > hg > Members > kono > Cerium
annotate TaskManager/Test/test_render/spe/spe-main.cc @ 469:96c941eae962
fix spe/DrawSpan.cc (not yet tested)
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 02 Oct 2009 17:14:16 +0900 |
parents | 01dc4e5be965 |
children | 699ee087234e |
rev | line source |
---|---|
109 | 1 #include "../Func.h" |
2 #include "SchedTask.h" | |
3 | |
4 SchedExternTask(LoadTexture); | |
5 SchedExternTask(SetTexture); | |
6 SchedExternTask(DrawSpan); | |
184 | 7 SchedExternTask(DrawSpanRenew); |
109 | 8 SchedExternTask(DrawBack); |
9 | |
395 | 10 SchedExternTask(ChainCal); |
11 SchedExternTask(ChainInit); | |
12 | |
109 | 13 SchedExternTask(CreateSpan); |
138 | 14 //SchedExternTask(CreatePolygon); |
109 | 15 |
326
e299bd5e6c85
add test_render/{spe, task}/ShowTime.cpp but incomplete
aaa
parents:
184
diff
changeset
|
16 SchedExternTask(ShowTime); |
e299bd5e6c85
add test_render/{spe, task}/ShowTime.cpp but incomplete
aaa
parents:
184
diff
changeset
|
17 |
450 | 18 SchedExternTask(InitKey); |
19 SchedExternTask(UpdateKey); | |
20 | |
109 | 21 void |
448 | 22 task_init(Scheduler *s) |
109 | 23 { |
24 SchedRegisterTask(TASK_INIT_TEXTURE, LoadTexture); | |
25 SchedRegisterTask(TASK_SET_TEXTURE, SetTexture); | |
26 SchedRegisterTask(TASK_DRAW_SPAN, DrawSpan); | |
469
96c941eae962
fix spe/DrawSpan.cc (not yet tested)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
450
diff
changeset
|
27 SchedRegisterTask(TASK_DRAW_SPAN_END, DrawSpanEnd); |
395 | 28 |
29 SchedRegisterTask(CHAINCAL_TASK, ChainCal); | |
30 SchedRegisterTask(CHAININIT_TASK, ChainInit); | |
389 | 31 #if 0 |
184 | 32 SchedRegisterTask(TASK_DRAW_SPAN2, DrawSpanRenew); |
389 | 33 #endif |
109 | 34 SchedRegisterTask(TASK_DRAW_BACK, DrawBack); |
35 | |
36 SchedRegisterTask(TASK_CREATE_SPAN, CreateSpan); | |
138 | 37 //SchedRegisterTask(TASK_CREATE_PP, CreatePolygon); |
326
e299bd5e6c85
add test_render/{spe, task}/ShowTime.cpp but incomplete
aaa
parents:
184
diff
changeset
|
38 |
e299bd5e6c85
add test_render/{spe, task}/ShowTime.cpp but incomplete
aaa
parents:
184
diff
changeset
|
39 SchedRegisterTask(SHOW_TIME, ShowTime); |
450 | 40 |
41 SchedRegisterTask(INIT_KEY_TASK, InitKey); | |
42 SchedRegisterTask(UPDATE_KEY, UpdateKey); | |
109 | 43 } |