mirror of
https://github.com/brl/mutter.git
synced 2025-02-18 06:04:10 +00:00
cogl-winsys: Remove the get_vsync_counter virtual
This function is only used internally within the GLX winsys so there doesn't seem to be much point in it being a virtual winsys backend function.
This commit is contained in:
parent
f2a37b27f9
commit
614efb190b
@ -1385,13 +1385,6 @@ _cogl_winsys_onscreen_set_visibility (CoglOnscreen *onscreen,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static guint32
|
|
||||||
_cogl_winsys_get_vsync_counter (void)
|
|
||||||
{
|
|
||||||
/* Unsupported feature */
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_cogl_winsys_onscreen_swap_buffers (CoglOnscreen *onscreen)
|
_cogl_winsys_onscreen_swap_buffers (CoglOnscreen *onscreen)
|
||||||
{
|
{
|
||||||
@ -1510,7 +1503,6 @@ static CoglWinsysVtable _cogl_winsys_vtable =
|
|||||||
_cogl_winsys_onscreen_add_swap_buffers_callback,
|
_cogl_winsys_onscreen_add_swap_buffers_callback,
|
||||||
.onscreen_remove_swap_buffers_callback =
|
.onscreen_remove_swap_buffers_callback =
|
||||||
_cogl_winsys_onscreen_remove_swap_buffers_callback,
|
_cogl_winsys_onscreen_remove_swap_buffers_callback,
|
||||||
.get_vsync_counter = _cogl_winsys_get_vsync_counter
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* XXX: we use a function because no doubt someone will complain
|
/* XXX: we use a function because no doubt someone will complain
|
||||||
|
@ -1926,7 +1926,6 @@ static CoglWinsysVtable _cogl_winsys_vtable =
|
|||||||
.onscreen_remove_swap_buffers_callback =
|
.onscreen_remove_swap_buffers_callback =
|
||||||
_cogl_winsys_onscreen_remove_swap_buffers_callback,
|
_cogl_winsys_onscreen_remove_swap_buffers_callback,
|
||||||
.onscreen_set_visibility = _cogl_winsys_onscreen_set_visibility,
|
.onscreen_set_visibility = _cogl_winsys_onscreen_set_visibility,
|
||||||
.get_vsync_counter = _cogl_winsys_get_vsync_counter,
|
|
||||||
|
|
||||||
/* X11 tfp support... */
|
/* X11 tfp support... */
|
||||||
/* XXX: instead of having a rather monolithic winsys vtable we could
|
/* XXX: instead of having a rather monolithic winsys vtable we could
|
||||||
|
@ -123,9 +123,6 @@ typedef struct _CoglWinsysVtable
|
|||||||
(*onscreen_set_visibility) (CoglOnscreen *onscreen,
|
(*onscreen_set_visibility) (CoglOnscreen *onscreen,
|
||||||
gboolean visibility);
|
gboolean visibility);
|
||||||
|
|
||||||
guint32
|
|
||||||
(*get_vsync_counter) (void);
|
|
||||||
|
|
||||||
#ifdef COGL_HAS_XLIB_SUPPORT
|
#ifdef COGL_HAS_XLIB_SUPPORT
|
||||||
gboolean
|
gboolean
|
||||||
(*texture_pixmap_x11_create) (CoglTexturePixmapX11 *tex_pixmap);
|
(*texture_pixmap_x11_create) (CoglTexturePixmapX11 *tex_pixmap);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user