diff options
author | Eric Engestrom <[email protected]> | 2019-06-22 16:09:48 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-06-22 15:17:42 +0000 |
commit | cc4b68a80193e2a132cb62309292984a9428f2bb (patch) | |
tree | af0f942d110686b229dc5189a0d559164206bcb6 | |
parent | b27fb3eacab906ec06cd61b7d01e3425c3b3cbfc (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.sources | 1 | ||||
-rw-r--r-- | src/egl/main/egldriver.c | 1 | ||||
-rw-r--r-- | src/egl/main/egldriver.h | 5 | ||||
-rw-r--r-- | src/egl/main/eglfallbacks.c | 45 | ||||
-rw-r--r-- | src/egl/meson.build | 1 |
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', |