Simon Fels
9b703fedb0
Forward selected display size as window size in single window mode
2017-03-17 07:21:42 +01:00
Simon Fels
9e6909c65a
Implement single window mode option in parallel to multi-window support
...
For debugging and development purposes it's sometimes useful to run the
full Android system in a single and statically sized window. This is not
going to be a widely used mode but can be helpful at times.
Also makes our window/layer management a bit more modular to allow easy
additions of new strategies/impementations.
2017-03-17 07:20:01 +01:00
Simon Fels
3d0d453861
Implement simple app database which maintains app information at runtime
...
This helps us to collect information about an app (title, ..) we can
reuse for certain other things like window construction.
2017-03-16 17:06:45 +01:00
Simon Fels
11aea9c681
Drop unused parameter
2017-03-14 08:07:09 +01:00
Simon Fels
4863d25e2c
Use correct path for the anbox binary when running from within a snap
2017-03-14 08:06:58 +01:00
Simon Fels
a934c3e2de
Set version to 0.1.0
2017-03-12 14:33:04 +01:00
Simon Fels
c4004459dd
Add command to print various information about the system we're running on
2017-03-12 14:33:04 +01:00
Simon Fels
7288bb026e
Merge pull request #52 from morphis/f/app-launcher-sync
...
Improve synchronization of application launchers between the host and Android
2017-03-12 14:19:15 +01:00
Simon Fels
ef5cdf1725
Rename SetSeverity to SetSeverityFromString and check for valid severity
2017-02-24 19:08:20 +01:00
Simon Fels
1b1b2c35a1
Pass log levels from emugl layer
2017-02-24 19:08:20 +01:00
Simon Fels
ddc022466e
Set log level on startup from environment variable
2017-02-24 19:08:20 +01:00
Simon Fels
6887a4a0ef
Filter log messages by severity
2017-02-24 19:08:20 +01:00
Simon Fels
c36d8768be
Cleanup launcher storage on first boot to sync back with the Android system
2017-02-22 17:42:17 +01:00
Simon Fels
fc7049b27b
Create a marker to indicate that first boot has happened
2017-02-22 17:42:17 +01:00
Simon Fels
69631a1bfc
Remove application launcher when its android counterpart is removed
2017-02-22 17:42:17 +01:00
Simon Fels
fc49cc3895
Make our mounts private to our namespace
...
That way they don't end up in the host namespace in any case. Only the
loop device we're allocating remains visible as there is currently no
real separation between containers on loop device usage.
2017-02-20 08:46:01 +01:00
Simon Fels
5520dfac34
Terminate container on shutdown to get all our threads/connections stopped
2017-02-20 08:46:01 +01:00
Simon Fels
03acb32ece
Forward Android ready status through our app manager dbus object
2017-02-20 08:35:43 +01:00
Simon Fels
ce2f7e9928
Use GLESv2 as implementation for GLESv1
...
This may not apply on some systems but works well enough for the snap.
2017-02-19 12:16:48 +01:00
Simon Fels
589b40daf1
Correctly handle type reference flag values
2017-02-17 19:46:25 +01:00
Simon Fels
cd33d9f0fa
Release rename run command to session-manager
2017-02-17 19:30:20 +01:00
Simon Fels
bdcfbd47dd
Print detailed error message when SDL initialization fails
2017-02-17 16:44:30 +01:00
Simon Fels
53b8071e6a
On systems we run against Mir we also need to build against it
2017-02-17 16:44:30 +01:00
Simon Fels
6a62f75274
Allow privileged containers for systems without user namespace support
2017-02-17 16:44:30 +01:00
Simon Fels
b090f0a74d
Merge pull request #42 from morphis/feature/mount-setup
...
Setup Android rootfs mount on container manager startup
2017-02-17 16:43:11 +01:00
Simon Fels
6ce026bad4
Setup Android rootfs mount on container manager startup
2017-02-10 23:10:03 +01:00
Simon Fels
f5ec3d13ad
Add BoolSwitchFlag class to model boolean input parameters
2017-02-10 08:03:26 +01:00
Simon Fels
586bdce1b3
Rename run command to session-manager
2017-02-09 12:20:57 +01:00
Simon Fels
06b3683ea4
Force host EGL on devices running with the nvidia driver
2017-02-09 12:04:17 +01:00
Simon Fels
64466fb234
Blacklist EGL_EXT_buffer_age extension to make nvidia users happy
2017-02-09 12:03:49 +01:00
Simon Fels
e0091c764b
Allow using a different data path for container setup
2017-02-07 12:12:23 +01:00
Simon Fels
c3b2e88960
Print error on startup when binder/ashmem are missing and fail
2017-02-07 12:12:23 +01:00
Simon Fels
30c2186826
Abstract selector of translator or host GL libs a bit more
2017-02-06 07:12:10 +01:00
Simon Fels
d12aad5c01
Merge pull request #34 from morphis/feature/minor-fixes
...
A few minor fixes to clean things up a bit
2017-02-03 08:04:09 +01:00
Simon Fels
e2f51b80a1
Rework stream usage for desktop/icon file creation
2017-02-02 12:37:49 +01:00
Simon Fels
e1aff4727b
Merge pull request #35 from morphis/feature/refactor-config
...
Refactor configuration to be more dynamic
2017-01-31 14:18:11 +01:00
Simon Fels
fb6277f9a8
Refactor configuration to be more dynamic
2017-01-31 08:48:55 +01:00
Simon Fels
1459488bd3
Drop old and unneeded icon flag for run command
2017-01-31 08:47:57 +01:00
Simon Fels
f9d95172c4
Adjust indentation of launcher storage
2017-01-31 08:46:07 +01:00
Simon Fels
0aa311c69f
Use provided linker flags from pkgconfig in our build
2017-01-27 07:12:19 +01:00
Simon Fels
c9c3155e96
emugl: use our internal logger instead of the emugl one
2017-01-20 08:38:38 +01:00
Simon Fels
c199e519ba
qemud: send message size in hexadecimal format
...
All sizes need to be printed in hexadecimal. Otherwise size of the
actual data doesn't match and messages are not processed inside the
container.
2017-01-20 07:35:18 +01:00
Simon Fels
b1edee8a11
Merge pull request #22 from vosst/fix-build
...
Fix build with warnings turned on.
2017-01-20 07:23:20 +01:00
Thomas Voß
4d457153b7
Fix build with warnings turned on.
2017-01-19 20:36:01 +01:00
Thomas Voß
f98239c70d
Support positional arguments.
...
Please note that this feature requires a reecent boost version, ideally 1.57 or
later.
2017-01-19 18:40:37 +01:00
Simon Fels
8e262fe5c7
LayerComposer: always prioritize layers which are lower in the list
2017-01-18 07:49:08 +01:00
Simon Fels
975b0d12b2
LayerComposer: correct formatting of rect calculation
2017-01-18 07:48:12 +01:00
Simon Fels
87b918375d
Use the app package name as window title for now
2017-01-17 18:26:16 +01:00
Simon Fels
ab473fd174
Reset launcher storage before updating it
2017-01-17 18:25:36 +01:00
Simon Fels
db3499fd89
Synchronize clipboard bi-directional with the android container
2017-01-15 12:38:22 +01:00