Commit Graph

742 Commits

Author SHA1 Message Date
orbea
4c7aa40a17 qb: Extend the check_enabled function.
This extends the check_enabled function to be able to check more than
one feature. In the case of RPNG it depends on either the builtin or
system zlib, but if the system zlib was not available while the builtin
zlib was it would still be disabled erroneously.

Now it will only be disabled if both the system and builtin zlib are
disabled.
2019-06-19 22:49:16 -07:00
bparker06
b945cfbbf9
Update config.params.sh 2019-06-13 11:56:19 -04:00
orbea
c450b7d2f2 qb: Improve various tests.
Also fixes a compile failure with --disable-networking
2019-06-08 17:22:05 -07:00
orbea
0af5352f56 qb: Clean up EGL check 2019-06-08 09:12:06 -07:00
orbea
9794e4af07 qb: Add missing checks for EGL support.
Some systems may have egl libraries, but not egl headers which
will result in failing to build EGL support.

Also OpenGLES2 also required EGL support so lets make that clear.
2019-06-08 07:26:31 -07:00
orbea
1489a66ea5 qb: Improve the Qt check. 2019-06-04 08:26:15 -07:00
Twinaphex
240f0a578c
Merge pull request #8792 from orbea/enabled
qb: Improve X11 checks.
2019-06-03 17:00:58 +02:00
Twinaphex
b3d3f2db58
Merge pull request #8781 from orbea/haiku
qb: Add check_platform.
2019-06-02 18:10:19 +02:00
orbea
8922e96869 qb: Add check_platform.
This allows enabling and disabling features for platforms
more robustly.

Fixes https://github.com/libretro/RetroArch/issues/8777

v2: Fix D3D configure checks.
v3: Cleanup.
v4: Update Makefile.msvc and Makefile.win
2019-06-02 08:48:05 -07:00
orbea
04c184252d qb: Improve X11 checks. 2019-06-02 08:45:24 -07:00
orbea
fbe6639ee1 qb: Log the configure arguments in config.log. 2019-06-02 07:04:56 -07:00
orbea
0d167afc4f Fix the OpenGLES3 build.
This depends on HAVE_EGL.

Revert "Remove this Travis test for now"

This reverts commit 678089c2de.
2019-06-01 13:37:48 -07:00
Twinaphex
8610a77dac
Merge pull request #8892 from orbea/egl
Revert "(EGL) Turn EGL off by default for now until we figure out how"
2019-06-01 21:36:37 +02:00
orbea
0498f8ba1c Revert "(EGL) Turn EGL off by default for now until we figure out how"
This reverts commit 8076d06c24.

This seems to work again.
2019-06-01 07:46:46 -07:00
orbea
35d4405d3e qb: Fix the zlib check.
This is the correct change to prefer the builtin zlib.

Revert "(QB) Bake in zlib by default, make zlib as dynamic library dependency"

This reverts commit 2713e792ca.

Revert "(QB) Change behavior - if HAVE_ZLIB = no, that doesn't mean"

This reverts commit f66fe5e16b.
2019-06-01 07:39:02 -07:00
twinaphex
6a30a1f89a Disable Discord for C89 again 2019-05-28 16:27:21 +02:00
twinaphex
876e1a43aa Remove C89_DISCORD 2019-05-28 16:02:09 +02:00
twinaphex
f66fe5e16b (QB) Change behavior - if HAVE_ZLIB = no, that doesn't mean
HAVE_BUILTINZLIB will also be set to no implicitly. It will still
try to use the baked in zlib. If you want to build without any zlib
support entirely, you now need to do this -

