# HG changeset patch # User Shinji KONO # Date 1258622300 -32400 # Node ID 250c7353ddaf74857546ed044217ee153d2c213f # Parent 20665e4060eae1e12dfd62e4a27c2bcc35f36000 hmmmm diff -r 20665e4060ea -r 250c7353ddaf .hgignore diff -r 20665e4060ea -r 250c7353ddaf .hgtags diff -r 20665e4060ea -r 250c7353ddaf Document/Cerium_2009.mm diff -r 20665e4060ea -r 250c7353ddaf Document/Cerium_Framework.mm diff -r 20665e4060ea -r 250c7353ddaf Document/OSC2009/OSC2009_Hash_LRU.pdf diff -r 20665e4060ea -r 250c7353ddaf Document/OSC2009/OSC2009_HowtoProgrammingwithCerium.pdf diff -r 20665e4060ea -r 250c7353ddaf Document/OSC2009/OSC2009_panel_cellarch.pdf diff -r 20665e4060ea -r 250c7353ddaf Document/OSC2009/SG_onSPU_Panel.pdf diff -r 20665e4060ea -r 250c7353ddaf Document/SceneGraph.mm diff -r 20665e4060ea -r 250c7353ddaf Document/fig/DoubleBuffering.graffle diff -r 20665e4060ea -r 250c7353ddaf Document/fig/PolygonPack2SpanPack.graffle diff -r 20665e4060ea -r 250c7353ddaf Document/manual/Blender/How_to_create_xml.graffle/data.plist diff -r 20665e4060ea -r 250c7353ddaf Document/manual/Blender/How_to_create_xml.graffle/image2.png diff -r 20665e4060ea -r 250c7353ddaf Document/manual/Blender/How_to_create_xml.graffle/image3.png diff -r 20665e4060ea -r 250c7353ddaf Document/manual/Blender/How_to_create_xml.graffle/image4.png diff -r 20665e4060ea -r 250c7353ddaf Document/manual/Blender/How_to_create_xml.graffle/image5.png diff -r 20665e4060ea -r 250c7353ddaf Document/manual/Blender/How_to_create_xml.graffle/image6.png diff -r 20665e4060ea -r 250c7353ddaf Document/manual/Blender/How_to_create_xml.pdf diff -r 20665e4060ea -r 250c7353ddaf Document/manual/Blender/img/BlenderLibps3.png diff -r 20665e4060ea -r 250c7353ddaf Document/manual/Blender/img/Image_open.png diff -r 20665e4060ea -r 250c7353ddaf Document/manual/Blender/img/Make_parent.png diff -r 20665e4060ea -r 250c7353ddaf Document/manual/Blender/img/Object_name.png diff -r 20665e4060ea -r 250c7353ddaf Document/manual/Blender/img/UV_Face_Select.png diff -r 20665e4060ea -r 250c7353ddaf Document/scenegraph modifier.png diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/Application.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/Application.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/Button.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/Button.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/Camera.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/Camera.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/ChangeLog diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/Func.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/Joystick.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/Joystick.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/KeyStat.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/Keyboard.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/Keyboard.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/Light.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/Light.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/MainLoop.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/Makefile diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/Makefile.cell diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/Makefile.def diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/Makefile.linux diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/Makefile.macosx diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/Pad.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/Pad.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/SceneGraph.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/SceneGraph.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/SceneGraphArray.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/SceneGraphIterator.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/SceneGraphIterator.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/SceneGraphRoot.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/SceneGraphRoot.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/Span.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/SpanC.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/SpanC.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/SpanPack.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/TODO diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/Tapestry.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/TextureHash.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/TextureHash.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/base64_de.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/fb.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/global_alloc.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/hash_texture.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/lindaapi.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/lindaapi.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/main.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/polygon.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/polygon.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/polygon_pack.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/scene.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/scene_graph_pack.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/show_time.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/show_time.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/spe/ChainCal.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/spe/ChainCal.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/spe/ChainInit.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/spe/ChainInit.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/spe/CreateSpan.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/spe/CreateSpan.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/spe/DrawBack.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/spe/DrawBack.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/spe/DrawSpan.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/spe/DrawSpan.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/spe/InitKey.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/spe/InitKey.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/spe/Load_Texture.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/spe/Load_Texture.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/spe/Makefile diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/spe/Set_Texture.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/spe/Set_Texture.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/spe/ShowTime.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/spe/ShowTime.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/spe/UpdateKey.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/spe/UpdateKey.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/spe/spe-main.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/spe/texture.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/spe/viewer_types.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/sys.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/sys.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/ChainMove.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/ChainMove.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/CreatePolygonFromSceneGraph.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/CreatePolygonFromSceneGraph.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/CreateSpan.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/CreateSpan.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/Draw.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/Draw.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/DrawBack.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/DrawBack.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/DrawSpan.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/DrawSpan.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/InitKey.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/InitKey.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/Load_Texture.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/Load_Texture.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/Move.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/Move.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/SendKey.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/SendKey.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/Set_Texture.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/Set_Texture.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/ShowTime.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/ShowTime.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/Switch.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/Switch.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/UpdateKey.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/UpdateKey.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/create_sgp.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/create_sgp.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/dummy.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/dummy.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/task_init.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/texture.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/update_sgp.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/task/update_sgp.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/texture.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/texture.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/triangle.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/triangle.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/vertex.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/vertex.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/viewer.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/viewer.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/viewerFB.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/viewerFB.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/viewerSDL.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/viewerSDL.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/viewer_types.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/viewer_types.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/xml.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Engine/xml.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/Chain.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/Makefile diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/Makefile.cell diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/Makefile.def diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/Makefile.macosx diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/back_action.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/back_action.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/ball_action.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/ball_action.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/ball_bound.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/ball_bound.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/boss1_action.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/boss1_action.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/bullet_action.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/bullet_action.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/camera_action.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/camera_action.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/chain.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/chain_old.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/cube.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/cube_action.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/demonstration.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/direction.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/direction.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/dynamic_create.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/dynamic_create.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/enemy_action.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/enemy_action.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/game_over.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/gaplant.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/gaplant.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/gaplant_action.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/gaplant_action.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/hit_judge.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/hit_judge.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/icon.png diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/ieshoot.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/ieshoot.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/init_position.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/init_position.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/long_cube.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/long_cube.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/node.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/node.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/panel.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/panel.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/player_action.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/player_action.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/send_linda.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/send_linda.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/title.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/universe.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/universe.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/untitled.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/untitled.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/vacuum.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/vacuum.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/viewer.cc diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/viewer.h diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/writer.c diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/Ball.xml diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/LongCube.xml diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/Venus.xml diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blast.xml diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/Ball.blend diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/LongCube.blend diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/blast.blend diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/boss1.blend diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/direction.blend diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/gap_plane_test2.blend diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/ieboss.blend diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/iejiki.blend diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/ietama.blend diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/images/ball.jpg diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/images/boss1_organ.png diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/images/icon.jpg diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/images/iejiki.jpg diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/images/ietama.jpg diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/images/laser_1.png diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/images/panel_1024.jpg diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/images/panel_2048.jpg diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/images/panel_512.jpg diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/images/player_idle.png diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/images/player_leftmove.png diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/images/player_rightmove.png diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/images/player_turntoleft.png diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/images/player_turntoright.png diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/images/redbomb_anim_0.png diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/images/redbomb_anim_1.png diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/images/redbomb_anim_2.png diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/images/redbomb_anim_3.png diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/images/redbomb_anim_4.png diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/images/redbomb_anim_5.png diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/images/redbomb_anim_6.png diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/images/redbomb_anim_7.png diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/p_shot.blend diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/panel_1024.blend diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/panel_2048.blend diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/panel_512.blend diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/blend/player.blend diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/boss1.xml diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/chain.xml diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/cube.xml diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/cube_big.xml diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/direction.xml diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/gamecube.xml diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/gameover.xml diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/gap_plane_test.xml diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/gaplant.xml diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/ieboss.xml diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/iejiki.xml diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/ietama.xml diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/mcube.xml diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/p_shot.xml diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/panel_1024.xml diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/panel_2048.xml diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/panel_512.xml diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/player.xml diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/player1.xml diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/sphere.xml diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/sphere_big.xml diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/title.xml diff -r 20665e4060ea -r 250c7353ddaf Renderer/Test/xml_file/universe.xml diff -r 20665e4060ea -r 250c7353ddaf SceneGraph/BlenderScript/create_mesh.py diff -r 20665e4060ea -r 250c7353ddaf SceneGraph/BlenderScript/export_xml.py diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Cell/CellHTaskInfo.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Cell/CellHTaskInfo.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Cell/CellTaskListInfo.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Cell/CellTaskListInfo.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Cell/CellTaskManagerImpl.cc --- a/TaskManager/Cell/CellTaskManagerImpl.cc Thu Nov 19 11:13:42 2009 +0900 +++ b/TaskManager/Cell/CellTaskManagerImpl.cc Thu Nov 19 18:18:20 2009 +0900 @@ -55,7 +55,6 @@ ppeManager = new FifoTaskManagerImpl(machineNum); // 大半のTaskQueueInfoは、共有される MainScheduler *mscheduler = new MainScheduler; - set_scheduler((Scheduler*)mscheduler); ppeManager->init(mscheduler, this); ppeManager->get_scheduler()->set_manager(this); diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Cell/CellTaskManagerImpl.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Cell/SchedNop2Ready.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Cell/SpeThreads.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Cell/SpeThreads.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Cell/spe/CellDmaManager.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Cell/spe/CellDmaManager.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Cell/spe/CellScheduler.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Cell/spe/CellScheduler.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Cell/spe/SpeTaskManagerImpl.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Cell/spe/SpeTaskManagerImpl.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Cell/spe/main.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/ChangeLog --- a/TaskManager/ChangeLog Thu Nov 19 11:13:42 2009 +0900 +++ b/TaskManager/ChangeLog Thu Nov 19 18:18:20 2009 +0900 @@ -17,6 +17,13 @@ なんだが、SpeTheads は「一つしかない」らしい。spe_running で、走っているものがあるかどうか見るか? +Cell だと、MainScheduler と FifoScheduler の二種類の +スケジューラがあるのか。 + + MainScheduler --- task list -----> FifoScheduler + MainScheduler <-- finish task ---- FifoScheduler + +というわけね。 2009-11-15 Shinji KONO diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Doxyfile diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Fifo/FifoDmaManager.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Fifo/FifoDmaManager.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Fifo/FifoTaskManagerImpl.cc --- a/TaskManager/Fifo/FifoTaskManagerImpl.cc Thu Nov 19 11:13:42 2009 +0900 +++ b/TaskManager/Fifo/FifoTaskManagerImpl.cc Thu Nov 19 18:18:20 2009 +0900 @@ -156,22 +156,24 @@ MailQueuePtr FifoTaskManagerImpl::schedule(TaskListPtr list) { - MailQueuePtr list_mail; // task list - MailQueuePtr sentinel; // 番兵 - MailQueuePtr in_mail_list = NULL; MailQueuePtr out_mail_list = NULL; + if (list) { + MailQueuePtr list_mail; // task list + MailQueuePtr sentinel; // 番兵 + MailQueuePtr in_mail_list = NULL; - // TaskList のアドレス - list_mail = mailManager->create((memaddr)list); - in_mail_list = MailManager::append_mailQueue(in_mail_list, list_mail); + // TaskList のアドレス + list_mail = mailManager->create((memaddr)list); + in_mail_list = MailManager::append_mailQueue(in_mail_list, list_mail); - // EXIT_COMMAND (番兵的な意味で) - sentinel = mailManager->create((memaddr)MY_SPE_COMMAND_EXIT); - in_mail_list = MailManager::append_mailQueue(in_mail_list, sentinel); + // EXIT_COMMAND (番兵的な意味で) + sentinel = mailManager->create((memaddr)MY_SPE_COMMAND_EXIT); + in_mail_list = MailManager::append_mailQueue(in_mail_list, sentinel); - // scheduler は受け取ったメールを元に実行する - scheduler->send_mailList(in_mail_list); - scheduler->run(); + // scheduler は受け取ったメールを元に実行する + scheduler->send_mailList(in_mail_list); + scheduler->run(); + } out_mail_list = scheduler->recv_mailList(); return out_mail_list; diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Fifo/FifoTaskManagerImpl.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Fifo/MainScheduler.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Fifo/MainScheduler.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Makefile diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Makefile.cell diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Makefile.def diff -r 20665e4060ea -r 250c7353ddaf TaskManager/Makefile.fifo diff -r 20665e4060ea -r 250c7353ddaf TaskManager/include/base.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/include/error.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/include/types.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/main.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/memory/MemHash.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/memory/MemHash.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/memory/MemList.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/memory/MemList.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/memory/MemorySegment.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/ppe/DmaBuffer.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/ppe/DmaBuffer.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/ppe/HTask.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/ppe/HTask.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/ppe/HTaskInfo.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/ppe/HTaskInfo.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/ppe/MailManager.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/ppe/MailManager.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/ppe/SimpleTask.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/ppe/Task.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/ppe/Task.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/ppe/TaskList.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/ppe/TaskListInfo.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/ppe/TaskListInfo.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/ppe/TaskManager.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/ppe/TaskManager.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/ppe/TaskManagerImpl.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/ppe/TaskManagerImpl.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/ppe/TaskQueue.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/ppe/TaskQueue.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/ppe/TaskQueueInfo.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/ppe/TaskQueueInfo.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/schedule/DmaManager.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/schedule/ListData.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/schedule/SchedExit.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/schedule/SchedExit.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/schedule/SchedMail.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/schedule/SchedMail.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/schedule/SchedNop.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/schedule/SchedNop.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/schedule/SchedNop2Ready.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/schedule/SchedTask.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/schedule/SchedTask.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/schedule/SchedTaskBase.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/schedule/SchedTaskList.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/schedule/SchedTaskList.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/schedule/Scheduler.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/schedule/Scheduler.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/sys_task/Finish.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/sys_task/Finish.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/sys_task/Start.cc diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/sys_task/Start.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/sys_task/SysFunc.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/sys_task/SysTask.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/sys_task/SysTasks.h diff -r 20665e4060ea -r 250c7353ddaf TaskManager/kernel/sys_task/systask_register.cc diff -r 20665e4060ea -r 250c7353ddaf bin/cell_fixpic.pl diff -r 20665e4060ea -r 250c7353ddaf bin/cell_ovly_table.pl diff -r 20665e4060ea -r 250c7353ddaf example/HelloWorld/Func.h diff -r 20665e4060ea -r 250c7353ddaf example/HelloWorld/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/HelloWorld/Makefile.cell diff -r 20665e4060ea -r 250c7353ddaf example/HelloWorld/Makefile.def diff -r 20665e4060ea -r 250c7353ddaf example/HelloWorld/Makefile.linux diff -r 20665e4060ea -r 250c7353ddaf example/HelloWorld/Makefile.macosx diff -r 20665e4060ea -r 250c7353ddaf example/HelloWorld/README diff -r 20665e4060ea -r 250c7353ddaf example/HelloWorld/main.cc diff -r 20665e4060ea -r 250c7353ddaf example/HelloWorld/ppe/.#Hello.cc diff -r 20665e4060ea -r 250c7353ddaf example/HelloWorld/ppe/Hello.cc diff -r 20665e4060ea -r 250c7353ddaf example/HelloWorld/ppe/Hello.h diff -r 20665e4060ea -r 250c7353ddaf example/HelloWorld/ppe/task_init.cc diff -r 20665e4060ea -r 250c7353ddaf example/HelloWorld/spe/Hello.cc diff -r 20665e4060ea -r 250c7353ddaf example/HelloWorld/spe/Hello.h diff -r 20665e4060ea -r 250c7353ddaf example/HelloWorld/spe/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/HelloWorld/spe/spe-main.cc diff -r 20665e4060ea -r 250c7353ddaf example/MemList/Func.h diff -r 20665e4060ea -r 250c7353ddaf example/MemList/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/MemList/Makefile.cell diff -r 20665e4060ea -r 250c7353ddaf example/MemList/Makefile.def diff -r 20665e4060ea -r 250c7353ddaf example/MemList/Makefile.linux diff -r 20665e4060ea -r 250c7353ddaf example/MemList/Makefile.macosx diff -r 20665e4060ea -r 250c7353ddaf example/MemList/README diff -r 20665e4060ea -r 250c7353ddaf example/MemList/main.cc diff -r 20665e4060ea -r 250c7353ddaf example/MemList/spe/Hello.cc diff -r 20665e4060ea -r 250c7353ddaf example/MemList/spe/Hello.h diff -r 20665e4060ea -r 250c7353ddaf example/MemList/spe/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/MemList/spe/ld.script diff -r 20665e4060ea -r 250c7353ddaf example/MemList/spe/ldscript.ed diff -r 20665e4060ea -r 250c7353ddaf example/MemList/spe/spe-main.cc diff -r 20665e4060ea -r 250c7353ddaf example/README diff -r 20665e4060ea -r 250c7353ddaf example/Simple/ChangeLog diff -r 20665e4060ea -r 250c7353ddaf example/Simple/Func.h diff -r 20665e4060ea -r 250c7353ddaf example/Simple/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/Simple/Makefile.cell diff -r 20665e4060ea -r 250c7353ddaf example/Simple/Makefile.def diff -r 20665e4060ea -r 250c7353ddaf example/Simple/Makefile.linux diff -r 20665e4060ea -r 250c7353ddaf example/Simple/Makefile.macosx diff -r 20665e4060ea -r 250c7353ddaf example/Simple/README --- a/example/Simple/README Thu Nov 19 11:13:42 2009 +0900 +++ b/example/Simple/README Thu Nov 19 18:18:20 2009 +0900 @@ -2,57 +2,57 @@ * $Id: README,v 1.5 2008/10/20 10:02:01 gongo Exp $ */ -- +- 概要 -int ꡢ(Twice) ǡǤ2ܤˤ֤ޤ +int の配列を送り、タスク(Twice) で、配列の要素を2倍にして送り返します。 -PPE->SPE DMA ž main.cc twice_init -񤤤ƤΤǤ狼äƤ館뤫ʤȿơ¦ -Υǡμ롣 +PPE->SPE の DMA 転送は main.cc の twice_init に +書いてるのでわかってもらえるかなと信じて、タスク側で +そのデータの受け取り方を説明する。 ------------------------------------- -PPE Ƥǡμ +PPE から送られてきたデータの受け取り ------------------------------------- -void *get_input(void *p, int index) Ȥ +void *get_input(void *p, int index) を使う。 -p ˤ rbuf ޤΤȤʤΤǤ虜虜񤫤ɬפ̵ -index ϡcreate task add_inData Ȼפɡν֤ˤʤޤ +p には rbuf が入ります。今のところ確定なのでわざわざ書かせる必要も無いか。。。 +index は、create task 時に add_inData したと思うけど、その順番になります。 add_inData(data1, size1); add_inData(data2, size2); -ν֤ǵҤ硢 +の順番で記述した場合、 data1 = get_input(rbuf, 0); data2 = get_input(rbuf, 0); -Ǽޤ +で取れます。 ------------------------------------- -PPE إǡ +PPE へデータを送る ------------------------------------- -void *get_output(void *p, int index) Ȥ +void *get_output(void *p, int index) を使う。 -p wbuf, index input ƱǤǤ -get_output Ǽäΰǥǡ񤱤С -Υλˡadd_outData ǻꤷɥ쥹˽񤭹ޤޤ +p は wbuf, index は input と同じ感じでいいです。 +get_output で受け取った領域でデータを書けば、 +このタスクが終了した後に、add_outData で指定したアドレスに書き込まれます。 -- ¹ˡ +- 実行方法 ./twice [-cpu spe_num] [-length data_length] - -cpu Ѥ SPU ο - // Ϥޤ̵̣ץǤ - // ξ硢ʣ˿ʬƤ줾 2 ܤäƤ - // а̣ΤΤˤʤޤï(ry + -cpu 使用する SPU の数 + // 今回はあまり意味の無いオプションです。 + // 巨大な配列の場合、複数に振り分けてそれぞれで 2 倍させるっていう + // 処理を入れれば意味のあるものになります。誰か(ry - -length Ǥο + -length 配列の要素の数 -- ¹ +- 実行例 % ./twice before --- @@ -71,17 +71,17 @@ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 zsh: bus error ./twice -length 15 -ξ硢PS3(SPEȤä)Ǥ bus error Фޤ -ͳ length ˤäơǡΥХȿ -4Х(int) x 15 = 60 Х Ǥ -PPE <-> SPE Ǥ DMA žΥ -1,2,4,8Х, ⤷ 16ХܿȷޤäƤޤ -Υ˸꤬硢Τ褦 bus error Фޤ -դξܤͤϡ +上の場合、PS3上(SPE使った場合)では bus error が出ます。 +この理由は length にあって、送るデータのバイト数が +4バイト(int) x 15 = 60 バイト だからです。 +PPE <-> SPE での DMA 転送のサイズは +1,2,4,8バイト, もしくは 16バイト倍数と決まっています。 +このサイズに誤りがある場合、上のように bus error が出ます。 +この辺の詳しい仕様は、 -Game_project/ps3/docs ˤ PDF +Game_project/ps3/docs にある PDF や -Fixstars Υ -http://cell.fixstars.com/ps3linux/index.php/3.3DMAžˤǡμϤ +Fixstars のサイト +http://cell.fixstars.com/ps3linux/index.php/3.3 DMA転送によるデータの受け渡し -ȤФ狼Ȼפޤ +とか見ればわかると思います diff -r 20665e4060ea -r 250c7353ddaf example/Simple/main.cc diff -r 20665e4060ea -r 250c7353ddaf example/Simple/ppe/Twice.cc diff -r 20665e4060ea -r 250c7353ddaf example/Simple/ppe/Twice.h diff -r 20665e4060ea -r 250c7353ddaf example/Simple/ppe/task_init.cc diff -r 20665e4060ea -r 250c7353ddaf example/Simple/spe/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/Simple/spe/Twice.cc diff -r 20665e4060ea -r 250c7353ddaf example/Simple/spe/Twice.h diff -r 20665e4060ea -r 250c7353ddaf example/Simple/spe/spe-main.cc diff -r 20665e4060ea -r 250c7353ddaf example/basic/ChangeLog diff -r 20665e4060ea -r 250c7353ddaf example/basic/Func.h diff -r 20665e4060ea -r 250c7353ddaf example/basic/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/basic/Makefile.cell diff -r 20665e4060ea -r 250c7353ddaf example/basic/Makefile.def diff -r 20665e4060ea -r 250c7353ddaf example/basic/Makefile.linux diff -r 20665e4060ea -r 250c7353ddaf example/basic/Makefile.macosx diff -r 20665e4060ea -r 250c7353ddaf example/basic/README --- a/example/basic/README Thu Nov 19 11:13:42 2009 +0900 +++ b/example/basic/README Thu Nov 19 18:18:20 2009 +0900 @@ -2,57 +2,57 @@ * $Id: README,v 1.5 2008/10/20 10:02:01 gongo Exp $ */ -- +- 概要 -int ꡢ(Twice) ǡǤ2ܤˤ֤ޤ +int の配列を送り、タスク(Twice) で、配列の要素を2倍にして送り返します。 -PPE->SPE DMA ž main.cc twice_init -񤤤ƤΤǤ狼äƤ館뤫ʤȿơ¦ -Υǡμ롣 +PPE->SPE の DMA 転送は main.cc の twice_init に +書いてるのでわかってもらえるかなと信じて、タスク側で +そのデータの受け取り方を説明する。 ------------------------------------- -PPE Ƥǡμ +PPE から送られてきたデータの受け取り ------------------------------------- -void *get_input(void *p, int index) Ȥ +void *get_input(void *p, int index) を使う。 -p ˤ rbuf ޤΤȤʤΤǤ虜虜񤫤ɬפ̵ -index ϡcreate task add_inData Ȼפɡν֤ˤʤޤ +p には rbuf が入ります。今のところ確定なのでわざわざ書かせる必要も無いか。。。 +index は、create task 時に add_inData したと思うけど、その順番になります。 add_inData(data1, size1); add_inData(data2, size2); -ν֤ǵҤ硢 +の順番で記述した場合、 data1 = get_input(rbuf, 0); data2 = get_input(rbuf, 0); -Ǽޤ +で取れます。 ------------------------------------- -PPE إǡ +PPE へデータを送る ------------------------------------- -void *get_output(void *p, int index) Ȥ +void *get_output(void *p, int index) を使う。 -p wbuf, index input ƱǤǤ -get_output Ǽäΰǥǡ񤱤С -Υλˡadd_outData ǻꤷɥ쥹˽񤭹ޤޤ +p は wbuf, index は input と同じ感じでいいです。 +get_output で受け取った領域でデータを書けば、 +このタスクが終了した後に、add_outData で指定したアドレスに書き込まれます。 -- ¹ˡ +- 実行方法 ./twice [-cpu spe_num] [-length data_length] - -cpu Ѥ SPU ο - // Ϥޤ̵̣ץǤ - // ξ硢ʣ˿ʬƤ줾 2 ܤäƤ - // а̣ΤΤˤʤޤï(ry + -cpu 使用する SPU の数 + // 今回はあまり意味の無いオプションです。 + // 巨大な配列の場合、複数に振り分けてそれぞれで 2 倍させるっていう + // 処理を入れれば意味のあるものになります。誰か(ry - -length Ǥο + -length 配列の要素の数 -- ¹ +- 実行例 % ./twice before --- @@ -71,17 +71,17 @@ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 zsh: bus error ./twice -length 15 -ξ硢PS3(SPEȤä)Ǥ bus error Фޤ -ͳ length ˤäơǡΥХȿ -4Х(int) x 15 = 60 Х Ǥ -PPE <-> SPE Ǥ DMA žΥ -1,2,4,8Х, ⤷ 16ХܿȷޤäƤޤ -Υ˸꤬硢Τ褦 bus error Фޤ -դξܤͤϡ +上の場合、PS3上(SPE使った場合)では bus error が出ます。 +この理由は length にあって、送るデータのバイト数が +4バイト(int) x 15 = 60 バイト だからです。 +PPE <-> SPE での DMA 転送のサイズは +1,2,4,8バイト, もしくは 16バイト倍数と決まっています。 +このサイズに誤りがある場合、上のように bus error が出ます。 +この辺の詳しい仕様は、 -Game_project/ps3/docs ˤ PDF +Game_project/ps3/docs にある PDF や -Fixstars Υ -http://cell.fixstars.com/ps3linux/index.php/3.3DMAžˤǡμϤ +Fixstars のサイト +http://cell.fixstars.com/ps3linux/index.php/3.3 DMA転送によるデータの受け渡し -ȤФ狼Ȼפޤ +とか見ればわかると思います diff -r 20665e4060ea -r 250c7353ddaf example/basic/main.cc diff -r 20665e4060ea -r 250c7353ddaf example/basic/ppe/Twice.cc diff -r 20665e4060ea -r 250c7353ddaf example/basic/ppe/Twice.h diff -r 20665e4060ea -r 250c7353ddaf example/basic/ppe/task_init.cc diff -r 20665e4060ea -r 250c7353ddaf example/basic/spe/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/basic/spe/Twice.cc diff -r 20665e4060ea -r 250c7353ddaf example/basic/spe/Twice.h diff -r 20665e4060ea -r 250c7353ddaf example/basic/spe/spe-main.cc diff -r 20665e4060ea -r 250c7353ddaf example/dependency_task/Func.h diff -r 20665e4060ea -r 250c7353ddaf example/dependency_task/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/dependency_task/Makefile.cell diff -r 20665e4060ea -r 250c7353ddaf example/dependency_task/Makefile.def diff -r 20665e4060ea -r 250c7353ddaf example/dependency_task/Makefile.linux diff -r 20665e4060ea -r 250c7353ddaf example/dependency_task/Makefile.macosx diff -r 20665e4060ea -r 250c7353ddaf example/dependency_task/README diff -r 20665e4060ea -r 250c7353ddaf example/dependency_task/main.cc diff -r 20665e4060ea -r 250c7353ddaf example/dependency_task/ppe/Exec.cc diff -r 20665e4060ea -r 250c7353ddaf example/dependency_task/ppe/Exec.h diff -r 20665e4060ea -r 250c7353ddaf example/dependency_task/ppe/Print.cc diff -r 20665e4060ea -r 250c7353ddaf example/dependency_task/ppe/Print.h diff -r 20665e4060ea -r 250c7353ddaf example/dependency_task/ppe/RunFinish.cc diff -r 20665e4060ea -r 250c7353ddaf example/dependency_task/ppe/RunFinish.h diff -r 20665e4060ea -r 250c7353ddaf example/dependency_task/ppe/task_init.cc diff -r 20665e4060ea -r 250c7353ddaf example/dependency_task/spe/Exec.cc diff -r 20665e4060ea -r 250c7353ddaf example/dependency_task/spe/Exec.h diff -r 20665e4060ea -r 250c7353ddaf example/dependency_task/spe/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/dependency_task/spe/Print.cc diff -r 20665e4060ea -r 250c7353ddaf example/dependency_task/spe/Print.h diff -r 20665e4060ea -r 250c7353ddaf example/dependency_task/spe/spe-main.cc diff -r 20665e4060ea -r 250c7353ddaf example/get_segment/.gdbinit diff -r 20665e4060ea -r 250c7353ddaf example/get_segment/Func.h diff -r 20665e4060ea -r 250c7353ddaf example/get_segment/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/get_segment/Makefile.cell diff -r 20665e4060ea -r 250c7353ddaf example/get_segment/Makefile.def diff -r 20665e4060ea -r 250c7353ddaf example/get_segment/Makefile.linux diff -r 20665e4060ea -r 250c7353ddaf example/get_segment/Makefile.macosx diff -r 20665e4060ea -r 250c7353ddaf example/get_segment/README diff -r 20665e4060ea -r 250c7353ddaf example/get_segment/main.cc diff -r 20665e4060ea -r 250c7353ddaf example/get_segment/ppe/Hello.cc diff -r 20665e4060ea -r 250c7353ddaf example/get_segment/ppe/Hello.h diff -r 20665e4060ea -r 250c7353ddaf example/get_segment/ppe/Hello1.cc diff -r 20665e4060ea -r 250c7353ddaf example/get_segment/ppe/Hello1.h diff -r 20665e4060ea -r 250c7353ddaf example/get_segment/ppe/task_init.cc diff -r 20665e4060ea -r 250c7353ddaf example/get_segment/spe/Hello.cc diff -r 20665e4060ea -r 250c7353ddaf example/get_segment/spe/Hello.h diff -r 20665e4060ea -r 250c7353ddaf example/get_segment/spe/Hello1.cc diff -r 20665e4060ea -r 250c7353ddaf example/get_segment/spe/Hello1.h diff -r 20665e4060ea -r 250c7353ddaf example/get_segment/spe/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/get_segment/spe/fixpic.pl diff -r 20665e4060ea -r 250c7353ddaf example/get_segment/spe/ld.script.ed diff -r 20665e4060ea -r 250c7353ddaf example/get_segment/spe/ld.script.orig diff -r 20665e4060ea -r 250c7353ddaf example/get_segment/spe/ovly_table.pl diff -r 20665e4060ea -r 250c7353ddaf example/get_segment/spe/spe-main.cc diff -r 20665e4060ea -r 250c7353ddaf example/mainMem/Func.h diff -r 20665e4060ea -r 250c7353ddaf example/mainMem/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/mainMem/Makefile.cell diff -r 20665e4060ea -r 250c7353ddaf example/mainMem/Makefile.def diff -r 20665e4060ea -r 250c7353ddaf example/mainMem/Makefile.linux diff -r 20665e4060ea -r 250c7353ddaf example/mainMem/Makefile.macosx diff -r 20665e4060ea -r 250c7353ddaf example/mainMem/README diff -r 20665e4060ea -r 250c7353ddaf example/mainMem/main.cc diff -r 20665e4060ea -r 250c7353ddaf example/mainMem/ppe/.#Hello.cc diff -r 20665e4060ea -r 250c7353ddaf example/mainMem/ppe/Hello.cc diff -r 20665e4060ea -r 250c7353ddaf example/mainMem/ppe/Hello.h diff -r 20665e4060ea -r 250c7353ddaf example/mainMem/ppe/task_init.cc diff -r 20665e4060ea -r 250c7353ddaf example/mainMem/spe/Hello.cc diff -r 20665e4060ea -r 250c7353ddaf example/mainMem/spe/Hello.h diff -r 20665e4060ea -r 250c7353ddaf example/mainMem/spe/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/mainMem/spe/spe-main.cc diff -r 20665e4060ea -r 250c7353ddaf example/many_task/Func.h diff -r 20665e4060ea -r 250c7353ddaf example/many_task/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/many_task/Makefile.cell diff -r 20665e4060ea -r 250c7353ddaf example/many_task/Makefile.def diff -r 20665e4060ea -r 250c7353ddaf example/many_task/Makefile.linux diff -r 20665e4060ea -r 250c7353ddaf example/many_task/Makefile.macosx diff -r 20665e4060ea -r 250c7353ddaf example/many_task/README diff -r 20665e4060ea -r 250c7353ddaf example/many_task/main.cc diff -r 20665e4060ea -r 250c7353ddaf example/many_task/ppe/QuickSort.cc diff -r 20665e4060ea -r 250c7353ddaf example/many_task/ppe/QuickSort.h diff -r 20665e4060ea -r 250c7353ddaf example/many_task/ppe/mymethod.cc diff -r 20665e4060ea -r 250c7353ddaf example/many_task/sort.cc diff -r 20665e4060ea -r 250c7353ddaf example/many_task/sort.h diff -r 20665e4060ea -r 250c7353ddaf example/many_task/spe/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/many_task/spe/QuickSort.cc diff -r 20665e4060ea -r 250c7353ddaf example/many_task/spe/QuickSort.h diff -r 20665e4060ea -r 250c7353ddaf example/many_task/spe/SpeProfile.cc diff -r 20665e4060ea -r 250c7353ddaf example/many_task/spe/SpeProfile.h diff -r 20665e4060ea -r 250c7353ddaf example/many_task/spe/spe-main.cc diff -r 20665e4060ea -r 250c7353ddaf example/many_task/task_init.cc diff -r 20665e4060ea -r 250c7353ddaf example/post_function/Func.h diff -r 20665e4060ea -r 250c7353ddaf example/post_function/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/post_function/Makefile.cell diff -r 20665e4060ea -r 250c7353ddaf example/post_function/Makefile.def diff -r 20665e4060ea -r 250c7353ddaf example/post_function/Makefile.linux diff -r 20665e4060ea -r 250c7353ddaf example/post_function/Makefile.macosx diff -r 20665e4060ea -r 250c7353ddaf example/post_function/README diff -r 20665e4060ea -r 250c7353ddaf example/post_function/main.cc diff -r 20665e4060ea -r 250c7353ddaf example/post_function/ppe/Hello.cc diff -r 20665e4060ea -r 250c7353ddaf example/post_function/ppe/Hello.h diff -r 20665e4060ea -r 250c7353ddaf example/post_function/ppe/task_init.cc diff -r 20665e4060ea -r 250c7353ddaf example/post_function/spe/Hello.cc diff -r 20665e4060ea -r 250c7353ddaf example/post_function/spe/Hello.h diff -r 20665e4060ea -r 250c7353ddaf example/post_function/spe/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/post_function/spe/spe-main.cc diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/ChangeLog diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/Func.h diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/Makefile.cell diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/Makefile.def diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/Makefile.linux diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/Makefile.macosx diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/README diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/main.cc diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/ppe/Renew1.cc diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/ppe/Renew1.h diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/ppe/Renew2.cc diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/ppe/Renew2.h diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/ppe/Renew3.cc diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/ppe/Renew3.h diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/ppe/Renew4.cc diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/ppe/Renew4.h diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/ppe/RenewStart.cc diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/ppe/RenewStart.h diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/ppe/task_init.cc diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/spe/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/spe/Renew1.cc diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/spe/Renew1.h diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/spe/Renew2.cc diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/spe/Renew2.h diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/spe/Renew3.cc diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/spe/Renew3.h diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/spe/Renew4.cc diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/spe/Renew4.h diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/spe/RenewStart.cc diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/spe/RenewStart.h diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/spe/SpeProfile.cc diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/spe/SpeProfile.h diff -r 20665e4060ea -r 250c7353ddaf example/renew_task/spe/spe-main.cc diff -r 20665e4060ea -r 250c7353ddaf example/share_task/Func.h diff -r 20665e4060ea -r 250c7353ddaf example/share_task/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/share_task/Makefile.cell diff -r 20665e4060ea -r 250c7353ddaf example/share_task/Makefile.def diff -r 20665e4060ea -r 250c7353ddaf example/share_task/Makefile.linux diff -r 20665e4060ea -r 250c7353ddaf example/share_task/Makefile.macosx diff -r 20665e4060ea -r 250c7353ddaf example/share_task/README diff -r 20665e4060ea -r 250c7353ddaf example/share_task/main.cc diff -r 20665e4060ea -r 250c7353ddaf example/share_task/ppe/Exec.cc diff -r 20665e4060ea -r 250c7353ddaf example/share_task/ppe/Exec.h diff -r 20665e4060ea -r 250c7353ddaf example/share_task/ppe/Load.cc diff -r 20665e4060ea -r 250c7353ddaf example/share_task/ppe/Load.h diff -r 20665e4060ea -r 250c7353ddaf example/share_task/ppe/RunFinish.cc diff -r 20665e4060ea -r 250c7353ddaf example/share_task/ppe/RunFinish.h diff -r 20665e4060ea -r 250c7353ddaf example/share_task/ppe/task_init.cc diff -r 20665e4060ea -r 250c7353ddaf example/share_task/spe/Exec.cc diff -r 20665e4060ea -r 250c7353ddaf example/share_task/spe/Exec.h diff -r 20665e4060ea -r 250c7353ddaf example/share_task/spe/Load.cc diff -r 20665e4060ea -r 250c7353ddaf example/share_task/spe/Load.h diff -r 20665e4060ea -r 250c7353ddaf example/share_task/spe/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/share_task/spe/spe-main.cc diff -r 20665e4060ea -r 250c7353ddaf example/task_config/Changes diff -r 20665e4060ea -r 250c7353ddaf example/task_config/tasks.xml diff -r 20665e4060ea -r 250c7353ddaf example/task_queue/Func.h diff -r 20665e4060ea -r 250c7353ddaf example/task_queue/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/task_queue/Makefile.cell diff -r 20665e4060ea -r 250c7353ddaf example/task_queue/Makefile.def diff -r 20665e4060ea -r 250c7353ddaf example/task_queue/Makefile.linux diff -r 20665e4060ea -r 250c7353ddaf example/task_queue/Makefile.macosx diff -r 20665e4060ea -r 250c7353ddaf example/task_queue/README diff -r 20665e4060ea -r 250c7353ddaf example/task_queue/main.cc diff -r 20665e4060ea -r 250c7353ddaf example/task_queue/main.h diff -r 20665e4060ea -r 250c7353ddaf example/task_queue/ppe/.#Hello.cc diff -r 20665e4060ea -r 250c7353ddaf example/task_queue/ppe/Hello.cc diff -r 20665e4060ea -r 250c7353ddaf example/task_queue/ppe/Hello.h diff -r 20665e4060ea -r 250c7353ddaf example/task_queue/ppe/task_init.cc diff -r 20665e4060ea -r 250c7353ddaf example/task_queue/spe/Hello.cc diff -r 20665e4060ea -r 250c7353ddaf example/task_queue/spe/Hello.h diff -r 20665e4060ea -r 250c7353ddaf example/task_queue/spe/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/task_queue/spe/spe-main.cc diff -r 20665e4060ea -r 250c7353ddaf example/word_count/Func.h diff -r 20665e4060ea -r 250c7353ddaf example/word_count/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/word_count/Makefile.cell diff -r 20665e4060ea -r 250c7353ddaf example/word_count/Makefile.def diff -r 20665e4060ea -r 250c7353ddaf example/word_count/Makefile.linux diff -r 20665e4060ea -r 250c7353ddaf example/word_count/Makefile.macosx diff -r 20665e4060ea -r 250c7353ddaf example/word_count/README diff -r 20665e4060ea -r 250c7353ddaf example/word_count/a.txt diff -r 20665e4060ea -r 250c7353ddaf example/word_count/c.txt diff -r 20665e4060ea -r 250c7353ddaf example/word_count/main.cc diff -r 20665e4060ea -r 250c7353ddaf example/word_count/ppe/Exec.cc diff -r 20665e4060ea -r 250c7353ddaf example/word_count/ppe/Exec.h diff -r 20665e4060ea -r 250c7353ddaf example/word_count/ppe/Print.cc diff -r 20665e4060ea -r 250c7353ddaf example/word_count/ppe/Print.h diff -r 20665e4060ea -r 250c7353ddaf example/word_count/ppe/RunFinish.cc diff -r 20665e4060ea -r 250c7353ddaf example/word_count/ppe/RunFinish.h diff -r 20665e4060ea -r 250c7353ddaf example/word_count/ppe/task_init.cc diff -r 20665e4060ea -r 250c7353ddaf example/word_count/spe/Exec.cc diff -r 20665e4060ea -r 250c7353ddaf example/word_count/spe/Exec.h diff -r 20665e4060ea -r 250c7353ddaf example/word_count/spe/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/word_count/spe/Print.cc diff -r 20665e4060ea -r 250c7353ddaf example/word_count/spe/Print.h diff -r 20665e4060ea -r 250c7353ddaf example/word_count/spe/spe-main.cc diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/Func.h diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/Makefile.cell diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/Makefile.def diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/Makefile.linux diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/Makefile.macosx diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/README diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/main.cc diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/ppe/Exec.cc diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/ppe/Exec.h diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/ppe/Hello.cc diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/ppe/Hello.h diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/ppe/Print.cc diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/ppe/Print.h diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/ppe/RunFinish.cc diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/ppe/RunFinish.h diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/ppe/Wait.cc diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/ppe/Wait.h diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/ppe/task_init.cc diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/spe/Exec.cc diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/spe/Exec.h diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/spe/Hello.cc diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/spe/Hello.h diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/spe/Makefile diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/spe/Print.cc diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/spe/Print.h diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/spe/Wait.cc diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/spe/Wait.h diff -r 20665e4060ea -r 250c7353ddaf example/word_count3/spe/spe-main.cc diff -r 20665e4060ea -r 250c7353ddaf lib/ld.script.orig diff -r 20665e4060ea -r 250c7353ddaf lib/tasks.xml diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/base64_de.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/cube-p.xml diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/cube.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/cube.xml diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/cube_tes.xml diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/cylinder.xml diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/demonstration.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/fb.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/icon.png diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/main.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/out.txt diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/pad.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/panel.xml diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/panel_texture.xml diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/polygon.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/polygon.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/polygon_pack.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/scene.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/scene_graph_pack.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/span.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/span.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/span_pack.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/spu_span.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/sys.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/sys.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/task/create_pp.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/task/create_sgp.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/task/create_span.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/task/spu_draw.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/task/spu_span.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/task/task_init.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/task/update_sgp.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/tes.xml diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/texture.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/texture.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/trash/demonstration.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/trash/mygl.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/trash/pad.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/trash/scene.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/trash/scene_graph_to_polygon_pack.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/trash/scene_graph_update.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/triangle.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/triangle.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/vertex.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/vertex.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/viewer.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/viewer.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/xml.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_pack/xml.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/Func.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/Span.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/SpanC.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/SpanC.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/SpanPack.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/SpanPack.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/SpanPackList.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/SpuSpan.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/SpuSpan.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/base64_de.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/cube-p.xml diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/cube.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/cube.xml diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/cube_big.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/cube_big.xml diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/cube_tes.xml diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/cylinder.xml diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/demonstration.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/fb.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/fb.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/icon.png diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/main.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/out.txt diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/pad.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/panel.xml diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/panel_texture.xml diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/polygon.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/polygon.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/polygon_pack.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/scene.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/scene_graph_pack.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/spe/CreatePolygonPack.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/spe/CreatePolygonPack.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/spe/Load_Texture.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/spe/Load_Texture.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/spe/SpuDraw.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/spe/SpuDraw.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/spe/spe-main.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/sys.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/sys.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/task/create_pp.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/task/create_sgp.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/task/create_span.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/task/dummy.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/task/span_pack_draw.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/task/task_init.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/task/update_sgp.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/tes.xml diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/test/LoadTexture/Makefile diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/test/LoadTexture/base64_de.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/test/LoadTexture/cube.xml diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/test/LoadTexture/fb.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/test/LoadTexture/main.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/test/LoadTexture/polygon.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/test/LoadTexture/polygon.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/test/LoadTexture/spe/Load_Texture.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/test/LoadTexture/spe/Load_Texture.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/test/LoadTexture/spe/Makefile diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/test/LoadTexture/spe/spe-main.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/test/LoadTexture/viewer.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/test/LoadTexture/viewer.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/texture.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/texture.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/trash/demonstration.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/trash/mygl.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/trash/pad.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/trash/scene.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/trash/scene_graph_to_polygon_pack.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/trash/scene_graph_update.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/triangle.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/triangle.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/vertex.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/vertex.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/viewer.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/viewer.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/viewer_types.h diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/xml.cpp diff -r 20665e4060ea -r 250c7353ddaf old/simple_render/xml.h diff -r 20665e4060ea -r 250c7353ddaf old/tmp/outer.pl diff -r 20665e4060ea -r 250c7353ddaf old/tmp/revers.pl diff -r 20665e4060ea -r 250c7353ddaf old/tmp/test.c