Skip to content

Commit 6d652df

Browse files
engine: disable fbo_reset_after_present to avoid flicker issues on some H/W (sony#385)
See sony#334 Signed-off-by: Hidenori Matsubayashi <[email protected]>
1 parent c696e5b commit 6d652df

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/flutter/shell/platform/linux_embedded/flutter_elinux_engine.cc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ FlutterRendererConfig GetRendererConfig() {
4242
}
4343
return host->view()->ClearCurrent();
4444
};
45-
config.open_gl.fbo_reset_after_present = true;
45+
// Temporary disabled fbo_reset_after_present to avoid flicker and other
46+
// rendering issues on some H/W. See
47+
// https://github.com/sony/flutter-embedded-linux/issues/334
48+
config.open_gl.fbo_reset_after_present = false;
4649
#if defined(USE_OPENGL_DIRTY_REGION_MANAGEMENT)
4750
config.open_gl.present_with_info =
4851
[](void* user_data, const FlutterPresentInfo* info) -> bool {

0 commit comments

Comments
 (0)