Commit graph

790 commits

Author SHA1 Message Date
Simon Fels
07fe3c7bac Move runtime sockets etc. into SNAP_USER_COMMON / SNAP_COMMON 2018-05-18 19:38:26 +02:00
Simon Fels
f768d3622f debian: drop unneeded anbox-common package 2018-05-18 19:38:24 +02:00
Simon Fels
1037e8aab9 graphics: correctly pass layer alpha level through 2018-05-18 19:38:18 +02:00
Simon Fels
238a26aee3 Install desktop item for the Android Settings app 2018-05-18 19:38:16 +02:00
Simon Fels
bdc2a24f88 Add support for client side decorations
This implements client side window decorations of our windows. The title
bar of our windows is now drawn by Android and we simply map out the
title bar area hit test area to SDL to detect when the other wants to
move the window or resize it.
2018-05-18 19:38:14 +02:00
Simon Fels
f1480bfb91 dbus: use systemd dbus support instead of out dated dbus-cpp
dbus-cpp was dropped from 18.04 as it is not maintained anymore so we
should migrate to something more stable with a long term perspective.
libsystemd fits in nicely here as it has a nice and clean dbus
implementation which is battle tested and can be easily integrated into
our existing C++ code base.
2018-05-18 19:38:12 +02:00
Simon Fels
14774c0177 Send updates with icons separately to not overflow protobuf 2018-05-18 19:38:10 +02:00
Simon Fels
31c64f0a19 snap: make anbox work on systems with GLVND
Systems with GLVND load the actual EGL implementation in a different way
when the GL driver is dlopen'ed and therefor we need to tell GLVND which
vendor implementations are available on the system. As snapd is not yet
exposing this to the snap we have to ship a small set of configs on our
own until that is fixed.
2018-05-18 19:38:07 +02:00
Simon Fels
7dde2d9fdf snap: cleanup and small refactoring
We're using the desktop helpers now to setup all necessary environment
variables for GL drivers etc. and only keep a small set of extra changes
on top for things the desktop-helpers don't support yet.
2018-05-18 19:38:05 +02:00
Simon Fels
3c303bf7ae Build with support for c++14 2018-05-18 19:38:02 +02:00
Simon Fels
1f55ff4be6 emugl: use correct name of shader variable 2018-05-18 19:37:59 +02:00
Simon Fels
647ace8233 emugl: use correct rgb spec for EGL config selection 2018-05-18 19:37:57 +02:00
Simon Fels
b42c13fc1b sdl: use correct GL context version 2018-05-18 19:37:54 +02:00
Simon Fels
5070880428 external: import local copy of GLM 0.9.7.2
This allows building against the same version of GLM across all targets
and not deal with API changes of newer GLM versions which introduce
regressions. Long term we want to migrate away from GLM and stick to a
minimal self-written subset.
2018-05-18 19:37:52 +02:00
Simon Fels
01ef1d23de graphics: use dummy GLESv1 by default
Newer Ubuntu systems tend to not provide a libGLESv1_CM.so.1 anymore. As
we're not required to have a GLESv1 implementation (only a few older
Android apps are using GLESv1) we can as easy fix avoid loading a real
GLESv1 implementation and assign dummy functions instead to all relevant
GLESv1 API calls. In the future we want to switch to a GLESv1->GLESv2
translator as the Android emulator does.
2018-05-18 19:37:50 +02:00
Simon Fels
8b6ced19fe graphics: specify all necessary OpenGL ES libraries by default 2018-05-18 19:37:48 +02:00
Simon Fels
1edfa6e3dd external: remove GL translator
OpenGL ES is enough for our purpose and we don't want to maintain a
unneeded OpenGL ES to GL translator. All target drivers have proper
OpenGL ES support these days so no need to depend on GL anymore.
2018-05-18 19:37:44 +02:00
Simon Fels
807005b2fa
Merge pull request #712 from Jiancong/master
Fix session-manager corrupted caused by memory overflow.
2018-05-17 09:27:17 +02:00
Simon Fels
ef9272f26e
Merge branch 'master' into master 2018-05-17 07:18:30 +02:00
Jiancong
cb678f3807 Fix session-manager corrupted caused by memory overflow. 2018-05-17 11:12:40 +08:00
Simon Fels
51e90f2b9d
Merge pull request #512 from fpemud/master
build anbox when the default python version is 3.x
2018-05-16 08:23:07 +02:00
Simon Fels
5a8e5e5817
Merge branch 'master' into master 2018-05-16 08:06:05 +02:00
Simon Fels
d1226ee52e
Merge pull request #545 from ShalokShalom/patch-1
Update README (change development state to alpha)
2018-05-16 08:05:52 +02:00
Simon Fels
58d5382bca
Merge branch 'master' into patch-1 2018-05-16 07:27:37 +02:00
Simon Fels
9e93eb4db7
Merge pull request #706 from morphis/limit-exposed-extensions
emugl: limit set of extensions we expose to Android
2018-05-14 16:27:17 +02:00
Simon Fels
ceae29b2d2 emugl: limit set of extensions we expose to Android
If we expose too many extensions we don't support ourself yet (like
EGL_ANDROID_native_fence_sync) then we get unexpected corruption or
missing screen updates in our rendered output.

