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

See sony#334

Signed-off-by: Hidenori Matsubayashi <[email protected]>
  • Loading branch information
HidenoriMatsubayashi committed Sep 21, 2023
1 parent c696e5b commit ef5e325
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 ef5e325

Please sign in to comment.