mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 05:38:31 +09:00
[Refactor] (MG_Impl/GLImpl): replace Flywheel dispatch sync hack with MOBILEGL_COHERENT_AS_FLUSH
This commit is contained in:
@@ -23,6 +23,10 @@ set(alternate_golden_args)
|
||||
if(DEFINED TRACE_ALTERNATE_GOLDEN AND NOT "${TRACE_ALTERNATE_GOLDEN}" STREQUAL "")
|
||||
list(APPEND alternate_golden_args --alternate-golden "${TRACE_ALTERNATE_GOLDEN}")
|
||||
endif()
|
||||
set(coherent_as_flush_args)
|
||||
if(TRACE_COHERENT_AS_FLUSH)
|
||||
list(APPEND coherent_as_flush_args --coherent-as-flush)
|
||||
endif()
|
||||
|
||||
if(EXISTS "${TRACE_OUTPUT_DIR}")
|
||||
file(REMOVE_RECURSE "${TRACE_OUTPUT_DIR}")
|
||||
@@ -64,6 +68,7 @@ execute_process(
|
||||
--crop-y "${TRACE_CROP_Y}"
|
||||
--crop-width "${TRACE_CROP_WIDTH}"
|
||||
--crop-height "${TRACE_CROP_HEIGHT}"
|
||||
${coherent_as_flush_args}
|
||||
RESULT_VARIABLE replay_result
|
||||
OUTPUT_VARIABLE replay_stdout
|
||||
ERROR_VARIABLE replay_stderr)
|
||||
|
||||
Reference in New Issue
Block a user