vrend: rename EGL/GBM sources

Rename them to vrend_winsys_{egl,gbm}*.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
macos/master
Chia-I Wu 4 years ago
parent 9ccd1d971f
commit 3c4c0af218
  1. 13
      src/meson.build
  2. 4
      src/virglrenderer.c
  3. 4
      src/vrend_renderer.c
  4. 2
      src/vrend_renderer.h
  5. 4
      src/vrend_winsys_egl.c
  6. 0
      src/vrend_winsys_egl.h
  7. 2
      src/vrend_winsys_gbm.c
  8. 0
      src/vrend_winsys_gbm.h
  9. 2
      tests/test_fuzzer_formats.c

@ -60,12 +60,11 @@ virglrenderer_sources = [
'virglrenderer_hw.h', 'virglrenderer_hw.h',
] ]
vrend_winsys_egl_sources = [
virgl_egl_sources = [ 'vrend_winsys_gbm.c',
'virgl_gbm.c', 'vrend_winsys_gbm.h',
'virgl_gbm.h', 'vrend_winsys_egl.c',
'virgl_egl_context.c', 'vrend_winsys_egl.h',
'virgl_egl.h',
] ]
virgl_glx_sources = [ virgl_glx_sources = [
@ -84,7 +83,7 @@ virgl_depends = [
virgl_sources += vrend_sources virgl_sources += vrend_sources
if have_egl if have_egl
virgl_sources += virgl_egl_sources virgl_sources += vrend_winsys_egl_sources
virgl_depends += [gbm_dep] virgl_depends += [gbm_dep]
endif endif

@ -43,8 +43,8 @@
#include "virgl_resource.h" #include "virgl_resource.h"
#ifdef HAVE_EPOXY_EGL_H #ifdef HAVE_EPOXY_EGL_H
#include "virgl_gbm.h" #include "vrend_winsys_gbm.h"
#include "virgl_egl.h" #include "vrend_winsys_egl.h"
#endif #endif
#ifdef HAVE_EPOXY_GLX_H #ifdef HAVE_EPOXY_GLX_H

@ -61,8 +61,8 @@
#endif #endif
#ifdef HAVE_EPOXY_EGL_H #ifdef HAVE_EPOXY_EGL_H
#include "virgl_gbm.h" #include "vrend_winsys_gbm.h"
#include "virgl_egl.h" #include "vrend_winsys_egl.h"
extern struct virgl_gbm *gbm; extern struct virgl_gbm *gbm;
extern struct virgl_egl *egl; extern struct virgl_egl *egl;
#endif #endif

@ -32,7 +32,7 @@
#include "vrend_debug.h" #include "vrend_debug.h"
#include "vrend_tweaks.h" #include "vrend_tweaks.h"
#include "vrend_iov.h" #include "vrend_iov.h"
#include "virgl_gbm.h" #include "vrend_winsys_gbm.h"
#include "virgl_hw.h" #include "virgl_hw.h"
#include <epoxy/gl.h> #include <epoxy/gl.h>

@ -40,9 +40,9 @@
#include "util/u_memory.h" #include "util/u_memory.h"
#include "virglrenderer.h" #include "virglrenderer.h"
#include "virgl_egl.h" #include "vrend_winsys_egl.h"
#include "virgl_hw.h" #include "virgl_hw.h"
#include "virgl_gbm.h" #include "vrend_winsys_gbm.h"
#include "virgl_util.h" #include "virgl_util.h"
#define EGL_KHR_SURFACELESS_CONTEXT BIT(0) #define EGL_KHR_SURFACELESS_CONTEXT BIT(0)

@ -38,7 +38,7 @@
#include "util/u_memory.h" #include "util/u_memory.h"
#include "pipe/p_state.h" #include "pipe/p_state.h"
#include "virgl_gbm.h" #include "vrend_winsys_gbm.h"
#include "virgl_hw.h" #include "virgl_hw.h"
#include "vrend_debug.h" #include "vrend_debug.h"

@ -36,7 +36,7 @@
#include <string.h> #include <string.h>
#include "virgl_hw.h" #include "virgl_hw.h"
#include "virgl_egl.h" #include "vrend_winsys_egl.h"
#include "virglrenderer.h" #include "virglrenderer.h"
#include "virgl_protocol.h" #include "virgl_protocol.h"
#include "os/os_misc.h" #include "os/os_misc.h"

Loading…
Cancel
Save