Skip to content

Commit

Permalink
feat(jiehuo): add jiehuo html and api
Browse files Browse the repository at this point in the history
  • Loading branch information
yyc-git committed May 8, 2019
1 parent 7f976a1 commit 0e03ac9
Show file tree
Hide file tree
Showing 30 changed files with 2,292 additions and 25 deletions.
50 changes: 50 additions & 0 deletions examples/jiehuo/config/no_worker/job/init_jobs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
[
{
"name": "create_canvas"
},
{
"name": "create_gl"
},
{
"name": "set_full_screen"
},
{
"name": "set_viewport"
},
{
"name": "detect_gl"
},
{
"name": "init_event"
},
{
"name": "init_camera"
},
{
"name": "start_time"
},
{
"name": "preget_glslData"
},
{
"name": "init_state"
},
{
"name": "init_no_material_shader"
},
{
"name": "init_basic_material"
},
{
"name": "init_light_material"
},
{
"name": "init_texture"
},
{
"name": "init_imgui"
},
{
"name": "init_script"
}
]
64 changes: 64 additions & 0 deletions examples/jiehuo/config/no_worker/job/loop_jobs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
[
{
"name": "update_ui"
},
{
"name": "tick"
},
{
"name": "update_transform"
},
{
"name": "update_camera"
},
{
"name": "update_script"
},
{
"name": "get_camera_data"
},
{
"name": "create_basic_render_object_buffer"
},
{
"name": "create_light_render_object_buffer"
},
{
"name": "clear_color",
"flags": [
"#AAAAAA"
]
},
{
"name": "clear_buffer",
"flags": [
"COLOR_BUFFER",
"DEPTH_BUFFER",
"STENCIL_BUFFER"
]
},
{
"name": "clear_last_send_component"
},
{
"name": "send_uniform_shader_data"
},
{
"name": "render_basic"
},
{
"name": "front_render_light"
},
{
"name": "dispose"
},
{
"name": "reallocate_cpu_memory"
},
{
"name": "draw_outline"
},
{
"name": "render_imgui"
}
]
55 changes: 55 additions & 0 deletions examples/jiehuo/config/no_worker/pipeline/init_pipelines.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
[
{
"name": "default",
"jobs": [
{
"name": "create_canvas"
},
{
"name": "create_gl"
},
{
"name": "set_full_screen"
},
{
"name": "set_viewport"
},
{
"name": "detect_gl"
},
{
"name": "init_event"
},
{
"name": "init_camera"
},
{
"name": "start_time"
},
{
"name": "preget_glslData"
},
{
"name": "init_state"
},
{
"name": "init_no_material_shader"
},
{
"name": "init_basic_material"
},
{
"name": "init_light_material"
},
{
"name": "init_texture"
},
{
"name": "init_imgui"
},
{
"name": "init_script"
}
]
}
]
61 changes: 61 additions & 0 deletions examples/jiehuo/config/no_worker/pipeline/loop_pipelines.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
[
{
"name": "default",
"jobs": [
{
"name": "tick"
},
{
"name": "dispose"
},
{
"name": "reallocate_cpu_memory"
},
{
"name": "update_ui"
},
{
"name": "update_transform"
},
{
"name": "update_camera"
},
{
"name": "update_script"
},
{
"name": "get_camera_data"
},
{
"name": "create_basic_render_object_buffer"
},
{
"name": "create_light_render_object_buffer"
},
{
"name": "clear_color"
},
{
"name": "clear_buffer"
},
{
"name": "clear_last_send_component"
},
{
"name": "send_uniform_shader_data"
},
{
"name": "render_basic"
},
{
"name": "front_render_light"
},
{
"name": "draw_outline"
},
{
"name": "render_imgui"
}
]
}
]
4 changes: 4 additions & 0 deletions examples/jiehuo/config/no_worker/setting/setting.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"init_pipeline": "default",
"loop_pipeline": "default"
}
Loading

0 comments on commit 0e03ac9

Please sign in to comment.