Simon Fels
1037e8aab9
graphics: correctly pass layer alpha level through
2018-05-18 19:38:18 +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
715c57564a
Remove debug info print.
2018-04-04 17:09:24 +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
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
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
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
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
Simon Fels
ea90344cfd
Drop unnecessary debug statements
2016-11-10 18:01:27 +01:00
Simon Fels
792f488cbc
Drop use of not existing function
2016-11-09 15:51:25 +01:00
Simon Fels
aee51246a5
Drop unneeded ifdef
2016-11-09 12:06:57 +01:00
Simon Fels
905a1a9fb1
Do not support translation/rotation for textures we render
2016-11-09 11:09:15 +01:00
Simon Fels
1aeedaf199
Update GL viewport when window size changes
2016-11-09 09:40:25 +01:00
Simon Fels
b05b8bae8b
Implement quick&dirty approach to update window size and position
2016-11-08 18:07:00 +01:00
Simon Fels
f2e39fb2f7
Use correct order in rect definition
2016-11-08 18:05:19 +01:00
Simon Fels
f7be0f8747
Reuse existing window when a layer with the same package already exists
2016-11-08 09:47:15 +01:00
Simon Fels
c4a09f75af
Reset layer state when cycle is done
2016-11-08 08:36:03 +01:00
Simon Fels
2717449710
Remove unneeded width, height and use_sub_window arguments
2016-11-08 08:15:25 +01:00
Simon Fels
d5d2f8d36f
Add display manager instance which hands relevant information to emugl layer
2016-11-08 08:14:38 +01:00
Simon Fels
2d63a6e568
emugl: update cmake configuration with missing files
2016-11-08 07:49:41 +01:00
Simon Fels
fbc8b984f2
Implement support for host side multi-window management
2016-11-08 07:41:41 +01:00
Simon Fels
1272f453a2
Correct object data handling from shader programs
2016-10-13 18:37:47 +02:00
Simon Fels
8bb5486653
Drop unecessary shader extensions
2016-10-02 14:42:31 +02:00
Simon Fels
dd48136721
Improve eglGetString processing to exclude certain not support extensions
2016-09-30 17:21:15 +02:00
Simon Fels
d731ee77c2
Install and load our translator libraries on startup
2016-09-30 17:21:15 +02:00
Simon Fels
a14366c407
Disable shader additions when working with translator
2016-09-30 17:21:15 +02:00
Simon Fels
99b913c273
Correctly compare name against GL version
2016-09-30 17:21:15 +02:00
Simon Fels
636c04dd79
Check if object data is valid before accessing it
2016-09-30 17:21:15 +02:00
Simon Fels
085e3c56a3
Import EGL/GLES translator
2016-09-17 10:48:24 +02:00
Simon Fels
5ee8c02b8d
Hand EGL native display into renderer to not use default display
2016-08-08 07:09:11 +02:00
Simon Fels
1a9ee54a5c
Add note from where we've taken the emugl implementation
2016-08-05 19:42:28 +02:00
Simon Fels
b4dab18561
Remove uneeded log statement to note missing GL symbols
...
Missing GL symbols will be noted once they are called.
2016-07-04 17:50:24 +02:00
Simon Fels
b2ce1a24be
Disable bandwidth logging
2016-06-23 17:28:40 +02:00