diff -r 4627760fc0d1 -r 31307efd7e78 render_thread.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/render_thread.h Thu Jun 26 01:32:56 2008 +0300 @@ -0,0 +1,19 @@ +#ifndef RENDER_THREAD_H +#define RENDER_THREAD_H + +#include "render.h" + +/* + * Compared to render_threads, this just uses a single thread to render the image and the PNG, which is better for + * rendering many small images + */ + +struct render_thread; + +typedef void (*render_thread_done_cb)(struct render_thread *ctx, void *arg); + +struct render_thread *render_thread_alloc (struct render *render, render_thread_done_cb cb_func, void *cb_arg); + +void render_thread_free(struct render_thread *ctx); + +#endif /* RENDER_THREAD_H */