Skip to content

Commit

Permalink
engine: disable fbo_reset_after_present to avoid flicker issues on so…
Browse files Browse the repository at this point in the history
…me H/W (#385)

See #334

Signed-off-by: Hidenori Matsubayashi <Hidenori.Matsubayashi@gmail.com>
  • Loading branch information
HidenoriMatsubayashi authored Sep 21, 2023
1 parent c696e5b commit 6d652df
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ FlutterRendererConfig GetRendererConfig() {
}
return host->view()->ClearCurrent();
};
config.open_gl.fbo_reset_after_present = true;
// Temporary disabled fbo_reset_after_present to avoid flicker and other
// rendering issues on some H/W. See
// https://github.com/sony/flutter-embedded-linux/issues/334
config.open_gl.fbo_reset_after_present = false;
#if defined(USE_OPENGL_DIRTY_REGION_MANAGEMENT)
config.open_gl.present_with_info =
[](void* user_data, const FlutterPresentInfo* info) -> bool {
Expand Down

0 comments on commit 6d652df

Please sign in to comment.