Skip to content

Commit

Permalink
fix(inspectorEngine): fix bug: stateData no state
Browse files Browse the repository at this point in the history
  • Loading branch information
AmyOrz committed Mar 29, 2019
1 parent 192843c commit 8ea3542
Show file tree
Hide file tree
Showing 11 changed files with 1,172 additions and 30 deletions.
44 changes: 44 additions & 0 deletions config/inspectorEngine/no_worker/job/init_jobs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[
{
"name": "create_canvas"
},
{
"name": "create_gl"
},
{
"name": "set_full_screen"
},
{
"name": "set_viewport"
},
{
"name": "detect_gl"
},
{
"name": "init_camera_controller"
},
{
"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"
}
]
61 changes: 61 additions & 0 deletions config/inspectorEngine/no_worker/job/loop_jobs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
[
{
"name": "tick"
},
{
"name": "update_transform"
},
{
"name": "update_camera"
},
{
"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": "prepare_render_scene_view"
},
{
"name": "prepare_render_game_view"
},
{
"name": "restore"
}
]
49 changes: 49 additions & 0 deletions config/inspectorEngine/no_worker/pipeline/init_pipelines.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
[
{
"name": "default",
"jobs": [
{
"name": "create_canvas"
},
{
"name": "create_gl"
},
{
"name": "set_full_screen"
},
{
"name": "set_viewport"
},
{
"name": "detect_gl"
},
{
"name": "init_camera_controller"
},
{
"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"
}
]
}
]
79 changes: 79 additions & 0 deletions config/inspectorEngine/no_worker/pipeline/loop_pipelines.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
[
{
"name": "default",
"jobs": [
{
"name": "tick"
},
{
"name": "dispose"
},
{
"name": "reallocate_cpu_memory"
},
{
"name": "update_camera"
},
{
"name": "update_transform"
},
{
"name": "clear_color"
},
{
"name": "clear_buffer"
},
{
"name": "prepare_render_scene_view"
},
{
"name": "get_camera_data"
},
{
"name": "create_basic_render_object_buffer"
},
{
"name": "create_light_render_object_buffer"
},
{
"name": "clear_last_send_component"
},
{
"name": "send_uniform_shader_data"
},
{
"name": "render_basic"
},
{
"name": "front_render_light"
},
{
"name": "prepare_render_game_view"
},
{
"name": "get_camera_data"
},
{
"name": "create_basic_render_object_buffer"
},
{
"name": "create_light_render_object_buffer"
},
{
"name": "clear_last_send_component"
},
{
"name": "send_uniform_shader_data"
},
{
"name": "render_basic"
},
{
"name": "front_render_light"
},
{
"name": "restore"
}
]
}
]
4 changes: 4 additions & 0 deletions config/inspectorEngine/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 8ea3542

Please sign in to comment.