[mutter] cogl: Remove unused cogl_glx_context_get_glx_context



commit b294e62aedcc91486de94974ec0047d693e6373f
Author: Adam Jackson <ajax redhat com>
Date:   Thu Oct 24 16:30:58 2019 -0400

    cogl: Remove unused cogl_glx_context_get_glx_context
    
    https://gitlab.gnome.org/GNOME/mutter/merge_requests/885

 cogl/cogl/cogl-glx.h               | 20 --------------------
 cogl/cogl/winsys/cogl-winsys-glx.c |  8 --------
 2 files changed, 28 deletions(-)
---
diff --git a/cogl/cogl/cogl-glx.h b/cogl/cogl/cogl-glx.h
index 8a96f357f..b04656981 100644
--- a/cogl/cogl/cogl-glx.h
+++ b/cogl/cogl/cogl-glx.h
@@ -58,26 +58,6 @@
 #include <GL/glx.h>
 #include <cogl/cogl-types.h>
 
-G_BEGIN_DECLS
-
-/**
- * cogl_glx_context_get_glx_context:
- * @context: A #CoglContext pointer
- *
- * If you have done a runtime check to determine that Cogl is using
- * GLX internally then this API can be used to retrieve the GLXContext
- * handle that was setup internally. The result is undefined if Cogl
- * is not using GLX.
- *
- * Return value: The internally setup GLXContext handle.
- * Since: 1.18
- * Stability: unstable
- */
-GLXContext
-cogl_glx_context_get_glx_context (CoglContext *context);
-
-G_END_DECLS
-
 /* The gobject introspection scanner seems to parse public headers in
  * isolation which means we need to be extra careful about how we
  * define and undefine __COGL_H_INSIDE__ used to detect when internal
diff --git a/cogl/cogl/winsys/cogl-winsys-glx.c b/cogl/cogl/winsys/cogl-winsys-glx.c
index 72e1073f6..d0c09d9bf 100644
--- a/cogl/cogl/winsys/cogl-winsys-glx.c
+++ b/cogl/cogl/winsys/cogl-winsys-glx.c
@@ -2607,11 +2607,3 @@ _cogl_winsys_glx_get_vtable (void)
 {
   return &_cogl_winsys_vtable;
 }
-
-GLXContext
-cogl_glx_context_get_glx_context (CoglContext *context)
-{
-  CoglGLXDisplay *glx_display = context->display->winsys;
-
-  return glx_display->glx_context;
-}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]