| { |
| children: [ |
| { |
| name: "scenic", |
| url: "fuchsia-pkg://fuchsia.com/scenic-stress-tests#meta/scenic.cm", |
| }, |
| { |
| name: "root_presenter", |
| url: "fuchsia-pkg://fuchsia.com/scenic-stress-tests#meta/root_presenter.cm", |
| }, |
| { |
| name: "view", |
| url: "fuchsia-pkg://fuchsia.com/scenic-stress-tests#meta/view.cm", |
| startup: "eager", |
| }, |
| ], |
| offer: [ |
| // ############### SCENIC ################## |
| { |
| directory: "dev-display-controller", |
| from: "parent", |
| to: [ "#scenic" ], |
| }, |
| { |
| directory: "dev-goldfish-address-space", |
| from: "parent", |
| to: [ "#scenic" ], |
| }, |
| { |
| directory: "dev-goldfish-control", |
| from: "parent", |
| to: [ "#scenic" ], |
| }, |
| { |
| directory: "dev-goldfish-pipe", |
| from: "parent", |
| to: [ "#scenic" ], |
| }, |
| { |
| directory: "config-vulkan-icd.d", |
| from: "parent", |
| to: [ "#scenic" ], |
| }, |
| { |
| directory: "tmp", |
| from: "parent", |
| to: [ "#scenic" ], |
| }, |
| { |
| protocol: [ |
| "fuchsia.cobalt.LoggerFactory", |
| "fuchsia.hardware.display.Provider", |
| "fuchsia.logger.LogSink", |
| "fuchsia.scheduler.ProfileProvider", |
| "fuchsia.sysmem.Allocator", |
| "fuchsia.tracing.provider.Registry", |
| "fuchsia.ui.input.ImeService", |
| "fuchsia.vulkan.loader.Loader", |
| ], |
| from: "parent", |
| to: [ "#scenic" ], |
| }, |
| |
| // ############## ROOT PRESENTER ################## |
| { |
| directory: "config-data", |
| from: "parent", |
| to: [ "#root_presenter" ], |
| }, |
| { |
| protocol: [ |
| "fuchsia.ui.pointerinjector.Registry", |
| "fuchsia.ui.policy.accessibility.PointerEventRegistry", |
| "fuchsia.ui.scenic.Scenic", |
| ], |
| from: "#scenic", |
| to: [ "#root_presenter" ], |
| }, |
| { |
| protocol: [ |
| "fuchsia.accessibility.ColorTransform", |
| "fuchsia.accessibility.Magnifier", |
| "fuchsia.logger.LogSink", |
| "fuchsia.media.sounds.Player", |
| "fuchsia.recovery.FactoryReset", |
| "fuchsia.sys.Environment", |
| "fuchsia.sys.Loader", |
| "fuchsia.tracing.provider.Registry", |
| "fuchsia.ui.activity.Tracker", |
| ], |
| from: "parent", |
| to: [ "#root_presenter" ], |
| }, |
| |
| // ############### VIEW ##################### |
| { |
| protocol: [ "fuchsia.logger.LogSink" ], |
| from: "parent", |
| to: [ "#view" ], |
| }, |
| { |
| protocol: [ "fuchsia.ui.scenic.Scenic" ], |
| from: "#scenic", |
| to: [ "#view" ], |
| }, |
| { |
| protocol: [ "fuchsia.ui.policy.Presenter" ], |
| from: "#root_presenter", |
| to: [ "#view" ], |
| }, |
| ], |
| } |