Age | Commit message (Collapse) | Author | Files | Lines |
|
Bumps the agl-compositor to the latest version. This update removes,
from the default, allow-all policy, the private extensions bind
tests, such that applications making use of those private
extensions are free to bind to them. We'll need some better ways to
corroborate/integrate with AFM to allow a dynamic way to communicate
which applications can bind to those private extensions.
On the other hand, for the deny-all policy, the permitted application
list has been extended to include the cluster dashboard and the cluster
receiver applications, and users can use that in practice if they
require some mechanism in place to control which application can bind to
the private extensions.
In more detail, the changes are:
- c7bc55dce459 layout: Add missing hooks for other surface roles
- bf016d204089 layout: Advertise state change for other types of surface roles
- 35f6733fb39b shell: Assume consistency with the desktop roles
- 5fe16df23483 policy-*: Remove any private binding restrictions for allow-all policy
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I3c25af73a76404c87e09245fee04d0f3a2a48ad9
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25057
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
|
|
deny-all policy
Bug-AGL: SPEC-3432
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ib91bfe7056ad268f660243d3f859c9eb5f9fd1f4
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24928
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
|
|
Another round of updates for agl-compositor. This update adds
a deny-all policy engine, and adds checks in the allow-all policy
as to use SMACK labels to check the clients binding to the agl_shell*
interfaces. The allow-all policy is still in effect, with the deny-all
policy being available to be used as a meson, compile option.
A few minor corner cases fixes, found while testing out waylandsink.
The update includes the following:
- 39ea644837d desktop: Fix destruction of applications that fallback to the desktop role
- faea097edab shell: Avoid checking against surfaces that do not have an app_id
- 40da59d00a7 README: Add a few words about the deny-all policy engine
- 572d0eac44f desktop: Allow desktop_api to handle surface removal
- 03f51daf2fc policy: Add a deny-all policy as an example
- ea317303ac4 policy-default: Use libsmack to check client label
- bbf173123cd policy: Add a new policy hook to restrict access to private extensions
- 9827cfd2557 desktop: Avoid referencing the output's surface for pending surfaces
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ibd67e06a60b18334d3c07c2f6c710b7e77201148
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24927
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
|
|
Bump SRCREV to match latest master. This update includes the following
changes:
- 06773d6a doc: Added arch diagram
- 03755785 README: move README.md to doc/
- 51be2ca7 layout: Clip the view to the size specified by width and height
- 7854caac shell: Pass the bounding box values to the pop-up surface
- 40d73940 agl-shell-desktop: Add the ability to pass width and height as area of the bounding box
- 9701fd67 (review/marius_vlad/24652) shell: Advertise application_id event for other surface roles
- c8d025cd (review/marius_vlad/24651) layout: Do not attempt to activate the surface on the remote output
- 16826129 src: Mark surfaces with the 'remote' role if configuration file says so
- 81be1de5 main: Do the installment of black surfaces for remote outputs as well
- ba9b65aa shell: Add some extra checks to make sure we don't trip ourselves
- a04518d8 main: Enable remote outputs later than local (DRM) outputs
- 7536014f main, layout: Minor clean-ups and added some further logging
- 9af06129 main: Retrieve the agl-shell-app-id from the config file
- bafead57 main: Retrieve the transform and scale from config file
- 9f2f83ea src: Create an ivi_output for the remote output
- 22514079 src: Hold a reference for remoting_api in the ivi_compositor
- b3c4f205 main: Add the ability to load the remote plugin
- 7af3d376 desktop: Remove commiting code for the panel
- b491db31 shell: Do not remove the black surface if we don't have a background set for that output
- c6941d74 desktop: Display a black surface for apps being moved using config file
- 9d29ef9f layout: Remove black surface when trying to use migrate views to other outputs
- 8df7681a src/: Use agl-shell-app-id to set-up views on a different output
- f235042e layout: Add a wrapper to print out the surface role
- 5c90f163 src: Insert a black surface/remove it when the last remote surface role is present
- f88d870a layout, desktop: Treat the remote surface role like the desktop one
- 226f4ca4 layout: Remove the quirks as now we have the policy hooks in place to handle that
- 978c7f8c src/: Add the remote surface role
- 0e4d30b4 src/: Add all surface roles to a wrapper for retrieving the output
- 496b4170 (sandbox/mvlad/split-wip-take2) layout: Do not attempt to activate a split or a fs surface
- a9ae8d75 layout: Resize the active surface when doing the split
- 831d1b21 layout: Allow to commit the fullscreen and split surface roles
- a2d066f0 layout: Remove unused ivi_compositor reference
- af2b5c21 shell: Determine the role type
- edbfbad7 shell: Introduce fullscreen and split role type of a surface
- f73edbcf desktop: Missing assert include
- a2f9566b desktop: Handle correctly panel and bg removal of agl-shell unbind
- 79420056 README.md: Add documentation details about agl-shell and agl-shell-desktop
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I67971d937e0348d31c2e47c70ebffe6127f96bbe
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24865
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
|
|
This makes the agl-compositor the default starting with Jumping Jellyfish
For development purposes, you have these variables at hand to influence the setup:
AGL_DEFAULT_WESTONSTART
AGL_DEFAULT_WM_SHELL
Check your conf/local.conf for details.
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Iceb35375e04f947009800b80511f6360026403fe
|
|
The following update adds support for libweston8, pop-up kind of
dialogs, a few fixes and includes the following:
- 1956bd3bfb0 main: Convert to using the logging/debuggging fraemwork
- ac4e3581fb1 main: Add a (valid) return code when exiting
- 61dea1841a4 main: We don't have weston-debug extension available
- a7887be3ed9 meson.build: Add a meson variable to track libweston version
- 35b1ed57d2a main: Subscribe to the logger scope
- 6e60f22455c meson.build: Update build version
- 25ede504313 policy-default: Install default for the state event notify
- b4ae3794bc9 policy: Add another hook for controlling the application state change event
- 401773a4639 protocol: agl-shell-desktop: Send notification for application state change
- 795eb91d057 policy-default: Install default policy for deactivate request
- ee9259703dc policy: Add a new policy hook for deactivating apps
- 65f9de0a549 policy-default: Add the de-activate request to the default policy
- d0b4585202c agl-shell-desktop: Add the ability to hide client windows
- 410d47884ff layout: Save the pending output
- ef3d1990c49 shell: Store the ivi compositor in the desktop_client
- 5ce0b5d5200 layout, desktop: Implement the pop-up role
- ab151e5d3d1 agl-shell-desktop: Allow to set role properties for the application
- 63b6b6b1e14 shell: Display previously pending surface once the ready request was received
- 225415dcbad meson.build: Increase agl-compositor version for libweston8 upgrade
- f5141881d54 main: Update weston_compositor_add_log_scope to libweston8
- 79dacfa4f3d meson.build: Increase to libweston8 dependency
- 457456edb3d main: Use bool for weston_config_section_get_bool()
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ifcc94efa9a84fb261330a43d7e22efda1bbde1ca
|
|
This brings up two major bits of functionality: the introduction of the
agl-shell-desktop protocol, which should be used by regular
application(s) to activate/switch other to other applications, and
the introduction of the policy API and with it, a default allow-all
kind of policy engine.
In more details, the following changes have been included:
- fcd71e034d378921e layout: Mark activated surface by default
- 1ee1bff64338dede1 desktop: Remove the active surface only if matches the one being displayed
- 0e66ee13b73e3ca21 meson.build: Increase the build version of agl-compositor
- 721d4d4f73e5d30ce README.md: Start adding some light documentation on the policy part
- 0a932bc7d66b062e6 layout: Allow by default to activate the application
- 58a3fe5c292349916 policy-default: Install a default policy engine
- 98457c49f5d777e40 policy: Init policy framework API
- fe3358fa9b560a43e ivi-compositor: Use the helpers for array length
- 6491e204fd4a9bd2d meson.build: Do another agl-compositor version bump
- 72aa326d8f54ad75c meson.build: Install agl-shell-desktop extension
- 786f91bd280b83049 protocol: Advertise the applications to regular clients
- a35a7f2e5cc20bd40 protocol: Add agl-shell-desktop protocol
This patch also installs the agl-shell-desktop XML file.
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Icaec7e375242a0266383523806e5eca40d75b652
|
|
This includes the following changes (all of them related
to the libweston7 upgrade):
- dbba1adda7f meson.build: Increase version of the compositor
- b352cee6f81 meson.build: Build X11 backend optionally
- 93523a7f38b meson.build: Increase wayland-protocol version dependency
- c769a272324 main: Add support for the logging context when creating
the compositor instance
- a17bac48464 meson.build: Upgrade build and headers to libweston7
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I94e5077c48eca76092306892d6e25e345eeda45e
|
|
Includes the following changes:
- 357c5a034a89dc meson.build: Allow to install the private extension
- 405a475fa64594 Update .gitreview file
- ca5e2aec22cb7b meson.build: Allow to build/install locally
- ed4a9b0d9c5937 meson.build: Enable Wextra and transform warning messages into errors
- 191dc29c7d05d8 main: Avoid warning on un-initialized display
- b43a012824af01 shell: Add a black surface in the fullscreen layer
- 433edac095bb14 desktop: Remove the surface in all cases
- ab2e660c891df7 desktop: Reset the active surface
- f8457f6d62370f shell: Allow the client shell to unbind/rebind to agl-shell interface
- 08ea4a2fec76b4 layout: Do not delay mapping of desktop surface until commit time
- 3950b7e787c19b layout: Use the background's surface ivi_output when activating apps by default
- ffd00ab3a05351 ivi-compositor: Add systemd notify message
- 219a513fd959b8 shared: Add some regular helpers
- e5027ce09a4440 layout: Force a repaint of the entire output
- 0e47c84e348b65 layout: Print out when adding panels/background
- 2d7243208d3e45 src/: Add basic support for app switching
Change-Id: I366880b5fb5a09a23d9af26ea638ad5e1f14dafa
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
|
|
As with 357c5a034a89 we now install the agl-shell protocol,
so make yocto aware of it.
Change-Id: I6976d9ebb86287305f45580a65a2c36b31f99488
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
|
|
Add a recipe for the new AGL compositor and enable it when building the
Weston package group.
Change-Id: I3fe88370a4fc6a01b8ba8c3126a407cd9c39a842
Signed-off-by: Daniel Stone <daniels@collabora.com>
|