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/view.c b/icd/intel/view.c
index ea4ab19..e942853 100644
--- a/icd/intel/view.c
+++ b/icd/intel/view.c
@@ -1267,7 +1267,7 @@
intel_base_destroy(&view->obj.base);
}
-XGL_RESULT XGLAPI intelCreateImageView(
+ICD_EXPORT XGL_RESULT XGLAPI xglCreateImageView(
XGL_DEVICE device,
const XGL_IMAGE_VIEW_CREATE_INFO* pCreateInfo,
XGL_IMAGE_VIEW* pView)
@@ -1278,7 +1278,7 @@
(struct intel_img_view **) pView);
}
-XGL_RESULT XGLAPI intelCreateColorAttachmentView(
+ICD_EXPORT XGL_RESULT XGLAPI xglCreateColorAttachmentView(
XGL_DEVICE device,
const XGL_COLOR_ATTACHMENT_VIEW_CREATE_INFO* pCreateInfo,
XGL_COLOR_ATTACHMENT_VIEW* pView)
@@ -1289,7 +1289,7 @@
(struct intel_rt_view **) pView);
}
-XGL_RESULT XGLAPI intelCreateDepthStencilView(
+ICD_EXPORT XGL_RESULT XGLAPI xglCreateDepthStencilView(
XGL_DEVICE device,
const XGL_DEPTH_STENCIL_VIEW_CREATE_INFO* pCreateInfo,
XGL_DEPTH_STENCIL_VIEW* pView)