This implementation and the accompanying test might seem pointless, yet the point is that the interface is aligned to the emerging concepts for memory allocators in Lumiera, while also directly delegating to the std::allocator for the time being. Before we're able to observe the actual allocator trend and behaviour, it is pretty much moot to engage into any kind of optimisation; the generic heap allocator performs quite well on recent C++ runtimes, and, furthermore, the most important performance tweak is to use a thread-local pool of recent allocations, which should allow our jobs to run without impeding each other.
104 lines
1.8 KiB
Text
104 lines
1.8 KiB
Text
TESTING "Component Test Suite: Render Engine parts" ./test-suite --group=engine
|
|
|
|
|
|
|
|
TEST "Test support: dummy frames" TestFrame_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Test support: buffer provider" DiagnosticBufferProvider_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Buffer provider protocol" BufferProviderProtocol_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Buffer metadata type keys" BufferMetadataKey_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Buffer metadata and state transitions" BufferMetadata_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Proxy Buffer-provider" BufferProxyAdaptor_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "BufferStore interface" BufferStore_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Engine Buffer-Manager interface" EngineBufferManager_test <<END
|
|
END
|
|
|
|
|
|
PLANNED "Engine Interface basics" EngineInterface_test <<END
|
|
END
|
|
|
|
|
|
PLANNED "Engine calculation streams" CalcStream_test <<END
|
|
END
|
|
|
|
|
|
TEST "Frame Dispatcher Interface" DispatcherInterface_test <<END
|
|
END
|
|
|
|
|
|
TEST "Render job properties" JobHash_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Render job planning calculation" JobPlanning_test <<END
|
|
out-lit: Frame #5 @ ∆200ms
|
|
out-lit: real-time-origin : 0:05:00.000
|
|
out-lit: total latency : ≺30ms≻
|
|
out-lit: deadline : 0:05:00.170
|
|
out-lit: Prerequisite......
|
|
out-lit: master deadline : 0:05:00.160
|
|
out-lit: latency : ≺60ms≻
|
|
out-lit: prereq deadline : 0:05:00.100
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Render job planning pipeline setup" JobPlanningPipeline_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Local buffer state management" LocalBufferStage_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Local buffer memory handling" LocalBufferStore_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Local pool for buffer memory" LocalMemPool_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Mock support for render job planning" MockSupport_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
PLANNED "scheduler interface" SchedulerInterface_test <<END
|
|
END
|
|
|
|
|
|
TEST "Step timing basics" Timings_test <<END
|
|
END
|