Commit Graph

505 Commits

Author SHA1 Message Date
Couriersud
d88a02f776 Fix waitvsync for bgfx vulkan backend. [Couriersud]
Currently waitvsync is broken in the bgfx vulkan backend.
The option is just ignored and a mode waiting for vsync is selected.
This also breaks throttle. -nothrottle doesn't work.

These changes fix this. If available a non-syncing mode is used if
-nowaitvsync is used.
2019-10-27 14:46:45 +01:00
R. Belmont
c82cfa1768
Merge pull request #5758 from vadosnaprimer/luaengine_ram
luaengine: reduce memory usage during compilation
2019-10-19 12:11:13 -04:00
feos
d51d2a71d5 luaengine: reduce memory usage during compilation
Previous semantics were encouraged by sol2, and ThePhD admitted it was a bad idea for usertypes with lots of members. sol3 allows to assign members outside a constructor for regular usertypes, but mame can't move to sol3 because it requires C++17. Turns out sol2 also has a way to add members separately, and that is what I used. This helps immensely.

This approach required a fix to warning C5046 copied from here 5799084572

Tested current mame plugins, everything seems to work.

PS: Due to come black magic, if I use simple_usertype::set() with "manager" as well, "machine" member dies (others are fine!), so I had to leave it intact.
2019-10-19 11:37:01 +03:00
couriersud
697dfa9fac Revert accidental commit of bgfx hacks. (nw) 2019-10-18 18:01:13 +02:00
Julian Sikorski
93a1cde67d Continuous integration improvements (#5703)
* Add workaround for imgtool and jedutil failing vs2019 debug builds with /ZI

* No longer allow msvc build to fail

* Enable tools build for travis to make it more useful

* Switch travis to Xcode 11 in order to fix nltool linking failure

* Prefer 64-bit compiler with VS 2019 too

* Setting PreferredToolArchitecture to x64 is not needed, genie puts it into the project files for vs2015 or later

* OPTIMIZE=1 build is faster that OPTIMIZE=0 for some reason. So fast in fact, that TOOLS=1 can be enabled without hitting the 60 minute timeout

* Switch MINGW build to VS 2017 image until appveyor figure out why builds on VS 2019 are almost twice as slow

* Run pacman twice to account for core system upgrades
2019-10-18 10:30:48 -04:00
couriersud
db318046c4 Netlist: code maintenance and bug fixes. (nw)
- solver now uses dynamic allocation on systems larger than 512x512
- fixed osx build
- moved nl_lists.h classes to plists.h
- fixed netlist makefile clint section
- readability and typos
2019-10-17 10:21:00 +02:00
Julian Sikorski
4470d977da Unbreak building shaders in cmd shell and add support for building them in MINGW bash shell (#5740) 2019-10-15 12:32:42 -04:00
AJR
73c4665039 Fix BGFX build on older OS X systems (nw)
The Vulkan renderer has to be disabled on Yosemite and older because its backend depends on Metal.
2019-10-14 07:47:37 -04:00
Robbbert
269970125a (nw) fixed compile error 2019-10-14 02:34:55 +11:00
Julian Sikorski
0837e7451a WIP: sync bgfx, bx and bimg with latest upstream (#5723)
* Sync with bgfx upstream revision b91d0b6

* Sync with bx upstream revision d60912b

* Sync with bimg upstream revision bd81f60

* Add astc-codec decoder

* Rename VertexDecl to VertexLayout

* Rename UniformType enum Int1 to Sampler.

* Add NVN stub

* Fix unused-const-variable error on macOS

* Drop redundant explicit language parameters
buildoptions_cpp are only applied to c++ files and buildoptions_objcpp are only
applied to objective c++ files. As such, hardcoding -x offers no benefit while
preventing overrides (such as one needed by 3rdparty/bgfx/src/renderer_vk.cpp on
macOS) from working.

* Re-introduce -x c++ in places where C code is compiled as C++ to prevent clang from throwing a warning

* Build bgfx as Objective-C++ on macOS
It is needed due to included headers

* Enable Direct3D12 and Vulkan bgfx rendering backends

* Enable building of spirv shaders

* Properly escape /c in cmd call

* Comment out dx12 bgfx renderer

* Honor VERBOSE setting during shaders build

* Only invert hlsl shader XYZ_TO_sRGB matrix for opengl

* Add spirv shaders

* OpenGL ES needs transposed matrix too

* Metal needs transposed matrix as well
2019-10-13 07:50:38 -04:00
smf-
bca6bf52c0 really disable _MAKE.escquote() so the defines in expat.make match the previous version (nw) 2019-09-30 11:08:36 +01:00
smf-
cf1f9cc6bb disable _MAKE.escquote() so the defines in expat.make match the previous version (nw) 2019-09-30 10:06:55 +01:00
Julian Sikorski
ed2b7e5ef1 Synced with GENie upstream revision e78d6c1 (#5631)
* Synced with GENie upstream revision e78d6c1

* Add Visual Studio 2019 support

* Fix hardcoded -m64

* Switch appveyor to Visual Studio 2019

* Fix genie being built as 32-bit

* MSVC build is known to be broken currently. Let it fail until all the known issues are fixed.

* Update the packages before building

* Build with 3 threads
Appveyor VMs have only 2 cores and 8 GB RAM.

* Enable caching of pacman cache
2019-09-29 09:30:18 -04:00
MoochMcGee
96a0ad2d59 Fix some clang warnings (nw) 2019-08-31 00:50:04 -05:00
Stiletto
9fd3a40496
typo fix (nw)
typo fix (nw)
2019-08-07 05:45:08 -04:00
Stiletto
b0a3c48865
adding the recent to 3rdparty README.md (nw)
adding the recent to 3rdparty README.md (nw)
2019-08-07 05:41:23 -04:00
Vas Crabb
37e80d9762 use dual-licensed GPLv2/MIT TAP for Windows header (nw) 2019-08-07 11:37:30 +10:00
Olivier Galibert
f9bcdcbbc9 via6522: Change most mappings into m() [O. Galibert] 2019-07-07 17:15:17 +02:00
Windy Fairy
ab8dbd3db0 Partial support for encrypted audio in k573dio (Konami System 573 Digital I/O) (#5055)
* Add support for pcnfrk2m - Percussion Freaks 2nd Mix (GE912 VER. KAA)

* WIP audio for k573dio

* WIP

* Move 3rd party library to 3rdparty folder

* Use MAME's BIT and bitswap

* Fix regression which caused songs to stutter/lag when they should have been read completely in one shot

* Replace gain_to_db switch with equivalent math
2019-05-15 20:17:00 -04:00
arbee
2075a8e2a0 fix non-Apple Clang (nw) 2019-03-28 00:39:33 -04:00
arbee
2c3395cf8b Fix compiling with Xcode 10.2 on macOS (nw)
This shouldn't affect any other Clang configurations (or any older Xcodes); LMK if problems occur.
2019-03-27 20:35:31 -04:00
Vas Crabb
97b6717027 (nw) Clean up the mess on master
This effectively reverts b380514764 and
c24473ddff, restoring the state at
598cd52272.

Before pushing, please check that what you're about to push is sane.
Check your local commit log and ensure there isn't anything out-of-place
before pushing to mainline.  When things like this happen, it wastes
everyone's time.  I really don't need this in a week when real work™ is
busting my balls and I'm behind where I want to be with preparing for
MAME release.
2019-03-26 11:13:37 +11:00
andreasnaive
b380514764 Revert "conflict resolution (nw)"
This reverts commit c24473ddff, reversing
changes made to 009cba4fb8.
2019-03-25 23:13:40 +01:00
couriersud
d208ca5105 3rdparty/lua: Fix clang 9 compile. (nw) 2019-02-23 18:54:28 +01:00
cracyc
836abb0d63 plugins/console: command history (nw) 2019-02-17 09:07:56 -06:00
Peter Ferrie
4e04aa3224 silence MS-LLVM (nw) 2019-02-16 11:49:07 -08:00
couriersud
182a06055f Fix 3rdparty/asio to compile with libc++ 9.0. (nw) 2019-02-13 22:35:19 +01:00
Peter Ferrie
e769e76ce4 enable sub-second snapshot timers (nw) (#4493)
* enable sub-second snapshot timers (nw)

* switch to attotime, accept doubles

* support LLVM extension in MSVC

make vsllvm

using extension from here:

https://marketplace.visualstudio.com/items?itemName=LLVMExtensions.llvm-toolchain
2019-02-04 13:05:46 -05:00
Peter Ferrie
d199ec2657 fix MSVC (llvm toolset) compile (nw)
- conditionally uninitialised variables in PortAudio;
- floats passed to attotime;
- unsigned->signed enums (this one is technically still wrong)
2019-01-06 18:17:35 -08:00
Miodrag Milanović
a45221458d Android compile fix (#4395)
* Fix compile for Android, set API to 24

* Update Android Studio project to API 24

* Fixed project file to latest Android Studio

* fix build with gradle alone
2018-12-11 19:38:27 -05:00
Olivier Galibert
a0f1fb2698 fixes, gee (nw) 2018-12-06 18:40:48 +01:00
mooglyguy
0bd02131b6 3rdparty: Updated bgfx, bimg, and bx to latest upstream. [Ryan Holtz] 2018-12-05 19:45:08 +01:00
arbee
bb2eaa50ff GENie: support for macOS Mojave (10.14) [R. Belmont] 2018-09-28 00:30:31 -04:00
smf-
444861f487 fixed typo (nw) 2018-08-29 15:33:55 +01:00
smf-
c10977e7d5 default to 64 bit microsoft compiler (nw) 2018-08-29 10:21:35 +01:00
smf-
cff76a60a0 workround so you can still compile if you install the 15.8 update, as long as you install the 14.14.26428 compiler as well (nw) 2018-08-26 20:41:11 +01:00
Patrick Mackinlay
7957feaefc taptun: add support for Windows (#3790)
* taptun: add support for Windows

Looking for feedback only at this point, because it's the first time I've attempted any OSD stuff - be gentle.

This extends the existing taptun OSD module to support Windows through the TAP-Windows6 driver (https://github.com/OpenVPN/tap-windows6).
* TAP-Windows6 is GPLv2, however only the header file is required in MAME, and the driver itself is entirely optional.
* I've tried to minimise the size of the diff, rather than completely separate the Windows/non-Windows implementations - not sure which is preferable in this case.
* The license file has Mac(?) line-endings - unsure if they should be normalized or used verbatim.
* Uncertain about the non-Windows case (or the Windows SDL case) - existing code uses __linux__, but I'm not clear on how that works with OSX, for example?
* I can't claim this actually "works" yet, because I don't know enough to configure the tap end of it properly to get networking doing something useful, but I will get there and correct anything necessary in a subsequent real PR.

* minor fixes/improvements (nw)

* Use Unicode Windows APIs, and UTF-8 for MAME
* Deal with unterminated registry string values
* Cancel any pending I/O in destructor
2018-07-30 18:52:11 +10:00
Vas Crabb
a1ecd03c9d Fix softfloat3 build with MSVC 32-bit. Apparenly it's all-or-nothing with built-in leading zero count. (nw) 2018-05-27 22:08:35 +10:00
Patrick Mackinlay
4f9ef3e373 softfloat3: fix msvc build (nw) (#3566)
* softfloat3: fix msvc build (nw)

Is this how we do these things? I assume we don't touch the library code itself, and have to "fix" any problems via this header instead?

* softfloat3: do we like this better? (nw)

* softfloat3: it gets the hose again (nw)

* softfloat3: sonofa (nw)
2018-05-14 09:18:24 -04:00
arbee
62be291842 Initial import of SoftFloat release 3E [R. Belmont]
This is a pre-usage import so everyone can get things in line for various compilers.  GCC/Clang should be OK on most targets as-is;
MSVC may need to edit 3rdparty/softfloat3/build/MAME/build.h to conform.  Please report failure/success with various compilers.
2018-05-13 19:52:33 -04:00
MetalliC
9698154172 temp workaround for gcc 7.3 (nw) 2018-01-27 17:40:38 +02:00
Miodrag Milanovic
3917627494 Updated GENie, BGFX, BX, added BIMG since it is separated now, updated all shader binaries and MAME part of code to support new interfaces [Miodrag Milanovic] 2017-12-01 13:22:27 +01:00
Justin Kerk
9e8160cf7e Fix compile warning under Emscripten (#2552) (submitted to upstream asio) (nw) 2017-10-17 01:55:57 +00:00
smf-
20d1c78b61 Changed the clang workround for ../../../../../3rdparty/compat/winsdk-override\wrl/internal.h:23:13: error: function declared 'noreturn' should not return [-Werror,-Winvalid-noreturn] to work with clang 5.0 (nw) 2017-09-24 17:49:36 +01:00
Miso Kim
41e044ae01 Modification for Android build (NDK r14b, build-tools 21.1.2 and gradle 2.2.1) (#2585) 2017-08-23 13:09:38 +10:00
cracyc
81079946a4 luaengine: debugger_manager support [Carl] 2017-07-23 20:41:08 -05:00
Vas Crabb
df507ea2a5 work around older libc (nw) 2017-05-17 14:09:56 +10:00
smf-
f3d8984612 fix for MSVC build (nw) 2017-05-16 11:04:48 +01:00
cracyc
4ebc18aeec linenoise: replace linenoise-ng with a different port that is simpler and uses a different UTF8 parser [Carl]
plugins/console: better completions [Carl]
2017-05-13 16:57:47 -05:00
Miodrag Milanovic
13b0a2158e Fix linking order (nw) 2017-04-01 19:07:50 +02:00
Miodrag Milanovic
3fff3faf6c proper fix (nw) 2017-03-30 08:36:15 +02:00
Vas Crabb
ced3087742 assume LLVM libc++ if __llvm__ is defined but __GLIBC__ is undefined 2017-03-30 16:29:33 +11:00
dankan1890
b7adbf5438 VS fix. (nw) 2017-03-29 22:25:54 +02:00
Miodrag Milanovic
0921d7aaae 2nd try (nw) 2017-03-29 18:14:35 +02:00
Branimir Karadžić
88ca8d5b48 Update GENie (nw) 2017-03-29 17:31:27 +02:00
Branimir Karadžić
49f7c99c77 Update BGFX and BX (nw) 2017-03-29 17:09:40 +02:00
Vas Crabb
feb7c5dc79 Update GLM to tip of stable branch (0.9.8.5 pre-release) - fixes build with MacPorts clang
(nw) In future, could people please use stable branches when updating
3rd-party libraries, not unstable development snapshots?  It will help
with stability.
2017-02-25 14:11:44 +11:00
Olivier Galibert
773e541626 portaudio: minimal const-correctness 2017-02-08 13:34:09 +01:00
Miodrag Milanovic
e6838eb5c4 LUA to 5.3.4 (nw) 2017-02-05 16:17:00 +01:00
Miodrag Milanovic
8d1eb8e410 Update GLM to latest (nw) 2017-02-05 16:06:08 +01:00
Miodrag Milanovic
ac096aa2a0 Update sol2 (nw) 2017-02-05 16:06:06 +01:00
Miodrag Milanovic
02c97cd0f7 Updated Catch to latest (nw) 2017-02-05 15:46:07 +01:00
Branimir Karadžić
1607745432 Update BGFX and BX (nw) 2017-02-05 13:56:35 +01:00
Branimir Karadžić
193e8c8a89 Update GENie 2017-02-05 13:54:19 +01:00
hap
78a7342750 updated libjpeg to 9c (nw) 2017-01-25 17:49:53 +01:00
hap
93c92be815 updated to zlib 1.2.11 (nw) 2017-01-25 17:15:54 +01:00
smf-
dffac52f34 Fixed building with clang on windows, built with clang 3.91, gcc 6.3.0 & msvc 2015 (nw) 2017-01-20 13:17:54 +00:00
R. Belmont
7b32ed03e8 Merge pull request #1989 from intealls/pa-cc
Fix MinGW cross-compilation, for real this time
2017-01-16 15:50:16 -05:00
intealls
6a15ddca71 Fix MinGW cross-compilation, for real this time 2017-01-16 19:06:46 +01:00
yz70s
487cd9395c bx: fix some mistakes that have already been corrected in upstream (nw)
Same as e0936a0278
2017-01-16 18:47:49 +01:00
intealls
28aa7060f8 Fix PortAudio MinGW cross-compilation 2017-01-15 19:59:31 +01:00
R. Belmont
32c13ad929 Merge pull request #1959 from intealls/pa_oct16
PortAudio library update and backend
2017-01-12 20:30:12 -05:00
Brad Hughes
a8bdf646f5 UWP asio fix. Already sent pull request upstream (nw) 2017-01-11 15:19:12 -05:00
inte alls
37e8b161d8 Patch PortAudio to fix MinGW compilation 2017-01-11 20:22:33 +01:00
inte alls
6b0069a9b6 Update PortAudio to version 20161030 2017-01-11 20:21:24 +01:00
Vas Crabb
189052cd58 Hopefully fix build for everyone - someone please work out a way to make the bgfx examples build on platforms with/without the POSIX 2008 strnlen function (nw) 2017-01-07 02:12:45 +11:00
Vas Crabb
c9647f6e28 debugger: use 0o for octal prefix, and add support for binary with 0b a la C++, also support uppercase radix speifier 2017-01-06 15:37:43 +11:00
Branimir Karadžić
fadb547f63 Updated BGFX (nw) 2017-01-02 14:05:50 +01:00
Branimir Karadžić
04faaaf7ff Update BX (nw) 2017-01-02 14:04:09 +01:00
Branimir Karadžić
a642e29ecd Update GENie (nw) 2017-01-02 14:03:29 +01:00
Miodrag Milanovic
e984b7b5b7 Updated to zlib 1.2.9 (nw) 2017-01-02 14:01:23 +01:00
Nathan Woods
d863b6e90b Added more conditionals around #define's of UTF8PROC_DLLEXPORT 2016-12-31 20:27:29 -05:00
Nathan Woods
5be1b8e6e0 Introduced utf8proc and created wrapper code to expose a prettier API 2016-12-31 11:17:07 -05:00
R. Belmont
24c43b94a0 Revert "update git ignore list. (nw)" 2016-12-02 16:41:20 -05:00
dankan1890
ea60e6f73e Why ignore scripts.c ? 2016-11-29 01:44:02 +01:00
Miodrag Milanovic
e5678fd689 you can't change just generated script (nw) 2016-11-19 09:48:03 +01:00
Vas Crabb
c5722bca13 Fix make VERBOSE=1 not showing archive commands for static libraries [Happy]
someone send this upstream for me (nw)
2016-11-19 08:06:04 +11:00
Vas Crabb
8179a84458 Introduce u8/u16/u32/u64/s8/s16/s32/s64
* New abbreviated types are in osd and util namespaces, and also in global namespace for things that #include "emu.h"
* Get rid of import of cstdint types to global namespace (C99 does this anyway)
* Remove the cstdint types from everything in emu
* Get rid of U64/S64 macros
* Fix a bug in dps16 caused by incorrect use of macro
* Fix debugcon not checking for "do " prefix case-insensitively
* Fix a lot of messed up tabulation
* More constexpr
* Fix up many __names
2016-11-19 05:38:48 +11:00
Vas Crabb
bb99eba11d Update LZMA to 16.04 (security and portability fixes) 2016-11-18 20:37:20 +11:00
Miodrag Milanovic
da1c0c867b generate proper SLN header (nw) 2016-11-16 21:21:12 +01:00
Miodrag Milanovic
ffc04d2bae Sync with GENie and addition of VS2017 (nw) 2016-11-16 21:00:28 +01:00
Miodrag Milanovic
47a05778bf Updated SDL2 to 2.0.5 (nw) 2016-11-16 16:28:01 +01:00
cracyc
a68d423992 luaengine: use initializers (nw) 2016-11-15 22:21:07 -06:00
Miodrag Milanovic
be98f6b83a Added Catch testing library (nw) 2016-11-12 10:20:42 +01:00
Miodrag Milanovic
29212523d2 remove googletest (nw) 2016-11-12 10:16:38 +01:00
Miodrag Milanovic
a18497e7a2 Some more work on UWP (nw) 2016-11-10 13:13:51 +01:00
Miodrag Milanovic
0d1f5b6be4 Make 3rdparty compile for UWP and start adding new OSD for UWP based on previous Brad work (nw) 2016-11-09 14:53:19 +01:00
cracyc
673e753621 update sol2 (nw) 2016-11-07 13:31:30 -06:00
Miodrag Milanovic
cf4a8b9e03 resurected sqlite3 and lsqlite3 (nw) 2016-11-07 16:12:06 +01:00
Miodrag Milanovic
d91005ebc3 Fixed clear typo in ASIO, sent upstream (nw) 2016-11-07 10:36:40 +01:00
Miodrag Milanovic
f3723e3a5d do not take Ctrl-Z since that have it's behavior defined for Linux (nw) 2016-11-07 09:17:17 +01:00
cracyc
65c3796e33 plugins/console: further improve completions by removing break chars from linenoise that hide the full type (nw) 2016-11-06 21:36:26 -06:00
cracyc
846dfa8ffd Merge pull request #1642 from cracyc/luaconsole
Make console a Lua plugin
2016-11-06 18:57:19 -06:00
cracyc
196c841dcb update sol2 (nw) 2016-11-06 18:57:12 -06:00
cracyc
a6aaa59d19 lua-linenoise: add preload (nw) 2016-11-06 13:41:46 -06:00
cracyc
6fd9586a89 make safe usertypes safer (nw) 2016-11-06 13:31:37 -06:00
Miodrag Milanovic
c2a75cb179 Updated sol2, made lua console not crash for nil data (nw) 2016-11-06 10:05:36 +01:00
Miodrag Milanovic
421b5e2638 Added lua-linenoise by Carls request (nw) 2016-11-04 15:25:21 +01:00
Miodrag Milanovic
093609dc0c Update pugixml library, no override patches anymore (nw) 2016-11-03 20:13:19 +01:00
Miodrag Milanovic
008ecbfd5c small cleanup (nw) 2016-11-03 11:23:48 +01:00
Miodrag Milanovic
330e3cb28e Finally sync with GENie, no more local changes (nw) 2016-11-03 10:04:29 +01:00
Miodrag Milanovic
9b819d1302 Patches to keep same behavior as we had before (nw) 2016-11-02 08:41:58 +01:00
Miodrag Milanovic
6c390127c2 Update to latest GENie (nw) 2016-11-02 08:36:07 +01:00
Branimir Karadžić
a3b4058bf7 Updated BGFX and BX and recompiled shaders (nw) 2016-10-29 09:11:50 +02:00
Miodrag Milanovic
ddb290d5f6 NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8
also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
2016-10-22 13:13:17 +02:00
AJR
327304ddb8 Fix Clang build (nw) 2016-10-09 10:42:04 -04:00
Miodrag Milanovic
3c4c4e08ed Initial work on console interface (nw)
Use Ctrl-Z to close console on any OS. To start use -console parameter
2016-10-09 14:38:41 +02:00
dankan1890
cf92ae4a8a linenoise: fixed build with VS ('and' isn't supported) 2016-10-08 16:39:45 +02:00
Miodrag Milanovic
31c8b10479 Fix compile (nw) 2016-10-07 14:56:47 +02:00
Miodrag Milanovic
70ba5627a7 Update 3rdparty document (nw) 2016-10-07 14:46:27 +02:00
Miodrag Milanovic
e7c7a66a6f Added linenoise-ng library for CLI (nw) 2016-10-07 14:43:50 +02:00
Miodrag Milanovic
377472a6dd Added sol2 header only library as future replacement for luabridge (nw) 2016-10-07 14:43:09 +02:00
Miodrag Milanovic
1335933ce0 added license info (nw) 2016-10-07 14:33:59 +02:00
Miodrag Milanovic
85f4741fcf Remove libuv library (nw) 2016-10-07 14:14:08 +02:00
Miodrag Milanovic
ff01b71671 Added ASIO networking library (nw) 2016-10-07 14:13:19 +02:00
smf-
31eed6d49f hack for clang compiling on windows, as it can't tell that calling ::RaiseException will prevent the function from returning. (nw) 2016-09-17 00:10:07 +01:00
Miodrag Milanovic
22df94bf67 Fix benchmarks build and google test build (nw) 2016-09-03 14:54:15 +02:00
Miodrag Milanovic
854ac627c2 Fix PugiXML interface (nw) 2016-09-03 14:45:20 +02:00
Miodrag Milanovic
c5f0d660c7 Update Google Benchmark (nw) 2016-09-03 14:42:01 +02:00
Miodrag Milanovic
fe95be105b Update PugiXML (nw) 2016-09-03 14:40:41 +02:00
Miodrag Milanovic
73793c599c Update GLM to latest (nw) 2016-09-03 14:39:25 +02:00
Miodrag Milanovic
2869b107c7 Update GoogleTest (nw) 2016-09-03 14:37:54 +02:00
Miodrag Milanovic
ff9c4b5acb Update RapidJson to latest (nw) 2016-09-03 14:37:09 +02:00
Miodrag Milanovic
a6409d692e Update LUA to 5.3.3 (nw) 2016-09-03 14:34:39 +02:00
Miodrag Milanovic
d193abb0ad Update BGFX and BX packages and update MAME code to support new API (nw)
Generated missing shaders (nw)
2016-09-03 13:30:42 +02:00
Miodrag Milanovic
cf9502a61c Synced BGFX so it can compile with clang 4.0 (nw) 2016-08-09 09:04:30 +02:00
Miodrag Milanovic
a8ebc11437 update rapidjson (nw) 2016-08-06 14:23:30 +02:00
Miodrag Milanovic
3917850b61 Update BX and BGFX (nw) 2016-08-06 14:20:16 +02:00
Jordi Mallach
c64f05279c Compile fixes for GNU/Hurd systems.
Define PATH_MAX if it's not defined and the compiler defines __GNU__.
2016-07-26 11:51:42 +02:00
Jordi Mallach
e1464ffd64 Support GNU/Hurd systems. 2016-07-26 01:55:39 +02:00
Jordi Mallach
70f0bda9c7 Detect GNU/Hurd systems, but treat them as Linux. 2016-07-26 01:34:49 +02:00
Steven Chamberlain
ef8816ae18 bx: sync with upstream 2016-07-14 18:31:16 +01:00
Steven Chamberlain
6256946dee bx: further refactor #ifdefs
Trying to evaluate __GLIBC__ will result in an error if is not defined,
if the preprocessor does not short-cut the evaluation.

Split the macros onto separate lines and define the result in a new
BX_USE_GLIBC_PTHREAD_SETNAME_NP macro to avoid duplication.
2016-07-13 14:48:02 +01:00
Steven Chamberlain
423097c40f bx: refactor #ifdefs
Fix potential compilation error by ensuring __GLIBC__ is only evaluated
when actually defined.

When __GLIBC__ is defined, we do not need any additional headers on BSD
platforms (hence why using #elif).
2016-07-13 14:15:39 +01:00
Steven Chamberlain
f2ad7351ef bx: support glibc-based BSD platforms
On GNU/kFreeBSD, pthread_setname_np can be found in glibc's pthread.h
(same as on GNU/Linux).  pthread_np.h does not exist there.
2016-07-13 13:31:03 +01:00
Steven Chamberlain
8fb0ab46bb bx: use system signal.h on glibc systems
On GNU/kFreeBSD, sys/signal.h is only a wrapper around glibc signal.h
anyway, leading to a #include loop in this case.
2016-07-13 13:14:15 +01:00
Steven Chamberlain
c904fc121c bx: use real alloca.h on glibc systems
On GNU/kFreeBSD, the definition for alloca() can be found in the
system alloca.h
2016-07-13 12:25:55 +01:00
AJR
09ff284fa2 Hopefully fix imgui compile on FreeBSD and DragonFly (nw) 2016-07-05 16:05:56 -04:00
Brad Hughes
f37865b329 Add a couple msys2 updated mingw headers to winsdk-override to support linux cross-compile with stock mingw-w64 (nw) 2016-07-02 16:03:01 -04:00
Miodrag Milanovic
57e475ada0 Fixes to send upstream (nw) 2016-06-25 20:03:04 +02:00