cogl: Remove unused cogl_egl_context_get_egl_context

https://gitlab.gnome.org/GNOME/mutter/merge_requests/885
This commit is contained in:
Adam Jackson 2019-10-24 16:31:43 -04:00
parent b294e62aed
commit 3e5960b5a2
2 changed files with 0 additions and 28 deletions

View File

@ -79,26 +79,6 @@ G_BEGIN_DECLS
EGLDisplay
cogl_egl_context_get_egl_display (CoglContext *context);
/**
* cogl_egl_context_get_egl_context:
* @context: A #CoglContext pointer
*
* If you have done a runtime check to determine that Cogl is using
* EGL internally then this API can be used to retrieve the EGLContext
* handle that was setup internally. The result is undefined if Cogl
* is not using EGL.
*
* Note: The current window system backend can be checked using
* cogl_renderer_get_winsys_id().
*
* Return value: The internally setup EGLDisplay handle.
* Since: 1.18
* Stability: unstable
*/
EGLContext
cogl_egl_context_get_egl_context (CoglContext *context);
G_END_DECLS
/* The gobject introspection scanner seems to parse public headers in

View File

@ -947,11 +947,3 @@ cogl_egl_context_get_egl_display (CoglContext *context)
return egl_renderer->edpy;
}
EGLContext
cogl_egl_context_get_egl_context (CoglContext *context)
{
CoglDisplayEGL *egl_display = context->display->winsys;
return egl_display->egl_context;
}