summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-06-22 16:09:48 +0100
committerEric Engestrom <[email protected]>2019-06-25 06:36:54 +0000
commit83f01f526149d1b8a609262a3d696b73e136fff1 (patch)
treed462f81f27ea94a8fabb2e5745758bc3fdc02461
parent757d2fb48dec7dc58400858741a3c66593cc905b (diff)
egl: drop empty eglfallbacks.c
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Tapani Pälli <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
-rw-r--r--src/egl/Makefile.sources1
-rw-r--r--src/egl/main/egldriver.c1
-rw-r--r--src/egl/main/egldriver.h5
-rw-r--r--src/egl/main/eglfallbacks.c45
-rw-r--r--src/egl/meson.build1
5 files changed, 0 insertions, 53 deletions
diff --git a/src/egl/Makefile.sources b/src/egl/Makefile.sources
index 0cc5f1bbfef..5efdb337836 100644
--- a/src/egl/Makefile.sources
+++ b/src/egl/Makefile.sources
@@ -16,7 +16,6 @@ LIBEGL_C_FILES := \
main/egldisplay.h \
main/egldriver.c \
main/egldriver.h \
- main/eglfallbacks.c \
main/eglglobals.c \
main/eglglobals.h \
main/eglimage.c \
diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c
index 4dc46b35e95..e719b19a63f 100644
--- a/src/egl/main/egldriver.c
+++ b/src/egl/main/egldriver.c
@@ -58,7 +58,6 @@ _eglGetDriver(void)
_eglDriver = calloc(1, sizeof(*_eglDriver));
if (!_eglDriver)
return NULL;
- _eglInitDriverFallbacks(_eglDriver);
_eglInitDriver(_eglDriver);
}
diff --git a/src/egl/main/egldriver.h b/src/egl/main/egldriver.h
index 59bc894e519..1a5238af298 100644
--- a/src/egl/main/egldriver.h
+++ b/src/egl/main/egldriver.h
@@ -95,11 +95,6 @@ extern void
_eglUnloadDrivers(void);
-/* defined in eglfallbacks.c */
-extern void
-_eglInitDriverFallbacks(_EGLDriver *drv);
-
-
extern void
_eglSearchPathForEach(EGLBoolean (*callback)(const char *, size_t, void *),
void *callback_data);
diff --git a/src/egl/main/eglfallbacks.c b/src/egl/main/eglfallbacks.c
deleted file mode 100644
index 7dca5f6bdf8..00000000000
--- a/src/egl/main/eglfallbacks.c
+++ /dev/null
@@ -1,45 +0,0 @@
-/**************************************************************************
- *
- * Copyright 2010 LunarG, Inc.
- * All Rights Reserved.
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the
- * "Software"), to deal in the Software without restriction, including
- * without limitation the rights to use, copy, modify, merge, publish,
- * distribute, sub license, and/or sell copies of the Software, and to
- * permit persons to whom the Software is furnished to do so, subject to
- * the following conditions:
- *
- * The above copyright notice and this permission notice (including the
- * next paragraph) shall be included in all copies or substantial portions
- * of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
- * DEALINGS IN THE SOFTWARE.
- *
- **************************************************************************/
-
-
-#include <string.h>
-#include "egltypedefs.h"
-#include "egldriver.h"
-#include "eglconfig.h"
-#include "eglcontext.h"
-#include "eglsurface.h"
-#include "eglsync.h"
-
-
-/**
- * Plug all the available fallback routines into the given driver's
- * dispatch table.
- */
-void
-_eglInitDriverFallbacks(_EGLDriver *drv)
-{
-}
diff --git a/src/egl/meson.build b/src/egl/meson.build
index 443693091b4..97d79823b66 100644
--- a/src/egl/meson.build
+++ b/src/egl/meson.build
@@ -44,7 +44,6 @@ files_egl = files(
'main/egldisplay.h',
'main/egldriver.c',
'main/egldriver.h',
- 'main/eglfallbacks.c',
'main/eglglobals.c',
'main/eglglobals.h',
'main/eglimage.c',