diff options
author | Manuel Bottini <manuel.bottini@arm.com> | 2019-11-27 11:11:15 +0000 |
---|---|---|
committer | Manuel Bottini <manuel.bottini@arm.com> | 2019-11-27 16:26:42 +0000 |
commit | 4d064b773215e16e26bd5394a91690ca2a560bbe (patch) | |
tree | 6cb2cbcfef93db96f4b7ffe8ceaccfd48f76158d /opengles-3.1-stubs/EGL.c | |
parent | ae6ef7cb55af14dc25f85c6957edbba31d778d1f (diff) | |
download | ComputeLibrary-4d064b773215e16e26bd5394a91690ca2a560bbe.tar.gz |
COMPMID-2960: Remove OpenCL and GLES stubs if not used
Change-Id: I429059bb57f90bc657db055e21d39e73a13849eb
Signed-off-by: Manuel Bottini <manuel.bottini@arm.com>
Reviewed-on: https://review.mlplatform.org/c/2372
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'opengles-3.1-stubs/EGL.c')
-rw-r--r-- | opengles-3.1-stubs/EGL.c | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/opengles-3.1-stubs/EGL.c b/opengles-3.1-stubs/EGL.c deleted file mode 100644 index dc0d4bd989..0000000000 --- a/opengles-3.1-stubs/EGL.c +++ /dev/null @@ -1,40 +0,0 @@ -#include <stdio.h> - -#define PRINT_STUB_ERROR printf("\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\nERROR: %s from stub libEGL.so library called! This library can be used to resolve OpenGL ES symbols at compile time but must *not* be in your runtime path (You need to use a real OpenGL ES implementation, this one is empty)\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n", __func__) - -void eglBindAPI(void) { PRINT_STUB_ERROR; return; } -void eglBindTexImage(void) { PRINT_STUB_ERROR; return; } -void eglChooseConfig(void) { PRINT_STUB_ERROR; return; } -void eglCopyBuffers(void) { PRINT_STUB_ERROR; return; } -void eglCreateContext(void) { PRINT_STUB_ERROR; return; } -void eglCreateImageKHR (void) { PRINT_STUB_ERROR; return; } -void eglCreatePbufferFromClientBuffer(void) { PRINT_STUB_ERROR; return; } -void eglCreatePbufferSurface(void) { PRINT_STUB_ERROR; return; } -void eglCreatePixmapSurface(void) { PRINT_STUB_ERROR; return; } -void eglCreateWindowSurface(void) { PRINT_STUB_ERROR; return; } -void eglDestroyContext(void) { PRINT_STUB_ERROR; return; } -void eglDestroyImageKHR (void) { PRINT_STUB_ERROR; return; } -void eglDestroySurface(void) { PRINT_STUB_ERROR; return; } -void eglGetConfigAttrib(void) { PRINT_STUB_ERROR; return; } -void eglGetConfigs(void) { PRINT_STUB_ERROR; return; } -void eglGetCurrentContext(void) { PRINT_STUB_ERROR; return; } -void eglGetCurrentDisplay(void) { PRINT_STUB_ERROR; return; } -void eglGetCurrentSurface(void) { PRINT_STUB_ERROR; return; } -void eglGetDisplay(void) { PRINT_STUB_ERROR; return; } -void eglGetError(void) { PRINT_STUB_ERROR; return; } -void eglGetProcAddress(void) { PRINT_STUB_ERROR; return; } -void eglInitialize(void) { PRINT_STUB_ERROR; return; } -void eglMakeCurrent(void) { PRINT_STUB_ERROR; return; } -void eglQueryAPI(void) { PRINT_STUB_ERROR; return; } -void eglQueryContext(void) { PRINT_STUB_ERROR; return; } -void eglQueryString(void) { PRINT_STUB_ERROR; return; } -void eglQuerySurface(void) { PRINT_STUB_ERROR; return; } -void eglReleaseTexImage(void) { PRINT_STUB_ERROR; return; } -void eglReleaseThread(void) { PRINT_STUB_ERROR; return; } -void eglSurfaceAttrib(void) { PRINT_STUB_ERROR; return; } -void eglSwapBuffers(void) { PRINT_STUB_ERROR; return; } -void eglSwapInterval(void) { PRINT_STUB_ERROR; return; } -void eglTerminate(void) { PRINT_STUB_ERROR; return; } -void eglWaitClient(void) { PRINT_STUB_ERROR; return; } -void eglWaitGL(void) { PRINT_STUB_ERROR; return; } -void eglWaitNative(void) { PRINT_STUB_ERROR; return; } |