clutter: Remove 'eglnative' backend layer

It's completely empty, so remove it.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1364
This commit is contained in:
Jonas Ådahl
2020-07-09 21:42:01 +02:00
parent 72a389ef12
commit 961a1376cd
5 changed files with 3 additions and 144 deletions

View File

@ -52,7 +52,7 @@
struct _MetaClutterBackendNative
{
ClutterBackendEglNative parent;
ClutterBackend parent;
MetaSeatNative *main_seat;
MetaStageNative *stage_native;
@ -61,7 +61,7 @@ struct _MetaClutterBackendNative
static gchar *evdev_seat_id;
G_DEFINE_TYPE (MetaClutterBackendNative, meta_clutter_backend_native,
CLUTTER_TYPE_BACKEND_EGL_NATIVE)
CLUTTER_TYPE_BACKEND)
MetaStageNative *
meta_clutter_backend_native_get_stage_native (ClutterBackend *backend)

View File

@ -29,12 +29,11 @@
#include "backends/native/meta-stage-native.h"
#include "clutter/clutter.h"
#include "clutter/egl/clutter-backend-eglnative.h"
#define META_TYPE_CLUTTER_BACKEND_NATIVE (meta_clutter_backend_native_get_type ())
G_DECLARE_FINAL_TYPE (MetaClutterBackendNative, meta_clutter_backend_native,
META, CLUTTER_BACKEND_NATIVE,
ClutterBackendEglNative)
ClutterBackend)
MetaStageNative * meta_clutter_backend_native_get_stage_native (ClutterBackend *backend);