Update yagl_egl_calls.in according to manual changes in yagl_host_egl_calls.c 81/291981/2
authorPaweł Stawicki <p.stawicki@samsung.com>
Fri, 21 Apr 2023 14:06:45 +0000 (16:06 +0200)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Tue, 25 Apr 2023 22:04:39 +0000 (00:04 +0200)
in commit: f98a012c6b2d0760a5ee02c134a3e37b10bc2906
  "Implement thread safety when sharing EGL context"

file yagl_host_egl_calls.c was modified manualy, but this file is
    generated from yagl_egl_calls.in and shoulden't be modified.

Change-Id: I72e67b0719228caf116e79521abfeea7c7a63d42

EGL/yagl_egl_calls.in
scripts/gen-yagl-calls.py

index 0bdbaf35b8cf4a77525644303d1a1e60d4fc484f..383cdd0ee62621a04910057e3db6b961c295ffad 100644 (file)
@@ -31,4 +31,4 @@ yagl_host_handle eglCreatePbufferSurfaceOnscreenYAGL(yagl_host_handle dpy, yagl_
 yagl_host_handle eglCreatePixmapSurfaceOnscreenYAGL(yagl_host_handle dpy, yagl_host_handle config, yagl_winsys_id pixmap, const EGLint *attrib_list, EGLint &error)
 @void eglInvalidateOnscreenSurfaceYAGL(yagl_host_handle dpy, yagl_host_handle surface, yagl_winsys_id buffer)
 
-EGLBoolean eglCreateImageYAGL(uint32_t texture, yagl_host_handle dpy, yagl_winsys_id buffer, EGLint &error)
+@EGLBoolean eglCreateImageYAGL(uint32_t texture, yagl_host_handle dpy, yagl_winsys_id buffer, EGLint &error)
index e79a1c987152b2acb69effa35b4a42184f17888f..34d890ce83a1326707497af564afb0f3ebe4d75f 100755 (executable)
@@ -287,7 +287,7 @@ def generateTargetSource(output_file, api, includes, entries):
 
         out += "    yagl_transport_end(t);\n"
 
-        if (len(entry["in_args"]) == 0) and (entry["ret"] == "void") and entry["force_sync"]:
+        if entry["force_sync"]:
             out += "    yagl_transport_flush(t, NULL);\n"
 
         if (entry["ret"] != "void"):