原始像素太卡 走ffmpeg

This commit is contained in:
2026-08-29 20:24:11 +08:00
parent 45783201e4
commit 20be348a6a
27 changed files with 1310 additions and 684 deletions
+24
View File
@@ -111,6 +111,30 @@ if (Aethera_BUILD_TESTS)
--benchmark_report_aggregates_only=true
DEPENDS Aethera_MCP_Benchmarks
USES_TERMINAL)
add_executable(Aethera_MCP_Event_Latency_Benchmarks
"${CMAKE_CURRENT_LIST_DIR}/tests/Event_Latency_Benchmarks.cpp")
target_link_libraries(Aethera_MCP_Event_Latency_Benchmarks PRIVATE
Aethera_MCP_Core
benchmark::benchmark
TBB::tbbmalloc_proxy)
renderive_stage_render_3D_runtime(Aethera_MCP_Event_Latency_Benchmarks)
if (MSVC)
target_compile_options(Aethera_MCP_Event_Latency_Benchmarks PRIVATE
/utf-8 /bigobj)
target_link_options(Aethera_MCP_Event_Latency_Benchmarks PRIVATE
"/INCLUDE:__TBB_malloc_proxy")
add_custom_command(TARGET Aethera_MCP_Event_Latency_Benchmarks POST_BUILD
COMMAND "${CMAKE_COMMAND}" -E copy_if_different
"$<TARGET_FILE:TBB::tbbmalloc>"
"$<TARGET_FILE:TBB::tbbmalloc_proxy>"
"$<TARGET_FILE_DIR:Aethera_MCP_Event_Latency_Benchmarks>"
VERBATIM)
endif ()
add_custom_target(Aethera_MCP_event_latency_benchmark
COMMAND Aethera_MCP_Event_Latency_Benchmarks
--aethera_event_samples=12
DEPENDS Aethera_MCP_Event_Latency_Benchmarks
USES_TERMINAL)
add_custom_target(Aethera_MCP_check
COMMAND "${CMAKE_CTEST_COMMAND}"
--test-dir "${CMAKE_BINARY_DIR}"