Commit graph

781 commits

Author SHA1 Message Date
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
Simon Fels
94ba25f47c
Merge branch 'master' into patch-1 2018-03-01 14:07:52 +02:00
Simon Fels
c02d9278bc
Merge branch 'master' into master 2018-03-01 14:06:15 +02:00
Simon Fels
a464ab3d1f
Merge branch 'master' into patch-1 2018-03-01 14:05:42 +02:00
Han Pengfei
04ceffa6b6 Reset the unlock.
Signed-off-by: Han Pengfei <hanpfei@gmail.com>
2018-02-23 11:03:34 +08:00
Dhiego Cassiano Fogaça Barbosa
a044e70b3a
Updated preprocessor condition
Without >=, the patch would not work on newer versions of Boost
2018-02-16 19:52:51 -02:00
Dhiego Cassiano Fogaça Barbosa
8b74034a17
Fixed build on boost <= 1.65 2018-02-14 15:36:58 -02:00
Simon Fels
be4371a51a
Merge pull request #612 from mcku/master
kernel specific patch -- fix argument in binder_set_stop_on_user_error
2018-02-12 10:40:35 +02:00
Mustafa Kuscu
f174331170
make the patch specific to kernel 4.15 and later
The change starts with kernel 4.15.
2018-02-12 11:17:06 +03:00
Mustafa Kuscu
a02f539550
Merge pull request #1 from mcku/mcku-patch-1
fix argument in binder_set_stop_on_user_error
2018-02-11 01:47:22 +03:00