summaryrefslogtreecommitdiff
path: root/src/modules/strobe/strobe.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2022-09-05 22:50:36 -0700
committerVito Caputo <vcaputo@pengaru.com>2022-09-05 22:50:36 -0700
commit0fb1ebed2f4ed97d2b5789b4cb0d564c5ca19bf5 (patch)
tree638632b34c434da3162f456661b33c8b99f4fff7 /src/modules/strobe/strobe.c
parent237d717f0989e9e3adc51b0088d07db9b8cac6d6 (diff)
modules/roto: move tables init to context create
Mechanical rearrangement, but ultimately there probably needs to be an initialize function added to til_module_t. With all the threading chaos going on, this approach to implicit initialization with a static flag is racy without using atomics. For now it's probably marginally better to do this in context create vs. prepare frame. Context creates *tend* to happen in single-threaded phases of execution, and infrequently. Prepare frame is a serialized phase of the rendering for a given context, but there can be many contexts in-flight simultaneously now with all the forms of compositing happening, sometimes from multiple threads. So that assumption no longer holds...
Diffstat (limited to 'src/modules/strobe/strobe.c')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved