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