icd: stop generating icd-dispatch-entrypoints.c
Let ICDs define XGL entrypoints directly. This requires the Intel ICD to
rename intelSomeEntryPoint() to xglSomeEntryPoint(). In addition, the ICD
needs to be linked with -Bsymbolic to make symbol resolving work for
xglGetProcAddr().
v2: use -Bsymbolic-functions
diff --git a/icd/intel/fence.c b/icd/intel/fence.c
index 8534b10..a3f13d8 100644
--- a/icd/intel/fence.c
+++ b/icd/intel/fence.c
@@ -81,7 +81,7 @@
return XGL_ERROR_UNAVAILABLE;
}
-XGL_RESULT XGLAPI intelCreateFence(
+ICD_EXPORT XGL_RESULT XGLAPI xglCreateFence(
XGL_DEVICE device,
const XGL_FENCE_CREATE_INFO* pCreateInfo,
XGL_FENCE* pFence)
@@ -92,7 +92,7 @@
(struct intel_fence **) pFence);
}
-XGL_RESULT XGLAPI intelGetFenceStatus(
+ICD_EXPORT XGL_RESULT XGLAPI xglGetFenceStatus(
XGL_FENCE fence_)
{
struct intel_fence *fence = intel_fence(fence_);
@@ -100,7 +100,7 @@
return intel_fence_wait(fence, 0);
}
-XGL_RESULT XGLAPI intelWaitForFences(
+ICD_EXPORT XGL_RESULT XGLAPI xglWaitForFences(
XGL_DEVICE device,
XGL_UINT fenceCount,
const XGL_FENCE* pFences,