mirror of
https://github.com/openharmony/ace_ace_engine.git
synced 2026-07-19 22:54:50 -04:00
@@ -1084,8 +1084,10 @@ void PipelineContext::PushPage(const RefPtr<PageComponent>& pageComponent, const
|
||||
RefPtr<DisplayComponent> display = AceType::MakeRefPtr<DisplayComponent>(pageComponent);
|
||||
stageElement->PushPage(display);
|
||||
}
|
||||
#if !defined(WINDOWS_PLATFORM) and !defined(MAC_PLATFORM)
|
||||
|
||||
#if defined(ENABLE_NATIVE_VIEW) || defined(ENABLE_ROSEN_BACKEND)
|
||||
if (GetIsDeclarative()) {
|
||||
// if not use flutter scheduler, can flush pipeline immediately.
|
||||
if (isSurfaceReady_) {
|
||||
FlushPipelineImmediately();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user