mutter/src/backends/native
Jonas Ådahl b1597b4291 MetaOnscreenNative: Allocate for real after cogl_framebuffer_allocate
There is no way to pass any backend specific parameters to a
CoglFramebuffer until after it has been allocated by
cogl_framebuffer_allocate() (since this is where the winsys/platform
fields are initialized). This can make it hard to actually allocate
anything, if the platform depends on some backend specific data.

A proper solution would be to refactor the onscreens and framebuffers to
use a GObject based type system instead of the home baked Cogl one, but
that'll be left for another day. For now, allocate in two steps, one to
allocate the backend specific parts (MetaOnscreenNative), and one to
allocate the actual onscreen framebuffer (via
meta_onscreen_native_allocate()).

So far there is nothing that forces this separation, but in the future
there will, for example EGLDevice's need to know about the CRTC in
order to create the EGLSurface.

https://bugzilla.gnome.org/show_bug.cgi?id=773629
2016-11-18 00:00:10 +08:00
..
dbus-utils.c launcher: Replace mutter-launch with logind integration 2014-05-19 15:09:23 -04:00
dbus-utils.h launcher: Replace mutter-launch with logind integration 2014-05-19 15:09:23 -04:00
gen-default-modes.py monitor-manager-kms: Add common modes 2016-09-12 20:02:03 +02:00
meta-backend-native-private.h backends/native: Implement support for pointer barriers 2015-01-19 02:27:59 -08:00
meta-backend-native.c backends/native: Pass KMS file path to renderer 2016-11-18 00:00:10 +08:00
meta-backend-native.h Make mutter manage its own clutter backends 2016-07-20 14:23:48 +08:00
meta-barrier-native.c Move out generic math parts out of the native barrier implementation 2016-02-16 19:02:48 +08:00
meta-barrier-native.h backends/native: Implement support for pointer barriers 2015-01-19 02:27:59 -08:00
meta-clutter-backend-native.c Introduce regional stage rendering 2016-07-20 14:23:48 +08:00
meta-clutter-backend-native.h Introduce regional stage rendering 2016-07-20 14:23:48 +08:00
meta-cursor-renderer-native.c MetaCursorRendererNative: Fall back to texture when there is no gbm 2016-11-18 00:00:10 +08:00
meta-cursor-renderer-native.h Support for hardware cursor sizes other than 64x64 on wayland 2014-09-24 15:42:17 -06:00
meta-default-modes.h monitor-manager-kms: Add common modes 2016-09-12 20:02:03 +02:00
meta-idle-monitor-native.c MetaIdleMonitorNative: initialize last event timestamp 2016-10-17 13:47:20 +02:00
meta-idle-monitor-native.h Start creating different subdirectories for each backend 2014-03-31 23:44:47 -04:00
meta-input-settings-native.c clutter/evdev: Take over stylus configuration 2016-11-04 21:25:31 +01:00
meta-input-settings-native.h backends/native: Add libinput-based MetaInputSettings implementation 2015-01-18 13:32:28 -08:00
meta-launcher.c MetaLauncher: Remember the KMS file path 2016-11-18 00:00:10 +08:00
meta-launcher.h MetaLauncher: Remember the KMS file path 2016-11-18 00:00:10 +08:00
meta-monitor-manager-kms.c backends/native: Don't set discarded framebuffer as current 2016-11-18 00:00:10 +08:00
meta-monitor-manager-kms.h backends/native: Don't set discarded framebuffer as current 2016-11-18 00:00:10 +08:00
meta-renderer-native.c MetaOnscreenNative: Allocate for real after cogl_framebuffer_allocate 2016-11-18 00:00:10 +08:00
meta-renderer-native.h backends/native: Pass KMS file path to renderer 2016-11-18 00:00:10 +08:00
meta-stage-native.c clutter: Add infrastructure to render ClutterStageViews to offscreen 2016-08-24 02:36:45 +02:00
meta-stage-native.h backends/native: Support drawing onto multiple onscreen framebuffers 2016-07-20 14:23:48 +08:00