Tachyon (current)
Current Main Branch
|
Go to the source code of this file.
Functions | |
void | create_render_threads (scenedef *scene) |
void | destroy_render_threads (scenedef *scene) |
void | renderscene (scenedef *) |
void create_render_threads | ( | scenedef * | scene | ) |
Definition at line 98 of file render.c.
References thr_parms::local_mbox, thr_parms::nthr, rt_atomic_int_init(), rt_thread_barrier_init(), rt_thread_create(), thr_parms::runbar, thr_parms::scene, thr_parms::serialno, thr_parms::startx, thr_parms::starty, thr_parms::stopx, thr_parms::stopy, thread_worker(), thr_parms::tid, thr_parms::xinc, and thr_parms::yinc.
Referenced by rendercheck().
void destroy_render_threads | ( | scenedef * | scene | ) |
Definition at line 210 of file render.c.
References thr_parms::nthr, rt_atomic_int_destroy(), rt_thread_barrier(), rt_thread_barrier_destroy(), and rt_thread_join().
Referenced by rendercheck(), and rt_deletescene().
void renderscene | ( | scenedef * | ) |
Definition at line 549 of file render.c.
References camera_init(), MSG_0, rendercheck(), renderio(), RT_ACCUMULATE_CLEAR, RT_ACCUMULATE_ON, rt_atomic_int_set(), rt_par_start_scanlinereceives(), rt_par_waitscanlines(), rt_thread_barrier(), rt_timer_create(), rt_timer_destroy(), rt_timer_start(), rt_timer_stop(), rt_timer_time(), rt_ui_message(), rt_ui_progress(), and thread_trace().
Referenced by rt_renderscene().