diff options
Diffstat (limited to 'static')
| -rw-r--r-- | static/blog/gamebridge.dot | 38 | ||||
| -rw-r--r-- | static/blog/gamebridge.png | bin | 0 -> 34176 bytes |
2 files changed, 38 insertions, 0 deletions
diff --git a/static/blog/gamebridge.dot b/static/blog/gamebridge.dot new file mode 100644 index 0000000..dea8085 --- /dev/null +++ b/static/blog/gamebridge.dot @@ -0,0 +1,38 @@ +digraph G { + rankdir=LR; + + subgraph cluster_0 { + style=filled; + color=lightgrey; + node [style=filled,color=white]; + controller_driver [label="controller\ndriver"]; + label = "game"; + } + + subgraph cluster_2 { + style=filled; + color=lightgrey; + node [style=filled,color=white]; + vblank; + input; + label = "OS"; + } + + subgraph cluster_1 { + style=filled; + color=lightgrey; + node [style=filled,color=white]; + input_thread [label="input"]; + internet_thread [label="internet"]; + state; + input_thread -> state [label="apply\nlerp"]; + internet_thread -> state; + label = "bridge"; + } + + controller_driver -> vblank [label="on each\nframe"]; + input -> controller_driver [label="when input\nis available"]; + vblank -> input_thread [label="when game signals\nvblank"]; + state -> input_thread [label="querying state"]; + input_thread -> input [label="send input to game"]; +} diff --git a/static/blog/gamebridge.png b/static/blog/gamebridge.png Binary files differnew file mode 100644 index 0000000..af50c55 --- /dev/null +++ b/static/blog/gamebridge.png |
