mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 19:10:43 -05:00
cogl: Remove unused _cogl_xlib_renderer_get_dispatch_timeout
https://gitlab.gnome.org/GNOME/mutter/merge_requests/885
This commit is contained in:
parent
a99f579127
commit
c36c865987
@ -92,9 +92,6 @@ _cogl_xlib_renderer_untrap_errors (CoglRenderer *renderer,
|
|||||||
CoglXlibRenderer *
|
CoglXlibRenderer *
|
||||||
_cogl_xlib_renderer_get_data (CoglRenderer *renderer);
|
_cogl_xlib_renderer_get_data (CoglRenderer *renderer);
|
||||||
|
|
||||||
int64_t
|
|
||||||
_cogl_xlib_renderer_get_dispatch_timeout (CoglRenderer *renderer);
|
|
||||||
|
|
||||||
CoglOutput *
|
CoglOutput *
|
||||||
_cogl_xlib_renderer_output_for_rectangle (CoglRenderer *renderer,
|
_cogl_xlib_renderer_output_for_rectangle (CoglRenderer *renderer,
|
||||||
int x,
|
int x,
|
||||||
|
@ -597,22 +597,6 @@ cogl_xlib_renderer_remove_filter (CoglRenderer *renderer,
|
|||||||
(CoglNativeFilterFunc)func, data);
|
(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 *
|
CoglOutput *
|
||||||
_cogl_xlib_renderer_output_for_rectangle (CoglRenderer *renderer,
|
_cogl_xlib_renderer_output_for_rectangle (CoglRenderer *renderer,
|
||||||
int x,
|
int x,
|
||||||
|
@ -53,7 +53,6 @@
|
|||||||
#include "cogl1-context.h"
|
#include "cogl1-context.h"
|
||||||
#include "cogl-offscreen.h"
|
#include "cogl-offscreen.h"
|
||||||
#include "winsys/cogl-winsys-private.h"
|
#include "winsys/cogl-winsys-private.h"
|
||||||
#include "deprecated/cogl-clutter.h"
|
|
||||||
|
|
||||||
#include "deprecated/cogl-framebuffer-deprecated.h"
|
#include "deprecated/cogl-framebuffer-deprecated.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user