Mesa (master): egl: drop empty eglfallbacks.c

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jun 25 06:40:06 UTC 2019


Module: Mesa
Branch: master
Commit: 83f01f526149d1b8a609262a3d696b73e136fff1
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=83f01f526149d1b8a609262a3d696b73e136fff1

Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Sat Jun 22 16:09:48 2019 +0100

egl: drop empty eglfallbacks.c

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

---

 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(-)

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',




More information about the mesa-commit mailing list