meta-agl-flutter: rework agl-image-flutter
[AGL/meta-agl-devel.git] / meta-agl-flutter / recipes-graphics / toyota / files / 0001-Disable-on_frame_base_surface-wl_surface_commit.patch
1 From fda28bbd6718bf113061292d8cec15084060c923 Mon Sep 17 00:00:00 2001
2 From: Joel Winarske <joel.winarske@gmail.com>
3 Date: Wed, 19 Jul 2023 15:21:46 -0700
4 Subject: [PATCH] Disable on_frame_base_surface wl_surface_commit
5
6 Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
7 ---
8  shell/wayland/window.cc | 2 +-
9  1 file changed, 1 insertion(+), 1 deletion(-)
10
11 diff --git a/shell/wayland/window.cc b/shell/wayland/window.cc
12 index c74b438..f244f08 100644
13 --- a/shell/wayland/window.cc
14 +++ b/shell/wayland/window.cc
15 @@ -257,7 +257,7 @@ void WaylandWindow::on_frame_base_surface(void* data,
16    window->m_fps_counter++;
17    window->m_fps_counter++;
18  
19 -  wl_surface_commit(window->m_base_surface);
20 +  //wl_surface_commit(window->m_base_surface);
21  }
22  
23  uint32_t WaylandWindow::GetFpsCounter() {
24 -- 
25 2.41.0
26