mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
cogl/onscreen/egl: Remove platform pointer
It's not used anymore, so remove it. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1759>
This commit is contained in:
parent
b962822f26
commit
ec14f51ae3
@ -35,9 +35,6 @@
|
|||||||
typedef struct _CoglOnscreenEglPrivate
|
typedef struct _CoglOnscreenEglPrivate
|
||||||
{
|
{
|
||||||
EGLSurface egl_surface;
|
EGLSurface egl_surface;
|
||||||
|
|
||||||
/* Platform specific data */
|
|
||||||
void *platform;
|
|
||||||
} CoglOnscreenEglPrivate;
|
} CoglOnscreenEglPrivate;
|
||||||
|
|
||||||
G_DEFINE_TYPE_WITH_PRIVATE (CoglOnscreenEgl, cogl_onscreen_egl,
|
G_DEFINE_TYPE_WITH_PRIVATE (CoglOnscreenEgl, cogl_onscreen_egl,
|
||||||
@ -299,25 +296,6 @@ cogl_onscreen_egl_swap_buffers_with_damage (CoglOnscreen *onscreen,
|
|||||||
eglSwapBuffers (egl_renderer->edpy, priv->egl_surface);
|
eglSwapBuffers (egl_renderer->edpy, priv->egl_surface);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
cogl_onscreen_egl_set_platform (CoglOnscreenEgl *onscreen_egl,
|
|
||||||
gpointer platform)
|
|
||||||
{
|
|
||||||
CoglOnscreenEglPrivate *priv =
|
|
||||||
cogl_onscreen_egl_get_instance_private (onscreen_egl);
|
|
||||||
|
|
||||||
priv->platform = platform;
|
|
||||||
}
|
|
||||||
|
|
||||||
gpointer
|
|
||||||
cogl_onscreen_egl_get_platform (CoglOnscreenEgl *onscreen_egl)
|
|
||||||
{
|
|
||||||
CoglOnscreenEglPrivate *priv =
|
|
||||||
cogl_onscreen_egl_get_instance_private (onscreen_egl);
|
|
||||||
|
|
||||||
return priv->platform;
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
cogl_onscreen_egl_set_egl_surface (CoglOnscreenEgl *onscreen_egl,
|
cogl_onscreen_egl_set_egl_surface (CoglOnscreenEgl *onscreen_egl,
|
||||||
EGLSurface egl_surface)
|
EGLSurface egl_surface)
|
||||||
|
@ -41,13 +41,6 @@ struct _CoglOnscreenEglClass
|
|||||||
CoglOnscreenClass parent_class;
|
CoglOnscreenClass parent_class;
|
||||||
};
|
};
|
||||||
|
|
||||||
COGL_EXPORT void
|
|
||||||
cogl_onscreen_egl_set_platform (CoglOnscreenEgl *onscreen_egl,
|
|
||||||
gpointer platform);
|
|
||||||
|
|
||||||
COGL_EXPORT gpointer
|
|
||||||
cogl_onscreen_egl_get_platform (CoglOnscreenEgl *onscreen_egl);
|
|
||||||
|
|
||||||
COGL_EXPORT void
|
COGL_EXPORT void
|
||||||
cogl_onscreen_egl_set_egl_surface (CoglOnscreenEgl *onscreen_egl,
|
cogl_onscreen_egl_set_egl_surface (CoglOnscreenEgl *onscreen_egl,
|
||||||
EGLSurface egl_surface);
|
EGLSurface egl_surface);
|
||||||
|
Loading…
Reference in New Issue
Block a user