Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-3436

utility command tool in agl-compositor

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • None

      ivi-shell has a command tool to get information and control it. It is LayerManagerControl.

      It is useful in development phase to debug and make workaround.

      The functionality is below. It does not have to support all features.

      add surface <sid> to layer <lid>
      analyze surface <surfaceid>
      create layer <layerid> <width> <height>
      destroy layer <id>
      dump screen|surface <id> to <file>
      export scene to <filename>
      export xtext to <filename> <grammar> <url>
      get input device <name> capabilities
      get input devices with pointer|keyboard|touch|all
      get input focus
      get scene|screens|layers|surfaces
      get screen|layer|surface <id>
      get surface <surfaceid> input acceptance
      help
      remove surface <sid> from layer <lid>
      set layer|surface <id> destination region <x> <y> <w> <h>
      set layer|surface <id> opacity <opacity>
      set layer|surface <id> source region <x> <y> <w> <h>
      set layer|surface <id> visibility <visibility>
      set screen|layer <id> render order [<idarray>]
      set surface <surfaceid> input acceptance to [<namearray>]
      set surface <surfaceid> type <type>
      set|unset surfaces [<idarray>] input focus pointer|keyboard|touch|all
      test notification layer <layerid>
      tree
      watch layer|surface <idarray>
       

      The usage example is as follows.

      https://at.projects.genivi.org/wiki/display/WIE/Quick+start

      Source code is here.

      https://github.com/GENIVI/wayland-ivi-extension/tree/master/ivi-layermanagement-examples/LayerManagerControl

      LayerManagerControl uses ilm API and it uses ivi_wm protocol.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            mvlad Marius Vlad
            khosokawa Kenji Hosokawa
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: