mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -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
|
||||
{
|
||||
EGLSurface egl_surface;
|
||||
|
||||
/* Platform specific data */
|
||||
void *platform;
|
||||
} CoglOnscreenEglPrivate;
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
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
|
||||
cogl_onscreen_egl_set_egl_surface (CoglOnscreenEgl *onscreen_egl,
|
||||
EGLSurface egl_surface)
|
||||
|
@ -41,13 +41,6 @@ struct _CoglOnscreenEglClass
|
||||
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_onscreen_egl_set_egl_surface (CoglOnscreenEgl *onscreen_egl,
|
||||
EGLSurface egl_surface);
|
||||
|
Loading…
Reference in New Issue
Block a user