From cc4b68a80193e2a132cb62309292984a9428f2bb Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Sat, 22 Jun 2019 16:09:48 +0100 Subject: [PATCH] egl: drop empty eglfallbacks.c MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Eric Engestrom Reviewed-by: Tapani Pälli Reviewed-by: Emil Velikov --- src/egl/Makefile.sources | 1 - src/egl/main/egldriver.c | 1 - src/egl/main/egldriver.h | 5 ----- src/egl/main/eglfallbacks.c | 45 ------------------------------------- src/egl/meson.build | 1 - 5 files changed, 53 deletions(-) delete mode 100644 src/egl/main/eglfallbacks.c 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 -#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', -- 2.30.2