e_comp_wl_buffer: Deprecate wayland_tbm_server_increase_buffer_sync_timeline() 85/303185/2
authorSeunghun Lee <shiin.lee@samsung.com>
Tue, 14 Nov 2023 03:53:36 +0000 (12:53 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Thu, 21 Dec 2023 04:59:55 +0000 (04:59 +0000)
The `buffer_sync_timeline` feature appears to have been deprecated and
is no longer required. This commit removes the call to
wayland_tbm_server_increase_buffer_sync_timeline() to simplify the code.
If this feature becomes necessary again in the future, we can revisit
its implementation at that time.

Change-Id: Ia83ecad4c45a7dd8f7ebbe9ea15a1bbe667914e3

src/bin/e_comp_wl_buffer.c

index 9788345..0aba52b 100644 (file)
@@ -130,18 +130,9 @@ _e_comp_wl_buffer_release(E_Comp_Wl_Buffer *base)
 
    buffer = _e_buffer_from_base(base);
    if (buffer)
-     {
-        ds_buffer_unlock(buffer->ds_buffer);
-
-#ifdef HAVE_WAYLAND_TBM
-        wayland_tbm_server_increase_buffer_sync_timeline(e_comp_wl->tbm.server,
-                                                         base->resource, 1);
-#endif
-     }
+     ds_buffer_unlock(buffer->ds_buffer);
    else if (base->type == E_COMP_WL_BUFFER_TYPE_TBM)
-     {
-        e_comp_wl_tbm_buffer_destroy(base);
-     }
+     e_comp_wl_tbm_buffer_destroy(base);
 }
 
 static void