Skip to content

Commit 6b14cf0

Browse files
Revert "WAR: temporarily disable partial repaints (sony#388)" (sony#401)
This reverts commit 820ee19.
1 parent bd5e4b6 commit 6b14cf0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/flutter/shell/platform/linux_embedded/surface/elinux_egl_surface.cc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,6 @@ void ELinuxEGLSurface::PopulateExistingDamage(const intptr_t fbo_id,
174174
0, 0, static_cast<double>(width_px_), static_cast<double>(height_px_)};
175175
existing_damage->damage = existing_damage_map_[fbo_id];
176176

177-
// Temporarily disabled partial repaints due to
178-
// https://github.com/sony/flutter-embedded-linux/issues/334. Once
179-
// https://github.com/flutter/engine/pull/45611 was merged and propagated to
180-
// the stable channel, this will be lifted up.
181-
#if 0
182177
if (age > 1) {
183178
--age;
184179
// join up to (age - 1) last rects from damage history
@@ -202,7 +197,6 @@ void ELinuxEGLSurface::PopulateExistingDamage(const intptr_t fbo_id,
202197
}
203198
}
204199
}
205-
#endif
206200
}
207201

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

0 commit comments

Comments
 (0)