e_explicit_sync: [Temporary] Do not check that surface already has synchronization 06/317806/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Thu, 19 Sep 2024 01:23:26 +0000 (10:23 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Thu, 19 Sep 2024 01:58:28 +0000 (10:58 +0900)
web engine apps create two EGLSurface from one wl_surface.
this patch is temporary.

Change-Id: I7487f94fdc4f0f10c0f18a86ea8e752c0467844d

src/bin/server/e_explicit_sync.c

index 21765ca..ff4182f 100644 (file)
@@ -387,6 +387,8 @@ static void _e_explicit_sync_cb_get_synchronization(struct wl_client *client,
         goto fail;
      }
 
+/* temporary disable */
+#if 0
    if (e_client_explicit_sync_get(ec))
      {
         wl_resource_post_error(resource,
@@ -395,6 +397,10 @@ static void _e_explicit_sync_cb_get_synchronization(struct wl_client *client,
                                (unsigned int)wl_resource_get_id(surface));
         goto fail;
      }
+#else
+   ERR("ec:%p wl_surface resource:%u already has synchronization",
+       ec, (unsigned int)wl_resource_get_id(surface));
+#endif
 
    explicit_sync_surface = E_NEW(E_Explicit_Sync_Surface, 1);
    if (!explicit_sync_surface)