summaryrefslogtreecommitdiff
path: root/src/modules/ray/ray_object_point.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2018-02-26 03:29:12 -0800
committerVito Caputo <vcaputo@pengaru.com>2018-02-26 05:18:26 -0800
commit6fabe39ba8841ffe392c9b659505e12edaff43d6 (patch)
tree7a1f94427e9046679042225f1bd779067edab785 /src/modules/ray/ray_object_point.h
parent1bf11626543c2b0dd10e8e0e4f3f75c99ea4f16c (diff)
rototiller,fb: swap dispatch with page flipping
For the sake of sdl_fb, move page flipping into the main thread and run module render dispatch from another thread instead. This eliminates the fb flipper thread, moving its functionality into fb_flip() which synchronously consumes and performs a single flip from the same queue as before - the function is verbatim the loop body of the flipper thread. Now main() calls fb_flip() in a loop where it previously dispatched pages for rendering. Rendering dispatch is now performed in a created thread. See the comment in fb.c for more explanation of this shuffle.
Diffstat (limited to 'src/modules/ray/ray_object_point.h')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved