mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 11:00:54 -05:00
b1597b4291
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 |
||
---|---|---|
.. | ||
dbus-utils.c | ||
dbus-utils.h | ||
gen-default-modes.py | ||
meta-backend-native-private.h | ||
meta-backend-native.c | ||
meta-backend-native.h | ||
meta-barrier-native.c | ||
meta-barrier-native.h | ||
meta-clutter-backend-native.c | ||
meta-clutter-backend-native.h | ||
meta-cursor-renderer-native.c | ||
meta-cursor-renderer-native.h | ||
meta-default-modes.h | ||
meta-idle-monitor-native.c | ||
meta-idle-monitor-native.h | ||
meta-input-settings-native.c | ||
meta-input-settings-native.h | ||
meta-launcher.c | ||
meta-launcher.h | ||
meta-monitor-manager-kms.c | ||
meta-monitor-manager-kms.h | ||
meta-renderer-native.c | ||
meta-renderer-native.h | ||
meta-stage-native.c | ||
meta-stage-native.h |