mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
*/backend: Store the StageWindow implementation type
This commit is contained in:
parent
6082be409e
commit
b980d2dc17
@ -169,6 +169,8 @@ clutter_backend_cex100_class_init (ClutterBackendCex100Class *klass)
|
|||||||
|
|
||||||
gobject_class->dispose = clutter_backend_cex100_dispose;
|
gobject_class->dispose = clutter_backend_cex100_dispose;
|
||||||
|
|
||||||
|
backend_class->stage_window_type = CLUTTER_TYPE_STAGE_COGL;
|
||||||
|
|
||||||
backend_class->get_device_manager = clutter_backend_cex100_get_device_manager;
|
backend_class->get_device_manager = clutter_backend_cex100_get_device_manager;
|
||||||
backend_class->create_stage = clutter_backend_cex100_create_stage;
|
backend_class->create_stage = clutter_backend_cex100_create_stage;
|
||||||
backend_class->get_display = clutter_backend_cex100_get_display;
|
backend_class->get_display = clutter_backend_cex100_get_display;
|
||||||
|
@ -129,6 +129,8 @@ clutter_backend_egl_native_class_init (ClutterBackendEglNativeClass *klass)
|
|||||||
|
|
||||||
gobject_class->dispose = clutter_backend_egl_native_dispose;
|
gobject_class->dispose = clutter_backend_egl_native_dispose;
|
||||||
|
|
||||||
|
backend_class->stage_window_type = CLUTTER_TYPE_STAGE_COGL;
|
||||||
|
|
||||||
backend_class->get_device_manager = clutter_backend_egl_native_get_device_manager;
|
backend_class->get_device_manager = clutter_backend_egl_native_get_device_manager;
|
||||||
backend_class->create_stage = clutter_backend_egl_native_create_stage;
|
backend_class->create_stage = clutter_backend_egl_native_create_stage;
|
||||||
}
|
}
|
||||||
|
@ -388,7 +388,10 @@ clutter_backend_gdk_class_init (ClutterBackendGdkClass *klass)
|
|||||||
gobject_class->dispose = clutter_backend_gdk_dispose;
|
gobject_class->dispose = clutter_backend_gdk_dispose;
|
||||||
gobject_class->finalize = clutter_backend_gdk_finalize;
|
gobject_class->finalize = clutter_backend_gdk_finalize;
|
||||||
|
|
||||||
|
backend_class->stage_window_type = CLUTTER_TYPE_STAGE_GDK;
|
||||||
|
|
||||||
backend_class->post_parse = _clutter_backend_gdk_post_parse;
|
backend_class->post_parse = _clutter_backend_gdk_post_parse;
|
||||||
|
|
||||||
backend_class->get_features = clutter_backend_gdk_get_features;
|
backend_class->get_features = clutter_backend_gdk_get_features;
|
||||||
backend_class->get_device_manager = clutter_backend_gdk_get_device_manager;
|
backend_class->get_device_manager = clutter_backend_gdk_get_device_manager;
|
||||||
backend_class->copy_event_data = clutter_backend_gdk_copy_event_data;
|
backend_class->copy_event_data = clutter_backend_gdk_copy_event_data;
|
||||||
|
@ -249,6 +249,8 @@ clutter_backend_osx_class_init (ClutterBackendOSXClass *klass)
|
|||||||
|
|
||||||
object_class->dispose = clutter_backend_osx_dispose;
|
object_class->dispose = clutter_backend_osx_dispose;
|
||||||
|
|
||||||
|
backend_class->stage_window_type = CLUTTER_TYPE_STAGE_OSX;
|
||||||
|
|
||||||
backend_class->post_parse = clutter_backend_osx_post_parse;
|
backend_class->post_parse = clutter_backend_osx_post_parse;
|
||||||
backend_class->get_features = clutter_backend_osx_get_features;
|
backend_class->get_features = clutter_backend_osx_get_features;
|
||||||
backend_class->create_stage = clutter_backend_osx_create_stage;
|
backend_class->create_stage = clutter_backend_osx_create_stage;
|
||||||
|
@ -620,6 +620,8 @@ _clutter_backend_wayland_class_init (ClutterBackendWaylandClass *klass)
|
|||||||
gobject_class->dispose = clutter_backend_wayland_dispose;
|
gobject_class->dispose = clutter_backend_wayland_dispose;
|
||||||
gobject_class->finalize = clutter_backend_wayland_finalize;
|
gobject_class->finalize = clutter_backend_wayland_finalize;
|
||||||
|
|
||||||
|
backend_class->stage_window_type = CLUTTER_TYPE_STAGE_WAYLAND;
|
||||||
|
|
||||||
backend_class->pre_parse = clutter_backend_wayland_pre_parse;
|
backend_class->pre_parse = clutter_backend_wayland_pre_parse;
|
||||||
backend_class->post_parse = clutter_backend_wayland_post_parse;
|
backend_class->post_parse = clutter_backend_wayland_post_parse;
|
||||||
backend_class->get_features = clutter_backend_wayland_get_features;
|
backend_class->get_features = clutter_backend_wayland_get_features;
|
||||||
|
@ -236,10 +236,12 @@ clutter_backend_win32_class_init (ClutterBackendWin32Class *klass)
|
|||||||
gobject_class->dispose = clutter_backend_win32_dispose;
|
gobject_class->dispose = clutter_backend_win32_dispose;
|
||||||
gobject_class->finalize = clutter_backend_win32_finalize;
|
gobject_class->finalize = clutter_backend_win32_finalize;
|
||||||
|
|
||||||
backend_class->init_events = clutter_backend_win32_init_events;
|
backend_class->stage_window_type = CLUTTER_TYPE_STAGE_WIN32;
|
||||||
backend_class->create_stage = clutter_backend_win32_create_stage;
|
|
||||||
backend_class->add_options = clutter_backend_win32_add_options;
|
backend_class->init_events = clutter_backend_win32_init_events;
|
||||||
backend_class->get_features = clutter_backend_win32_get_features;
|
backend_class->create_stage = clutter_backend_win32_create_stage;
|
||||||
|
backend_class->add_options = clutter_backend_win32_add_options;
|
||||||
|
backend_class->get_features = clutter_backend_win32_get_features;
|
||||||
backend_class->get_device_manager = clutter_backend_win32_get_device_manager;
|
backend_class->get_device_manager = clutter_backend_win32_get_device_manager;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -808,14 +808,18 @@ clutter_backend_x11_class_init (ClutterBackendX11Class *klass)
|
|||||||
gobject_class->dispose = clutter_backend_x11_dispose;
|
gobject_class->dispose = clutter_backend_x11_dispose;
|
||||||
gobject_class->finalize = clutter_backend_x11_finalize;
|
gobject_class->finalize = clutter_backend_x11_finalize;
|
||||||
|
|
||||||
|
backend_class->stage_window_type = CLUTTER_TYPE_STAGE_X11;
|
||||||
|
|
||||||
backend_class->pre_parse = _clutter_backend_x11_pre_parse;
|
backend_class->pre_parse = _clutter_backend_x11_pre_parse;
|
||||||
backend_class->post_parse = _clutter_backend_x11_post_parse;
|
backend_class->post_parse = _clutter_backend_x11_post_parse;
|
||||||
backend_class->add_options = clutter_backend_x11_add_options;
|
backend_class->add_options = clutter_backend_x11_add_options;
|
||||||
backend_class->get_features = clutter_backend_x11_get_features;
|
backend_class->get_features = clutter_backend_x11_get_features;
|
||||||
|
|
||||||
backend_class->get_device_manager = clutter_backend_x11_get_device_manager;
|
backend_class->get_device_manager = clutter_backend_x11_get_device_manager;
|
||||||
backend_class->copy_event_data = clutter_backend_x11_copy_event_data;
|
backend_class->copy_event_data = clutter_backend_x11_copy_event_data;
|
||||||
backend_class->free_event_data = clutter_backend_x11_free_event_data;
|
backend_class->free_event_data = clutter_backend_x11_free_event_data;
|
||||||
backend_class->translate_event = clutter_backend_x11_translate_event;
|
backend_class->translate_event = clutter_backend_x11_translate_event;
|
||||||
|
|
||||||
backend_class->get_renderer = clutter_backend_x11_get_renderer;
|
backend_class->get_renderer = clutter_backend_x11_get_renderer;
|
||||||
backend_class->get_display = clutter_backend_x11_get_display;
|
backend_class->get_display = clutter_backend_x11_get_display;
|
||||||
backend_class->create_stage = clutter_backend_x11_create_stage;
|
backend_class->create_stage = clutter_backend_x11_create_stage;
|
||||||
|
Loading…
Reference in New Issue
Block a user