From 33cf002e49881ea5d1b658426dd36a673a8c8ebf Mon Sep 17 00:00:00 2001 From: valadaptive Date: Fri, 24 May 2024 01:19:38 -0400 Subject: [PATCH] Enable multithreaded AE rendering --- ae-plugin/ntscrs-ae-PiPL.r | 2 +- ae-plugin/ntscrs-ae.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ae-plugin/ntscrs-ae-PiPL.r b/ae-plugin/ntscrs-ae-PiPL.r index 2468d51..13131bf 100644 --- a/ae-plugin/ntscrs-ae-PiPL.r +++ b/ae-plugin/ntscrs-ae-PiPL.r @@ -52,7 +52,7 @@ resource 'PiPL' (16000) { }, /* [11] */ AE_Effect_Global_OutFlags_2 { - 5256 + 134222984 }, /* [12] */ AE_Effect_Match_Name { diff --git a/ae-plugin/ntscrs-ae.cpp b/ae-plugin/ntscrs-ae.cpp index ad36cdb..e87adf8 100644 --- a/ae-plugin/ntscrs-ae.cpp +++ b/ae-plugin/ntscrs-ae.cpp @@ -57,7 +57,8 @@ GlobalSetup ( out_data->out_flags2 = PF_OutFlag2_PARAM_GROUP_START_COLLAPSED_FLAG | PF_OutFlag2_SUPPORTS_SMART_RENDER | PF_OutFlag2_FLOAT_COLOR_AWARE | - PF_OutFlag2_REVEALS_ZERO_ALPHA; + PF_OutFlag2_REVEALS_ZERO_ALPHA | + PF_OutFlag2_SUPPORTS_THREADED_RENDERING; AEGP_SuiteHandler suites(in_data->pica_basicP); // It's fine to store our Rust plugin data in a Handle (which can move around) because it's allocated on the Rust