fix bug : add eglSignalSyncKHR function on fastpath
authorSukwon Suh <sukwon.suh@samsung.com>
Wed, 6 Aug 2014 05:53:33 +0000 (14:53 +0900)
committerSukwon Suh <sukwon.suh@samsung.com>
Wed, 6 Aug 2014 05:53:33 +0000 (14:53 +0900)
Change-Id: I71982c4b82282b8e62f785da22cb0f31d46b51be
Signed-off-by: Sukwon Suh <sukwon.suh@samsung.com>
src/headers/sym_egl.h
src/modules/fastpath/coregl_fastpath_egl.c
src/modules/fastpath/coregl_fastpath_gl.c

index 861f27b..f7eaa8c 100644 (file)
@@ -84,6 +84,7 @@ _COREGL_EXT_SYMBOL(EGLBoolean, eglSwapBuffersRegionEXT, (EGLDisplay dpy, EGLSurf
 _COREGL_EXT_SYMBOL_FASTPATH_PASS(eglCreateSyncKHR)
 _COREGL_EXT_SYMBOL_FASTPATH_PASS(eglDestroySyncKHR)
 _COREGL_EXT_SYMBOL_FASTPATH_PASS(eglClientWaitSyncKHR)
+_COREGL_EXT_SYMBOL_FASTPATH_PASS(eglSignalSyncKHR)
 _COREGL_EXT_SYMBOL_FASTPATH_PASS(eglGetSyncAttribKHR)
 
 /* Fastpath Blocked extensions */
index 7e2b68e..a04b8d7 100644 (file)
@@ -8,7 +8,7 @@
 #include <sys/types.h>
 #include <unistd.h>
 #include <signal.h>
-int kill(pid_t pid, int sig);
+#include <assert.h>
 
 #ifdef COREGL_FASTPATH_TRACE_CONTEXT_INFO
 
@@ -1500,7 +1500,7 @@ fastpath_eglGetProcAddress(const char* procname)
 #undef _COREGL_EXT_SYMBOL_FASTPATH_BLOCK
 
                COREGL_ERR("\E[40;31;1mFASTPATH can't support '%s' (will be terminated with Illegal instruction!)\E[0m\n", procname);
-               kill(getpid(), SIGILL);
+               assert(0);
        }
 
        goto finish;
index 15468ed..d021117 100644 (file)
@@ -7,7 +7,6 @@
 #include <sys/types.h>
 #include <unistd.h>
 #include <signal.h>
-int kill(pid_t pid, int sig);
 
 
 #define CURR_STATE_COMPARE(curr_state, state ) \