载入中...
搜索中...
未找到
FrameArena.cpp
浏览该文件的文档.
52 if (!jobs || mode == Mode::Serial || (mode == Mode::Adaptive && !state.isParallelWorthwhile())) {
#define EV_PROFILE_MODULE(module, name)
Profile the enclosing scope, tagged with a module for grouping.
Definition Profile.h:158
Abstract job scheduler: dependencies, parallel_for, task_group, arena.
Definition JobSystem.h:157
virtual TaskGroup * createFrameTaskGroup()=0
Create a fork/join task group whose children are frame-scoped.
virtual Job * fork(JobFunc body)=0
Spawn a scheduled child job and add it to this group.
Definition VulkanSequence.h:9
vkb::PassRecordExecutor jobSystemPassExecutor(eve::thread::JobSystem *jobs)
Build a vkb::PassRecordExecutor backed by the engine JobSystem.
Definition FrameArena.cpp:18
void recordFrameGraphWithJobSystem(vkb::FrameGraph &graph, eve::thread::JobSystem *jobs, FrameGraphRecordingState &state)
Record a vkb::FrameGraph with the engine JobSystem as the parallel recording executor,...
Definition FrameArena.cpp:43
Render-thread-owned recording cost history; reset when graph topology changes. @ownership Stored by G...
Definition FrameGraphJobs.h:22