Age | Commit message (Collapse) | Author | Files | Lines |
|
This is a quick hack supporting scaled output to fit various
monitors which has not FHD screen resolution.
(Especially useful for running CES2017 demo on QEMU)
- Layer
- source rectangle is 1080x1920
- destination rectangle is variable to fit screen resolution
- Surface
- source rectangle is based 1080x1920
- destination rectangle is based 1080x1920
- From application view
- screen size is always 1080x1920 and does not need
to care about phsycial screen size
This change enables scaled output which changes the size
according to the ratio of source and destination region
of homescreen layer.
This patch doesn't resolve an issue, 'CES2017 demo keep blank
screen after booting on some platform (QEMU, Raspberry Pi3,
MinnowMax)'. (Workaround: just run any weayland client
application such as 'LayerManagerControl', 'qmlscene', or
weston example like 'weston-flower', then it breaks blank screen)
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
|
|
This will disable all debug outputs. All!
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
|
|
On systems with more then one display, you may want
to set the display that will be managed.
The default display is 0.
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
|
|
No functional changes
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
|
|
WindowManager can support signle screen only, so far.
CAUTION:
To apply this change for porter board, LVDS-1 output
should be disabled first. (see Changes 7637 for detail)
https://gerrit.automotivelinux.org/gerrit/#/c/7637/
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
|
|
v2: (Tadao Tanikawa)
Minor fixed pointed by reveiw and organize debug message
v1: (Tadao Tanikawa)
Quick hack to fix and improve switching applications.
Changes:
* Improve management of layers and surfaces
Previously single layer was shared among all applications,
now each application has its own layer.
* Improve showing / hiding applications
Previously to show/hide application, surfaces are added
or removed everytime, but it's slow.
Now reordering layers controls showing/hiding applications,
it much faster.
* Shortcut icons whose application is not installed no
longer cause issue to switch apps.
Caution:
This patch is very quick hack, and many old codes which
regarding to management surfaces are disabled, so there
may be unnoticed degraded.
Change-Id: I69494213b0d1b169558f3d792ebecf414caccacc
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
|
|
To switching between apps, controlling surface's
visiblity (on/off) does not work as intended.
It looks work well to set render order of layers properly.
TODO: switching between apps and navigation still doesn't
work. For develop, navigation icon is assgined to
'controls@0.1' and now, controls app doesn't make any
wl_surfaces (don't know why). Probably this causes issue
switching between apps <-> navigation.
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
|
|
Still fighting with ilm API
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
|
|
Using ilm_layerSetRenderOrder to set the order of the surfaces
inside the layer. This is neccessary to show the surfaces
on the screen.
Resolves: #SPEC-333
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
|
|
HomeScreen and its depending apps are started by default using systemd
user session.
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
|
|
This fixes a typo where only three of the available four layers were
shown on the screen.
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
|
|
Change-Id: I11b6b535c2587c5e61dfb17c8cb56f2554e06c06
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
|
|
replace #ifdef __arm__ with a definition that comes from availability
test
Change-Id: Id9fa4baefcc9f38acd3e98d40054040fc69029c6
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
|
|
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
|
|
Hardcoded:
nav: nav@0.1
media: media@0.1
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
|
|
Add new signal surfaceVisibilityChanged to homescreen and windowmanager API.
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
|
|
Only one Layout for CES2017 needed.
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
|
|
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
|
|
-Preparation for the new ApplicationFramework binding. The App Framework provides more information.
--Adding afm D-Bus-interface introspection
--Updating the AppInfo datatype to hold the new data:
The application info consists of:
string id;
string version;
int width;
int height;
string name;
string description;
string shortname;
string author;
string iconPath;
-When pressing the AppLauncher Button or the Settings Button, the app layer is hidden.
--Therefore, shideLayer and showLayer is introduced in the WindowManager API
-If an application does not create its surface instantly, the HomeScreen retries to show the surface related to the pid.
-New WindowManager function deleteLayoutById
-Implement the complete HomeScreen API in the libhomescreen
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
|
|
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
|
|
This is useful if an application wants to render more than one surface.
By default, one surface is placed in one layout render area. With the new homescreen.xml
introspection, apps can place their surfaces as they wish (limited to the boundries
of the assigned layou render area!).
The functionality is not fully implemented, but the shared lib already provides the interface.
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
|
|
Use
QT_IVI_SURFACE_ID=1000 QT_WAYLAND_SHELL_INTEGRATION="ivi-shell" ./HomeScreen &
to launch HomeScreen.
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
|
|
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
|
|
HomeScreen, one for apps, one for popups.
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
|
|
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
|
|
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
|
|
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
|
|
WindowManager to control layer and surfaces (ongoing).
Defining three layouts. Adding combobox selection feature to popup widget.
Known issue: IVI-shell is currently disabled in AGL due to issues (porting to Yocto 2.1.1).
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
|
|
apps and to launch apps.
This acts as a template for other app framework adoptions.
Using the weston ivi shell to control surfaces.
Using the input event manager to dispatch hard key inputs.
This is a bigger update, so I increased the version number from 0.1.1 to 0.2.0.
Some parts are under development.
I created the components "WindowsManager" and "InputEventManager" because they are not defined in AGL right now.
As soon as they are defined, we should switch to them.
Find more information on the official wiki page:
https://wiki.automotivelinux.org/homescreen
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
|