Commit graph

82 commits

Author SHA1 Message Date
Gabriel Rauter
4979b7733e cpu_features: fix clang, set cast-align to warning
Change -Wcast-align from error to warning for clang compiler by adding
the -Wno-error=cast-align compiler flag.

Fixes #881
2018-09-02 17:00:23 +02:00
Shengjing Zhu
999751f4a2 external: set Wno-error=switch-default in backward-cpp
Closes: #810
Signed-off-by: Shengjing Zhu <i@zhsj.me>
2018-07-11 16:17:53 +08:00
Shengjing Zhu
2b8134fb44 external backward: allow old-style cast & unknown pragmas
Signed-off-by: Shengjing Zhu <i@zhsj.me>
2018-07-08 00:48:04 +08:00
Shengjing Zhu
5e35efbf73 external: update backward-cpp to v1.4
rename the directory name to backward-cpp

Closes: #803
Signed-off-by: Shengjing Zhu <i@zhsj.me>
2018-07-08 00:22:45 +08:00
Simon Fels
7227167b38 backtrace-cpp: implement a better fix for implicit case fallthrough 2018-06-23 16:04:02 +02:00
Simon Fels
e4bad7e611 cpu_features: disable test build and execution 2018-06-23 12:50:54 +02:00
Simon Fels
5049157a4c cpu_features: ignore additional errors 2018-06-23 12:50:50 +02:00
Simon Fels
4a27769893 backtrace-cpp: also ignore implicit-fallthrough errors 2018-06-23 12:50:46 +02:00
Simon Fels
7eb8f2bad8 cpu_features: allow it to build in our more strict build environment 2018-06-21 07:47:37 +02:00
Simon Fels
93c4dfb39f Integrate cpu_features library to extend system-info output with CPU details 2018-06-21 07:35:32 +02:00
Simon Fels
931aca28e3 external: import cpu_features library
Taken from https://github.com/google/cpu_features at revision
26133d3b620c2c27f31d571efd27371100f891e9
2018-06-21 07:35:32 +02:00
Milk Brewster
c6c75e2b11
remove -Wno-error=implicit-fallthrough 2018-06-04 18:04:21 +01:00
Milk Brewster
2cf14b63bb
add -Wno-error=switch-default to CMAKE_CXX_FLAGS 2018-05-30 09:11:38 +01:00
Milk Brewster
683f3a0ef6
add -Wno-error=implicit-fallthrough to CMAKE_CXX_FLAGS 2018-05-27 19:01:51 +01:00
Simon Fels
a7d583fb09 backtrace-cpp: allow old-style-cast 2018-05-18 19:38:33 +02:00
Simon Fels
e6a0821cfc Import backtrace-cpp and integrate it into our main executable
Upstream release
https://github.com/bombela/backward-cpp/archive/v1.3.tar.gz
2018-05-18 19:38:31 +02:00
Simon Fels
1037e8aab9 graphics: correctly pass layer alpha level through 2018-05-18 19:38:18 +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
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
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
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
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
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
Marcus Comstedt
374e59f421 emugl: Fix build on arm64 2017-09-30 13:05:46 +02:00
Simon Fels
fc5659390c android: regenerate encoder to use correct include for logging.h 2017-09-08 07:00:54 +02:00
Simon Fels
29d917d9db android/opengl: regenerate encoding layer 2017-08-31 16:07:59 +02:00
Simon Fels
067201baba emugl: generate GL ES/EGL function prototypes at build type from entries files
This will make the *.entries files the the authoritative place to
define additional GL function prototypes. All generated header
files are now placed inside the build directory so that nobody
will ever try to touch them again.
2017-08-31 15:40:22 +02:00
Alfonso Sánchez-Beato
8ae09e81e0 Undef Status symbol to address conflict between X11 and protobuf 2017-08-23 11:06:34 +02:00
Bernhard Rosenkränzer
f26252d1fc Fix build with clang
Fixes building anbox with clang 4.0 -- removes unused declarations,
makes sure a template is visible at first instantiation, makes sure
exception declarations match between headers and implementations

Signed-off-by: Bernhard Rosenkränzer <bero@lindev.ch>
2017-05-18 17:56:49 +02:00
Simon Fels
da20611a6c Merge pull request #214 from morphis/f/fork-session-mgr
Start session manager when not already running
2017-05-07 12:05:53 +02:00
Bernhard Rosenkränzer
ee4d0b9c49 Make sure helper libraries get built as static libs
Make sure helper libraries get built as static libs regardless
of the cmake version being used.

This fixes issue 217.

Signed-off-by: Bernhard Rosenkränzer <bero@lindev.ch>
2017-05-04 15:44:37 +02:00
Simon Fels
bcdbdbac6a external: prevent a child process from killing a process on cleanup 2017-05-02 19:47:50 +02:00
Simon Fels
9646a5fbc3 Remove unneeded log messages from translator libraries 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
30c2186826 Abstract selector of translator or host GL libs a bit more 2017-02-06 07:12:10 +01:00
Simon Fels
a1dce43b50 Use host compiler to build emugen utility in cross-build environments 2017-01-27 07:12:19 +01:00
Thomas Voß
4d457153b7 Fix build with warnings turned on. 2017-01-19 20:36:01 +01:00
Simon Fels
8d2e3853d4 scripts: respect new unprivileged container model 2017-01-05 10:15:21 +01:00
Simon Fels
dbbb8ab795 Add unit tests for BufferedIOStream 2016-12-23 15:40:33 +01:00
Simon Fels
7ce2da3be3 Rework client renderer setup
This gets us rid of one unneeded socket based communication point which
we kept around for historic reasons (from Android QEMU) but don't really
need in our case. This allows a simplication of our setup and improves
performance.
2016-12-21 08:40:40 +01:00
Simon Fels
4b63f8dca2 Remove unused bubblewrap source 2016-12-15 08:29:14 +01:00
Simon Fels
00aadb5467 Improve application manangement and create desktop entries for available app 2016-12-02 16:11:38 +01:00
Simon Fels
a6e26f46d6 Revert "First attempt on getting rid of the socket server"
This reverts commit 91d37082ab.
2016-11-18 12:53:43 +01:00
Simon Fels
91d37082ab First attempt on getting rid of the socket server 2016-11-18 12:53:27 +01:00
Simon Fels
609d80395c Migrate emugl layer into the core 2016-11-15 13:59:53 +01:00
Simon Fels
914fcdf101 Disable boot animation 2016-11-11 11:45:53 +01:00
Simon Fels
0ee3c3aad9 Silence GLESv2 translator on errors we're not interested in 2016-11-11 11:35:03 +01:00
Simon Fels
66a6f1d2c3 Drop superflous debug comment 2016-11-11 09:41:19 +01:00