./configure --disable-zlib --disable-builtinzlib
2019-05-27 15:44:54 +02:00
twinaphex
2713e792ca (QB) Bake in zlib by default, make zlib as dynamic library dependency
optional instead
2019-05-27 15:03:38 +02:00
twinaphex
8076d06c24 (EGL) Turn EGL off by default for now until we figure out how
to leave this to on without it breaking PC buildss
2019-05-26 09:16:58 +02:00
nia
3be224989d qb.libs.sh: Use CFLAGS in header check. 2019-05-18 22:42:25 +01:00
Twinaphex
b0bfe1c9be
Revert "qb.libs.sh: Use $CFLAGS when searching for header files and macros." 2019-05-18 19:00:01 +02:00
nia
efcf6220b9 qb.libs.sh: Use $CFLAGS when searching for header files and macros.
Allows configuring with --enable-gl on systems with OpenGL outside the
standard compiler search path (assuming CFLAGS is set correctly...)
2019-05-18 17:17:59 +01:00
orbea
f5a9c21b99 qb: Improve the KMS check. 2019-05-13 08:45:24 -07:00
orbea
271aef55a4 qb: Improve the OpenGLES build. 2019-05-13 08:02:26 -07:00
twinaphex
f904c698d2 Disable this - crashes at startup 2019-05-13 00:56:37 +02:00
Huw Pascoe
7e0592198d video_layout build 2019-05-11 09:58:46 +01:00
Barry Rowe
8745333892 OCR Translation feature finaliziation. (#8738) 2019-05-11 07:15:39 +02:00
orbea
1a3f16ded1 Fix --enable-opengles and --enable-opengles3 (#8749)
* qb: Fix OpenGLES build.

The gl core video driver requires at least OpenGLES 3 and
OpenGL 1 is not compatible with OpenGLES 2 or 3.

* travis: Test OpenGLES builds on linux.
2019-05-10 23:47:36 +02:00
orbea
26b8334c6b qb: Enable menu widgets with CXX_BUILD again. 2019-05-04 16:53:21 -07:00
Twinaphex
108a54a7f2
Merge pull request #8694 from orbea/menu
A few --disable-menu fixes.
2019-05-05 01:19:30 +02:00
orbea
493083f5c7 qb: Disable HAVE_MENU_WIDGETS with CXX_BUILD for now. 2019-05-04 10:19:41 -07:00
orbea
6552828244 qb: Fix --disable-menu.
Menu widgets must also be disabled with --disable-menu, now
configure will do so or error if --disable-menu and
--enable-menu_widgets are explicitly used.
2019-05-04 08:23:44 -07:00
twinaphex
b9cdeebf35 Make menu widgets the new default 2019-05-03 15:55:44 +02:00
orbea
780fa2679f qb: Disable wayland for CXX_BUILD for now. 2019-04-24 09:32:01 -07:00
Jamiras
2319b2bde8 fix C89/CXX build 2019-04-20 14:04:50 -06:00
twinaphex
aa03025dd1 Need to disable cheevos for C89/CXX until this is fixed 2019-04-20 17:17:36 +02:00
meleu
9091409efa remove '#ifdef HAVE_NEW_CHEEVOS' leftovers 2019-04-19 23:11:31 -03:00
orbea
a86848d822 qb: Check for libroar 1.0.12.
This hides a now fixed upstream libroar build error which breaks LGTM.
Unfortunately this only allows the most recent roaraudio version to be
used.
2019-04-18 13:49:56 -07:00
natinusala
55d0701ac1 menu widgets: remove qb notice 2019-04-08 17:06:05 +02:00
Huw Pascoe
45069537fb Re-enable RXML and purge libxml
Fixed rxml to work with griffin.c
2019-03-17 03:04:35 +00:00
natinusala
76d0b4ebd5 Add a menu widgets notice in configure 2019-03-13 10:25:27 +01:00
twinaphex
e961dadc94 Enable HAVE_OPENGL1 by default - will return to this in case there
are issues with it
2019-03-11 15:10:42 +01:00
Themaister
1ba8c626ed Minor build fixes. 2019-03-09 12:42:23 +01:00
Themaister
eb374e6b58 Fix portability hazard in qb/. 2019-03-09 12:30:49 +01:00
Themaister
3029f96511 Add a new "glcore" driver with slang support.
This driver should sunset the old gl2 driver, but that driver will
likely live on to support really ancient and terrible GL stacks.
All the worst legacy cruft has been ripped out, and it's almost a decent
backend now.

Requirements for slang are GL 3.2+ or GLES3.
Some shaders require features which are not directly compatible with
GLES2 or legacy GL.

This driver shares a lot of concepts from the Vulkan driver.
The slang shader stack and SPIRV-Cross are used to implement the shader
spec, and the menu shaders are also shared with Vulkan.
2019-03-09 12:30:49 +01:00
orbea
2586e727e7 qb: Fix the HAVE_OPENGLES check.
Not all systems have the appropriate pkgconfig files.

Fixes https://github.com/libretro/RetroArch/issues/8274
2019-02-13 09:51:49 -08:00
orbea
74cd5a067f qb: Use the correct compiler flags for check_lib. 2019-02-12 11:56:24 -08:00
orbea
f41e70ba11 qb: Minor clean up. 2019-02-11 17:52:34 -08:00
orbea
f6d8f2911d qb: Allow checking for multiple pkgconfig files. 2019-02-11 16:51:08 -08:00