Commit Graph

770 Commits

Author SHA1 Message Date
Twinaphex
013eb8d619
Merge pull request #9146 from orbea/win32
qb: Improve win32 checks.
2019-07-21 11:48:50 +02:00
Twinaphex
e3faaa575a
Merge pull request #9147 from orbea/slang
qb: Improve the slang, glslang and SPIRV-Cross checks.
2019-07-21 11:48:31 +02:00
orbea
ba1ed7aa13 qb: Allow --enable-metal for osx only. 2019-07-21 00:18:41 -07:00
orbea
a7c03df014 qb: Improve the slang, glslang and SPIRV-Cross checks. 2019-07-20 23:30:40 -07:00
orbea
b893f58868 qb: Improve win32 checks. 2019-07-20 22:39:55 -07:00
twinaphex
b6b22a9a32 More shader refactors - make sure we can compile entirely
without shader support if HAVE_CG, HAVE_GLSL, HAVE_SLANG
and HAVE_HLSL are all not defined
2019-07-21 00:34:07 +02:00
twinaphex
260b06750d It's possible to build and run D3D10/11/12 without glslang/spirv-cross -
just no frontend shaders
2019-07-20 21:23:37 +02:00
twinaphex
c6c8d03f29 Take out HAVE_D3D10 rule 2019-07-20 21:07:03 +02:00
twinaphex
e2e9823eb7 Revert "D3D10/11/12 can work without SPIRV-Cross/glslang - you just won't"
This reverts commit 4fcf2c42ef.
2019-07-20 21:03:09 +02:00
twinaphex
4fcf2c42ef D3D10/11/12 can work without SPIRV-Cross/glslang - you just won't
be able to load frontend shaders
2019-07-20 20:53:28 +02:00
twinaphex
8fe7e3f730 (Qb) Add HAVE_DR_MP3 2019-07-20 16:42:46 +02:00
twinaphex
cd9cbc0881 (qb) Add HAVE_METAL, set it to 'no' for now 2019-07-20 16:34:49 +02:00
twinaphex
39120e8ffc Fix C89_BUILD 2019-07-20 15:17:04 +02:00
twinaphex
a4573f1dd5 (Qb) Update config.libs.sh - there are more hardware renderers now 2019-07-20 15:05:28 +02:00
twinaphex
13fa504919 Set these to enable by default 2019-07-20 14:06:19 +02:00
twinaphex
bcb9762ec8 (qb) Add HAVE_SLANG, HAVE_SPIRV_CROSS, HAVE_GLSLANG 2019-07-20 13:52:18 +02:00
twinaphex
a60463fd76 (qb) Add HAVE_XAUDIO 2019-07-20 00:12:55 +02:00
twinaphex
2f2c53586c (qb) Add HAVE_CC_RESAMPLER 2019-07-19 19:03:48 +02:00
twinaphex
c5be03c209 (Qb) Add winmm switch 2019-07-19 17:53:19 +02:00
twinaphex
0ad02dc72d (Qb) Add way to exclude WASAPI 2019-07-19 17:31:08 +02:00
twinaphex
0cd4f6623f (qb) Add HAVE_DSOUND option 2019-07-19 17:18:51 +02:00
Brad Parker
e843354b14 cdrom: use sys/ioctl header instead of stropts 2019-07-15 10:38:54 -04:00
orbea
76e130a988 qb: Fix the CDROM check.
This improves the CDROM check.

Fixes https://github.com/libretro/RetroArch/issues/9096
2019-07-12 11:35:22 -07:00
orbea
89a8202dc5 qb: Extend check_platform.
This extends the check_platform function to support checking more
than one OS for each feature.

This also adds the match helper function to qb.init.sh to compare
one variable against a list of variables.
2019-07-12 11:35:22 -07:00
twinaphex
bddfca940e Add HAVE_GDI switch 2019-07-11 13:18:38 +02:00
twinaphex
b2bf822f13 Add HAVE_AUDIOMIXER switch 2019-07-11 11:51:06 +02:00
Brad Parker
79aa9afc8c enable CDROM read support by default for Windows (mingw) and Linux 2019-07-09 14:10:09 -04:00
twinaphex
f0f5c32b51 Remove state tracker - legacy code - we can revisit this later
and integrate it in a way so that it scales across all drivers
2019-07-09 07:39:38 +02:00
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