[mutter] cogl: Remove unused _cogl_xlib_renderer_get_dispatch_timeout
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] cogl: Remove unused _cogl_xlib_renderer_get_dispatch_timeout
- Date: Fri, 25 Oct 2019 12:29:32 +0000 (UTC)
commit c36c86598704defd76e07b99cc3ccd5f038d6cb5
Author: Adam Jackson <ajax redhat com>
Date: Thu Oct 24 16:10:48 2019 -0400
cogl: Remove unused _cogl_xlib_renderer_get_dispatch_timeout
https://gitlab.gnome.org/GNOME/mutter/merge_requests/885
cogl/cogl/cogl-xlib-renderer-private.h | 3 ---
cogl/cogl/cogl-xlib-renderer.c | 16 ----------------
cogl/cogl/cogl.c | 1 -
3 files changed, 20 deletions(-)
---
diff --git a/cogl/cogl/cogl-xlib-renderer-private.h b/cogl/cogl/cogl-xlib-renderer-private.h
index 625323bdb..edfa189b7 100644
--- a/cogl/cogl/cogl-xlib-renderer-private.h
+++ b/cogl/cogl/cogl-xlib-renderer-private.h
@@ -92,9 +92,6 @@ _cogl_xlib_renderer_untrap_errors (CoglRenderer *renderer,
CoglXlibRenderer *
_cogl_xlib_renderer_get_data (CoglRenderer *renderer);
-int64_t
-_cogl_xlib_renderer_get_dispatch_timeout (CoglRenderer *renderer);
-
CoglOutput *
_cogl_xlib_renderer_output_for_rectangle (CoglRenderer *renderer,
int x,
diff --git a/cogl/cogl/cogl-xlib-renderer.c b/cogl/cogl/cogl-xlib-renderer.c
index 53b4b050a..704aba894 100644
--- a/cogl/cogl/cogl-xlib-renderer.c
+++ b/cogl/cogl/cogl-xlib-renderer.c
@@ -597,22 +597,6 @@ cogl_xlib_renderer_remove_filter (CoglRenderer *renderer,
(CoglNativeFilterFunc)func, data);
}
-int64_t
-_cogl_xlib_renderer_get_dispatch_timeout (CoglRenderer *renderer)
-{
- CoglXlibRenderer *xlib_renderer = _cogl_xlib_renderer_get_data (renderer);
-
- if (renderer->xlib_enable_event_retrieval)
- {
- if (XPending (xlib_renderer->xdpy))
- return 0;
- else
- return -1;
- }
- else
- return -1;
-}
-
CoglOutput *
_cogl_xlib_renderer_output_for_rectangle (CoglRenderer *renderer,
int x,
diff --git a/cogl/cogl/cogl.c b/cogl/cogl/cogl.c
index 279d5b689..6d83e523a 100644
--- a/cogl/cogl/cogl.c
+++ b/cogl/cogl/cogl.c
@@ -53,7 +53,6 @@
#include "cogl1-context.h"
#include "cogl-offscreen.h"
#include "winsys/cogl-winsys-private.h"
-#include "deprecated/cogl-clutter.h"
#include "deprecated/cogl-framebuffer-deprecated.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]