wayland-egl: rename wayland-egl-{priv,backend}.h
In preparation to lifting the whole thing out as a separate library. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Miguel A. Vico <mvicomoya@nvidia.com>
This commit is contained in:
committed by
Emil Velikov
parent
d884d8d007
commit
198af27c67
@@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
#ifdef HAVE_WAYLAND_PLATFORM
|
#ifdef HAVE_WAYLAND_PLATFORM
|
||||||
#include <wayland-client.h>
|
#include <wayland-client.h>
|
||||||
#include "wayland-egl-priv.h"
|
#include "wayland-egl-backend.h"
|
||||||
/* forward declarations of protocol elements */
|
/* forward declarations of protocol elements */
|
||||||
struct zwp_linux_dmabuf_v1;
|
struct zwp_linux_dmabuf_v1;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ AM_CFLAGS = $(DEFINES) \
|
|||||||
$(WAYLAND_CLIENT_CFLAGS)
|
$(WAYLAND_CLIENT_CFLAGS)
|
||||||
|
|
||||||
lib_LTLIBRARIES = libwayland-egl.la
|
lib_LTLIBRARIES = libwayland-egl.la
|
||||||
noinst_HEADERS = wayland-egl-priv.h
|
noinst_HEADERS = wayland-egl-backend.h
|
||||||
libwayland_egl_la_SOURCES = wayland-egl.c
|
libwayland_egl_la_SOURCES = wayland-egl.c
|
||||||
libwayland_egl_la_LDFLAGS = \
|
libwayland_egl_la_LDFLAGS = \
|
||||||
-no-undefined \
|
-no-undefined \
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
#include <stddef.h> // offsetof
|
#include <stddef.h> // offsetof
|
||||||
#include <stdio.h> // printf
|
#include <stdio.h> // printf
|
||||||
|
|
||||||
#include "wayland-egl-priv.h" // Current struct wl_egl_window implementation
|
#include "wayland-egl-backend.h" // Current struct wl_egl_window implementation
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Following are previous implementations of wl_egl_window.
|
* Following are previous implementations of wl_egl_window.
|
||||||
@@ -100,7 +100,7 @@ struct wl_egl_window_v3 {
|
|||||||
|
|
||||||
|
|
||||||
/* This program checks we keep a backwards-compatible struct wl_egl_window
|
/* This program checks we keep a backwards-compatible struct wl_egl_window
|
||||||
* definition whenever it is modified in wayland-egl-priv.h.
|
* definition whenever it is modified in wayland-egl-backend.h.
|
||||||
*
|
*
|
||||||
* The previous definition should be added above as a new struct
|
* The previous definition should be added above as a new struct
|
||||||
* wl_egl_window_vN, and the appropriate checks should be added below
|
* wl_egl_window_vN, and the appropriate checks should be added below
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
#include <wayland-client.h>
|
#include <wayland-client.h>
|
||||||
#include "wayland-egl.h"
|
#include "wayland-egl.h"
|
||||||
#include "wayland-egl-priv.h"
|
#include "wayland-egl-backend.h"
|
||||||
|
|
||||||
WL_EGL_EXPORT void
|
WL_EGL_EXPORT void
|
||||||
wl_egl_window_resize(struct wl_egl_window *egl_window,
|
wl_egl_window_resize(struct wl_egl_window *egl_window,
|
||||||
|
|||||||
Reference in New Issue
Block a user