Added support for EGL sync extensions bug235_bringup_0
authorGareth Stockwell <gareth.stockwell@accenture.com>
Fri, 24 Sep 2010 17:49:22 +0100
branchbug235_bringup_0
changeset 47 75fe64f1ad18
parent 46 f7fe6b575f3c
child 48 815dbea5eff9
Added support for EGL sync extensions
guestrendering/guestegl/src/guestegl.cpp
--- a/guestrendering/guestegl/src/guestegl.cpp	Fri Sep 24 17:45:25 2010 +0100
+++ b/guestrendering/guestegl/src/guestegl.cpp	Fri Sep 24 17:49:22 2010 +0100
@@ -197,6 +197,26 @@
 		{
 		return (ProcPointer)CEglSyncExtension::egl_Private_SignalSyncNOK;
 		}
+	else if (strncmp("eglCreateSyncKHR", aName, strlen("eglCreateSyncKHR")) == 0)
+		{
+		return (ProcPointer)CEglSyncExtension::eglCreateSyncKHR;
+		}
+	else if (strncmp("eglDestroySyncKHR", aName, strlen("eglDestroySyncKHR")) == 0)
+		{
+		return (ProcPointer)CEglSyncExtension::eglDestroySyncKHR;
+		}
+	else if (strncmp("eglClientWaitSyncKHR", aName, strlen("eglClientWaitSyncKHR")) == 0)
+		{
+		return (ProcPointer)CEglSyncExtension::eglClientWaitSyncKHR;
+		}
+	else if (strncmp("eglSignalSyncKHR", aName, strlen("eglSignalSyncKHR")) == 0)
+		{
+		return (ProcPointer)CEglSyncExtension::eglSignalSyncKHR;
+		}
+	else if (strncmp("eglGetSyncAttribKHR", aName, strlen("eglGetSyncAttribKHR")) == 0)
+		{
+		return (ProcPointer)CEglSyncExtension::eglGetSyncAttribKHR;
+		}
     else
         {
         return NULL;