diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-29 18:13:26 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-29 18:13:26 +0000 |
| commit | c531795b8372eb0e69aa874476f3e96cd7c09dfc (patch) | |
| tree | 56c2cc2ff9476038d81e34c4c186e7d6562103c8 /render.h | |
| parent | Merge branch 'use-freetype-to-render-glyphs' (diff) | |
wip: initial multithreaded renderer
Diffstat (limited to 'render.h')
| -rw-r--r-- | render.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -10,3 +10,9 @@ void render_resize(struct terminal *term, int width, int height); void render_set_title(struct terminal *term, const char *title); void render_update_cursor_surface(struct terminal *term); void render_refresh(struct terminal *term); + +struct render_worker_context { + int my_id; + struct terminal *term; +}; +int render_worker_thread(void *_ctx); |
