Skip to content

Commit

Permalink
Revert "WAR: temporarily disable partial repaints (#388)" (#401)
Browse files Browse the repository at this point in the history
This reverts commit 820ee19.
  • Loading branch information
HidenoriMatsubayashi authored Nov 16, 2023
1 parent bd5e4b6 commit 6b14cf0
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,6 @@ 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 @@ -202,7 +197,6 @@ void ELinuxEGLSurface::PopulateExistingDamage(const intptr_t fbo_id,
}
}
}
#endif
}

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

0 comments on commit 6b14cf0

Please sign in to comment.