Fixes #635, #457, #692, #582 (and a few more duplicates)
2018-05-14 16:13:33 +02:00
Simon Fels
77f3badb97
Merge pull request #646 from LocutusOfBorg/fix-security-buffer-overflows
Fix security buffer overflows
2018-05-14 16:10:59 +02:00
Gianfranco Costamagna
cfb336e174 CMakeLists.txt: Default build type to RelWithDebInfo if none is defined 2018-05-14 12:03:50 +02:00
Gianfranco Costamagna
df143a08f9 Bump compat level to 9 and std-version to 4.1.3 2018-05-14 11:57:34 +02:00
Gianfranco Costamagna
a02f2ab47c Add verbosity to build 2018-05-14 11:57:34 +02:00
Gianfranco Costamagna
785136fd36 GLESv2Imp: fix bad return statement
android-emugl: add formatting strings to fprintf output, fixing possible security issue
2018-05-14 11:57:34 +02:00
Simon Fels
830b2d815e
Merge pull request #665 from Jiancong/master
Fix nir shaders memory leak on translator host side
2018-05-11 20:27:07 +02:00
Simon Fels
1878b17743
Merge branch 'master' into master 2018-05-11 20:06:36 +02:00
Jiancong
08defc5558 Remove single line bracket. 2018-05-06 12:28:31 +08:00
Simon Fels
4a5cb84231
Merge pull request #670 from misha98857/patch-1
fix GLM error
2018-05-03 15:45:58 +02:00
Simon Fels
57bf01d408
Merge branch 'master' into patch-1 2018-05-03 15:37:07 +02:00
Simon Fels
097d48ce8a
Merge pull request #600 from hanpfei/master
Just waiting 3 seconds when stop container.
2018-05-03 15:27:07 +02:00
Simon Fels
f353d55d16
Merge branch 'master' into patch-1 2018-05-03 15:25:43 +02:00
Jiancong
48471b1454 Revert previous cycling-reference commit. 2018-04-05 22:06:43 +08:00
Jiancong
715c57564a Remove debug info print. 2018-04-04 17:09:24 +08:00
Simon Fels
9b1ace02fe
Merge branch 'master' into master 2018-04-04 10:41:13 +02:00
Simon Fels
f68725cff8
Merge pull request #667 from sideeffffect/master
Use the `z` as print format for `size_t` variable instead of `l` to m…
2018-04-04 10:36:28 +02:00
misha98857
c288083bb3
fix GLM error
fix this problem: "GLM: GLM_GTX_transform is an experimental extension and may change in the future"
2018-04-03 21:54:27 +04:00
Jiancong
4dd2ae389a Fix the cycle-referenced caused memory leak by shared_ptr used, this issue is
recognized by valgrind memcheck tool.
2018-04-03 10:57:25 +08:00
Ondra Pelech
5cc79d9782 Use the z as print format for size_t variable instead of l to make it platform independent
`l` is a format for `long int`. It accidentally worked on 64 bit architectures, because `long int` has the same length as `size_t` there.
It didn't work on 32 bit architectures, where `size_t` is shorter than `long int`.
Let's use `z`, because that's the proper format for `size_t` -- it works on any platform.
2018-04-01 16:19:28 +02:00
unknown
90c91783fd Fix nir shaders memory leak on translator host side, this issue is heavily
increased the memory usage in application created and compile shader
programs frequently
2018-03-29 15:15:28 +08:00
Simon Fels
03f69c8685
Merge pull request #632 from morphis/find-pulsecommon-again
scripts: explicitly set linker search path for libpulsecommon-8.0
2018-03-04 18:07:43 +01:00
Simon Fels
50671ed987 scripts: explicitly set linker search path for libpulsecommon-8.0 2018-03-04 17:31:03 +01:00
Simon Fels
9dfea170d3
Merge branch 'master' into master 2018-03-02 10:26:36 +02:00
Simon Fels
7de9d551df
Merge pull request #605 from modscleo4/patch-1
Fix narrowing conversion inside {} (Boost 1.66)
2018-03-02 10:26:24 +02:00