Commit d9cb4944 authored by chadversary's avatar chadversary

egl: Rename files wegl_window.* -> wegl_surface.*

Today, the EGLSurface belonging to struct wegl_window (and, post-patch,
struct wegl_surface) is always created with eglCreateWindowSurface. But
future patches will extend it to allow the EGLSurface to be a pbuffer.
Hence the rename, to reduce confusion.

This patch renames the files. The next patch renames the symbols.
Reviewed-by: Emil Velikov's avatarEmil Velikov <emil.l.velikov@gmail.com>
parent 809d8b39
......@@ -82,7 +82,7 @@ LOCAL_SRC_FILES := \
src/waffle/egl/wegl_display.c \
src/waffle/egl/wegl_platform.c \
src/waffle/egl/wegl_util.c \
src/waffle/egl/wegl_window.c \
src/waffle/egl/wegl_surface.c \
src/waffle/android/droid_platform.c \
src/waffle/android/droid_display.c \
src/waffle/android/droid_window.c \
......
......@@ -102,7 +102,7 @@ if(waffle_has_egl)
egl/wegl_display.c
egl/wegl_platform.c
egl/wegl_util.c
egl/wegl_window.c
egl/wegl_surface.c
)
endif()
......
......@@ -27,7 +27,7 @@
#include <stdbool.h>
#include "wegl_window.h"
#include "wegl_surface.h"
struct wcore_platform;
......
......@@ -28,7 +28,7 @@
#include "wegl_imports.h"
#include "wegl_platform.h"
#include "wegl_util.h"
#include "wegl_window.h"
#include "wegl_surface.h"
/// On Linux, according to eglplatform.h, EGLNativeDisplayType and intptr_t
/// have the same size regardless of platform.
......
......@@ -30,7 +30,7 @@
#include "wegl_imports.h"
#include "wegl_platform.h"
#include "wegl_util.h"
#include "wegl_window.h"
#include "wegl_surface.h"
void
wegl_emit_error(struct wegl_platform *plat, const char *egl_func_call)
......
......@@ -27,7 +27,7 @@
#include <stdbool.h>
#include "wegl_window.h"
#include "wegl_surface.h"
struct wcore_platform;
struct gbm_surface;
......
......@@ -32,7 +32,7 @@
#include "wcore_window.h"
#include "wcore_util.h"
#include "wegl_window.h"
#include "wegl_surface.h"
struct wcore_platform;
......
......@@ -32,7 +32,7 @@
#include "x11_window.h"
#include "wegl_window.h"
#include "wegl_surface.h"
struct wcore_platform;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment