Mercurial > hg > Members > kono > Cerium
comparison TaskManager/Test/test_render/task/task_init.cpp @ 354:81b25e5d5379
add example/get_segment and change spe/DrawSpan.cpp
author | koba |
---|---|
date | Wed, 15 Jul 2009 17:39:51 +0900 |
parents | 907bda4a1a14 |
children | b89ba1d96fff |
comparison
equal
deleted
inserted
replaced
284:6ceb40aec7fb | 354:81b25e5d5379 |
---|---|
14 SchedExternTask(LoadTexture); | 14 SchedExternTask(LoadTexture); |
15 SchedExternTask(SetTexture); | 15 SchedExternTask(SetTexture); |
16 | 16 |
17 SchedExternTask(Dummy); | 17 SchedExternTask(Dummy); |
18 | 18 |
19 SchedExternTask(ShowTime); | |
20 | |
19 /** | 21 /** |
20 * set_cpu(CPU_PPE) で動作する task | 22 * set_cpu(CPU_PPE) у篏 task |
21 */ | 23 */ |
22 void | 24 void |
23 task_initialize() | 25 task_initialize() |
24 { | 26 { |
25 SchedRegisterTask(TASK_CREATE_SGP, Create_SGP); | 27 SchedRegisterTask(TASK_CREATE_SGP, Create_SGP); |
34 | 36 |
35 SchedRegisterTask(TASK_INIT_TEXTURE, LoadTexture); | 37 SchedRegisterTask(TASK_INIT_TEXTURE, LoadTexture); |
36 SchedRegisterTask(TASK_SET_TEXTURE, SetTexture); | 38 SchedRegisterTask(TASK_SET_TEXTURE, SetTexture); |
37 | 39 |
38 SchedRegisterTask(TASK_DUMMY, Dummy); | 40 SchedRegisterTask(TASK_DUMMY, Dummy); |
41 SchedRegisterTask(SHOW_TIME, ShowTime); | |
39 } | 42 } |