Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WAR: temporarily disable partial repaints #388

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,11 @@ void ELinuxEGLSurface::PopulateExistingDamage(const intptr_t fbo_id,
0, 0, static_cast<double>(width_px_), static_cast<double>(height_px_)};
existing_damage->damage = existing_damage_map_[fbo_id];

// Temporarily disabled partial repaints due to
// https://github.com/sony/flutter-embedded-linux/issues/334. Once
// https://github.com/flutter/engine/pull/45611 was merged and propagated to
// the stable channel, this will be lifted up.
#if 0
if (age > 1) {
--age;
// join up to (age - 1) last rects from damage history
Expand All @@ -191,6 +196,7 @@ void ELinuxEGLSurface::PopulateExistingDamage(const intptr_t fbo_id,
}
}
}
#endif
}

// Auxiliary function used to transform a FlutterRect into the format that is
Expand Down