Commit Graph

359 Commits

Author SHA1 Message Date
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
Miodrag Milanovic
8042037fd9 Added PugiXML and used it for hashfile (nw) 2016-06-25 19:54:44 +02:00
Miodrag Milanovic
deac5db4db put back some genie code (nw) 2016-06-16 14:45:28 +02:00
Olivier Galibert
7099d6eaa2 gcc 6.1.1 warning fixes (nw) 2016-06-16 14:21:44 +02:00
Miodrag Milanovic
4a7cd83c6e Sync GENie, one thing changed, and I have revoked one patch that is going to be removed or changed anyway (nw) 2016-06-10 18:54:55 +02:00
Miodrag Milanovic
3547905acc Synced GENie with latest and applied few changes sent as PR (nw) 2016-06-10 10:56:31 +02:00
Miodrag Milanovic
a3af73bafc BGFX and BX update (nw) 2016-06-08 20:42:23 +02:00
Miodrag Milanovic
e8cb3e06d0 Updated GENie to latest (nw) 2016-06-08 20:42:23 +02:00
Miodrag Milanovic
d04f921034 removed not used libraries, and commented portaudio that will be used but no need for now (nw) 2016-05-31 20:03:39 +02:00
Miodrag Milanovic
293103ce8c proper patch already applied upstream (nw) 2016-05-28 13:22:03 +02:00
Miodrag Milanovic
913861105b Update BGFX and BX (nw) 2016-05-27 20:57:02 +02:00
Miodrag Milanovic
71379c5648 Sync with BGFX (nw) 2016-05-16 14:17:04 +02:00
Miodrag Milanovic
2fe2089179 Update BGFX, BX, Benchmark and RapidJSON (nw) 2016-05-12 08:42:02 +02:00
Vas Crabb
7a423d0160 Update to LZMA 16.0 [Vas Crabb] 2016-05-12 00:06:54 +10:00
Miodrag Milanovic
b27adb7b7c Sync with latest GLM, fixes issue with MINGW (nw) 2016-05-05 20:48:39 +02:00
Miodrag Milanovic
07b2912508 Added GLM library (nw) 2016-05-05 15:07:31 +02:00
Branimir Karadžić
f97b68d3ed Update GENie, BGFX and BX (nw) 2016-05-03 12:20:29 +02:00
Miodrag Milanovic
f89adf8b07 update flags for tools (nw) 2016-04-29 08:37:29 +02:00
Miodrag Milanovic
6cf1f248d9 Revert "I don't know what 'iqa' is, but whatever it is, it's preventing us from building shaders, so bye-bye"
This reverts commit 5adfc5b2a5.
2016-04-29 08:11:28 +02:00
therealmogminer@gmail.com
5adfc5b2a5 I don't know what 'iqa' is, but whatever it is, it's preventing us from building shaders, so bye-bye 2016-04-29 06:26:33 +02:00
Miodrag Milanovic
0edd2cd1be Updated genie left our local changes (nw) 2016-04-27 18:09:08 +02:00
Miodrag Milanovic
7b9f4e41b9 Updated rapidjson (nw) 2016-04-27 18:00:54 +02:00
Branimir Karadžić
94c7dd996b Update BGFX and BX (nw) 2016-04-27 17:57:45 +02:00
Miodrag Milanovic
1a83c84eae Removed problematic licensed files (nw) 2016-04-15 16:04:15 +02:00
Miodrag Milanovic
79bfc4b153 Make support for absolute paths for debug dir (nw) 2016-04-12 16:14:02 +02:00
Vas Crabb
8795f92f35 Update expat to 2.1.1 for security and bug fixes 2016-04-12 20:53:04 +10:00
Branimir Karadžić
cceb3a32b7 Update to latest BGFX (nw) 2016-04-10 09:16:09 +02:00
Vas Crabb
e925c494fe Update LZMA SDK to 15.14 2016-04-09 21:52:08 +10:00
Miodrag Milanovic
c565ce729c update libuv to 1.9.0 (nw) 2016-04-09 09:51:13 +02:00
Miodrag Milanovic
0386367805 Update BGFX (nw) 2016-04-07 11:10:57 +02:00
Olivier Galibert
cba86ac172 Silence borderline warning (nw) 2016-04-06 09:57:41 +02:00
Brad Hughes
37935d5eb6 GENie cl.exe multiprocessor build fix. 2016-04-05 13:39:50 -04:00
Branimir Karadžić
e63f379a0e Update BGFX to latest (nw) 2016-04-04 13:52:25 +02:00
Miodrag Milanovic
9496a5b24d Added license info for nanosvg (nw) 2016-04-04 13:19:32 +02:00
Olivier Galibert
cdc04a9b7c screen: POC||GTFO of svg rendering from inside the rom. [O. Galibert]
It's damn slow, ~50ms/frame on cdkong.  Caching and/or hw accel will
solve that easily.  It doesn't look very good, nanosvg need better
anti-aliasing.  It also doesn't do texturing very well and images not
at all, so some of our current svgs won't look good.  But all that's
fixable.
2016-04-04 11:33:34 +02:00
Miodrag Milanovic
1ec2f972d9 update google test (nw) 2016-03-31 20:42:02 +02:00
Miodrag Milanovic
bd2e14349b Update rapidjson (nw) 2016-03-31 20:40:36 +02:00
Branimir Karadžić
4172b54d84 Update BGFX and BX (nw) 2016-03-31 20:39:30 +02:00
Miodrag Milanovic
5c34b1ba40 Update GENie (nw) 2016-03-31 20:37:28 +02:00
Jeffrey Clark
18d7e34620 cleanup build includes (nw) 2016-03-28 22:46:00 -05:00
Jeffrey Clark
9d9c8fad6a Extend system library support (nw)
Extend USE_SYSTEM_LIB_* to support providing the library name and include directory.
To link against system specific lib names and header path: (ref #711)

USE_SYSTEM_LIB_LUA=lua5.3:/usr/include/lua5.3
2016-03-28 22:26:52 -05:00
Miodrag Milanovic
842578fd70 Fixed issue of HAVE_STDLIB_H already defined (nw) 2016-03-28 08:29:28 +02:00
Miodrag Milanovic
3bd130ebce Change BGFX_CONFIG_MAX_FRAME_BUFFERS on proper way (nw) 2016-03-24 09:40:29 +01:00
therealmogminer@gmail.com
ba0a1d8d52 Merge bgfx_shader into master, nw 2016-03-23 17:55:55 +01:00
therealmogminer@gmail.com
295aafc5e5 Per-screen sliders and some bugfixing, nw 2016-03-23 17:12:07 +01:00
Miodrag Milanovic
5fa870ccee added missing file (nw) 2016-03-23 09:19:32 +01:00
Branimir Karadžić
cb04dd4bae Updated GENie to latest (nw) 2016-03-21 12:16:30 +01:00
Miodrag Milanovic
2a4a703c79 clang compile fixes (nw) 2016-03-21 11:31:53 +01:00
therealmogminer@gmail.com
a99df78801 Merge with master 2016-03-21 08:27:06 +01:00
Branimir Karadžić
fae7a2c486 Update to latest BGFX and BX(nw) 2016-03-20 16:50:14 +01:00
Brad Hughes
9328fa9028 Fix VS Build issue for WRL ComPtr 2016-03-19 21:43:27 -04:00
therealmogminer@gmail.com
cd8f796df6 Add bgfx command line options, major shakeup of organization, nw 2016-03-13 15:51:19 +01:00
Miodrag Milanovic
858c1002d1 compile with latest bgfx,bx (nw) 2016-03-08 12:58:10 +01:00
Branimir Karadžić
6412c5e076 Update BGFX and BX (nw) 2016-03-08 12:58:10 +01:00
Miodrag Milanovic
1f352c6af8 update rapidjson library (nw) 2016-03-08 12:58:10 +01:00
Miodrag Milanovic
dfad813239 update googletests (nw) 2016-03-08 12:58:10 +01:00
Miodrag Milanovic
62709182b2 Update benchmark library (nw) 2016-03-08 12:58:10 +01:00
Miodrag Milanović
e622da1827 Update README.md 2016-03-05 09:25:49 +01:00
Miodrag Milanović
eee1ee9c3b Update README.md 2016-03-05 09:22:03 +01:00
Miodrag Milanović
b63fe1b445 small updates and explanations 2016-03-05 09:21:36 +01:00
Miodrag Milanovic
a5606b2519 update 3rdparty license file (nw) 2016-03-05 09:10:40 +01:00
Miodrag Milanovic
298ce35d64 Added missing xaudio2 header from WINE that is free to use (nw) 2016-03-05 08:59:39 +01:00
Miodrag Milanovic
24276fc7db removed Apache 2 licensed library since it is not possible to mix with GPL2 (nw) 2016-03-04 20:18:47 +01:00
Miodrag Milanović
c8cdf49ff1 removed duplicated line (nw) 2016-03-04 19:45:47 +01:00
Miodrag Milanović
223f0cc3fc Updated to look better 2016-03-04 19:44:26 +01:00
Miodrag Milanovic
87fe5b4391 added licenses for 3rdparty (nw) 2016-03-04 19:42:23 +01:00
Miodrag Milanovic
adfae5ffe5 make possible to select if bundled SDL2 is used, made mingw and vs compile so far (nw) 2016-02-27 18:48:03 +01:00
Miodrag Milanovic
cf6dc7d370 Placed SDL2 source since we need it on some platforms (nw) 2016-02-27 16:53:49 +01:00
Miodrag Milanovic
9d4c8c5de5 Made xcode params more generic (nw) 2016-02-26 20:30:37 +01:00
Miodrag Milanovic
3a811376d9 Made pnacl to compile (nw) 2016-02-26 14:50:09 +01:00
Miodrag Milanovic
4727b0d97f OS/2 can not support SDL2 which is needed for MAME to run (nw) 2016-02-26 13:20:43 +01:00
Miodrag Milanovic
add7a65f3f Make Android targets compile but not link, using clang compiler in NDK, since GCC will be removed in next one (nw) 2016-02-25 20:44:35 +01:00
Miodrag Milanovic
6fd77b36c2 Fix sent upstream (nw) 2016-02-25 14:58:39 +01:00
Miodrag Milanovic
8dff2200d0 And I hate you too XCode (nw) 2016-02-22 21:11:57 +01:00
Miodrag Milanovic
900fac767d Added SDL 2.0.4 for Visual Studio, so it can be compiled out of box (nw) 2016-02-22 14:20:50 +01:00
Miodrag Milanovic
412814f80d changes towards compiling with XCode (nw) 2016-02-21 19:48:16 +01:00
Miodrag Milanovic
70023b060a Added rapidjson (nw) 2016-02-17 14:11:23 +01:00
Miodrag Milanovic
30ef0dc427 Update to latest BGFX including my SteamLink support (nw) 2016-02-16 07:52:59 +01:00
Miodrag Milanovic
2db4908814 Added lua-zlib, lfs and luv support for LUA, exposed all using luaengine (nw) 2016-02-14 08:16:35 +01:00
Branimir Karadžić
a8c8ec182f Update BGFX with latest code (nw) 2016-02-09 14:27:17 +01:00
Vas Crabb
503ae769d1 malloc.h is nonstandard, malloc/realloc/free are in stdlib.h 2016-02-08 13:41:39 +11:00
Miodrag Milanovic
178167b8fe Initial support for BGFX [Dario Manesku, Branimir Karadic, Miodrag Milanovic]
Need optimization and cleanup, note that all shaders can be built only on windows
due to usage of DirectX DLLs
2016-02-07 15:49:55 +01:00
Branimir Karadžić
5bc83a2506 Update BGFX (nw) 2016-02-07 09:50:16 +01:00
Miodrag Milanovic
c152866e02 added http-parser (nw) 2016-01-31 15:34:40 +01:00
Miodrag Milanovic
12f9fcebaa added libuv library (nw) 2016-01-31 15:25:07 +01:00
Miodrag Milanovic
042050ef67 Added Google Benchmark library (nw)
Included sample benchmark for eminline for native and noasm
Made GoogleTest compile only if tests are compiled
2016-01-29 11:47:40 +01:00
Brad Hughes
2f36228306 XAudio2 support 2016-01-20 23:16:18 -05:00
Miodrag Milanovic
2382be9ea8 removed jsoncpp (nw) 2016-01-09 21:11:04 +01:00
Miodrag Milanovic
71bb70d968 Fixed solutionVersion for VS2015 and ToolsVersion for all VS201x
This fixes IncrediBuild under VS2015
2016-01-05 20:35:28 +01:00
Branimir Karadzic
fc07cc3621 Added latest BX and BGFX (nw) 2016-01-04 19:00:51 +01:00
Miodrag Milanovic
842519672e Synced with latest GENie, our specific code is not overwritten (nw) 2016-01-03 16:55:52 +01:00
Miodrag Milanovic
f1a0a3cb88 Added pre-compiled headers support to build system (nw) 2016-01-01 08:23:58 +01:00
AJR
8567ac0d64 Allow SDLMAME to build on OS X from paths containing spaces 2015-12-19 11:09:57 -05:00
Miodrag Milanovic
74cfff6fc6 Update to LUA 5.2.3, so source changes (nw) 2015-12-12 14:49:48 +01:00
Miodrag Milanovic
379581fb36 macro removal INLINE -> static inline (nw) 2015-12-12 08:58:57 +01:00
Miodrag Milanovic
a70def4121 small patch to luabridge (nw) 2015-12-06 15:12:54 +01:00
arbee
fee2af52af Updated OS/2 support [KO Myung-Hun] 2015-11-23 21:24:58 -05:00
Miodrag Milanovic
225a99c0f6 Add definitions to cmake target (nw) 2015-11-15 15:14:55 +01:00
Thomas Klausner
79fb7f4778 bx: add NetBSD support.
I've filed a more complete patch for this upstream:

https://github.com/bkaradzic/bx/pull/61

but this has been ignored since June. This patch is the minimal
set to fix the build on NetBSD.
2015-11-13 14:30:25 +01:00
Thomas Klausner
d0c77ed333 Remove references to non-existing files.
The file was removed from the other gmake.*/genie.make files.
The build/gmake.* files do not exist upstream, so this
is a purely local problem.

I have however filed a PR to get bsd support added upstream:
https://github.com/bkaradzic/genie/pull/110
2015-11-13 14:30:25 +01:00
Miodrag Milanovic
cf330fa6de Relax dependencies for softfloat (nw) 2015-11-08 17:38:37 +01:00
Miodrag Milanovic
49fbdf3497 added cmake support to genie (nw) 2015-11-08 14:50:45 +01:00
Miodrag Milanovic
033227778e Remove not longer needed ForceCpp flag (nw) 2015-11-08 13:44:34 +01:00
Miodrag Milanovic
b6707c3bb5 Removed mongoose due to restricted license and webserver wip till code is restructured (nw) 2015-11-04 18:55:36 +01:00
Vas Crabb
f63bd01894 Enable metal on El Capitan (nw) 2015-11-03 19:05:57 +11:00
Miodrag Milanovic
1aa5af9fb1 fix for compiling bgfx on older osx (nw) 2015-11-01 21:05:47 +01:00
Branimir Karadzic
5664971d3b update to latest BGFX and BX 2015-11-01 20:30:24 +01:00
Vas Crabb
6382e5d905 #import is an Objective-C thing, C should use #include 2015-11-01 17:03:49 +11:00
Vas Crabb
e66d5e0132 bgfx support for 10.6
upstream pull request: https://github.com/bkaradzic/bgfx/pull/560
2015-10-31 19:58:06 +11:00
Vas Crabb
79ae956643 Fix bx/bgfx on older OSX
Submitted upstream for consideration: https://github.com/bkaradzic/bx/pull/77
2015-10-31 19:34:52 +11:00
Miodrag Milanovic
4dccbffc01 resolve issue with compile on later mingw (nw) 2015-10-28 15:43:41 +01:00
Miodrag Milanovic
57e64c5603 Fix genie issue (nw) 2015-10-16 07:43:07 +02:00
Miodrag Milanovic
d9ad061e2a Did this change until proper fix comes (nw) 2015-10-15 12:47:00 +02:00
Miodrag Milanovic
f45715a420 Update to latest Genie (nw)
KO Myung-Hun: please send your patches upstream first always.
2015-10-15 11:21:28 +02:00
Miodrag Milanovic
58bf8e3345 Disabled DX12 on mingw since it is not working (nw) 2015-10-15 10:52:18 +02:00
Miodrag Milanovic
8981faa61f update bgfx to latest (nw) 2015-10-15 10:42:29 +02:00
Miodrag Milanovic
a74a7a37ef updated bx (nw) 2015-10-15 10:41:35 +02:00
Miodrag Milanovic
b900f66730 update googletest/mock (nw) 2015-10-15 10:41:16 +02:00
Miodrag Milanovic
9b82f7b2e7 Revert "lzma pedantic fixes (nw)"
No updating of 3rdparty allowed

This reverts commit 94aa0602d5.
2015-10-10 08:09:12 +02:00
Miodrag Milanovic
519d0beae4 Revert "SQLITE pedantic fixes (nw)"
No updating of 3rdpaty allowed

This reverts commit 854b341e9f.
2015-10-10 08:08:24 +02:00
Cowering
94aa0602d5 lzma pedantic fixes (nw) 2015-10-09 14:57:36 -05:00
Cowering
854b341e9f SQLITE pedantic fixes (nw) 2015-10-09 14:53:21 -05:00
Thomas Klausner
b3ff7bd936 Re-add NetBSD support to bx. 2015-10-05 23:31:59 +03:00
Cowering
31a0bb57af This gets bgfx to compile with mingw32 headers found in GCC 4.9.3 and 5.2.1 releases. If it works for everyone, please send upstream (nw) 2015-10-04 09:57:27 -05:00
Thomas Klausner
4206253e65 Add NetBSD support to bx.
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
2015-10-02 09:57:01 +02:00
Thomas Klausner
10ea7aa745 Remove unneeded backup files. 2015-10-02 09:56:38 +02:00
jbu
fee651e0dd bx: use pthread_setname_np(3) only with __GLIBC__ 2015-10-01 13:37:33 +02:00
balr0g
a4ce5ecbd0 Backport libflac endian patch from a5d1d4f0c5 (nw) 2015-09-18 12:12:03 -04:00
Miodrag Milanovic
e3a6e9b0b8 removed deps from 3rdparty to osd (nw) 2015-09-13 12:45:56 +02:00
Miodrag Milanovic
7acef62424 DX12 not working under mingw so disabling it for now (nw) 2015-09-12 11:05:29 +02:00
Miodrag Milanovic
dc4e3db9a5 removed not needed DirectX files (nw) 2015-09-12 11:04:54 +02:00
Miodrag Milanovic
7ca8f88a5c Added latest BGFX (nw) 2015-09-12 10:23:53 +02:00
Miodrag Milanovic
6d06509293 Added latest BX (nw) 2015-09-12 10:22:55 +02:00
Peter Ferrie
6b3ccca1cf Revert "apple2.c: select displayed page for floating bus (nw)"
This reverts commit c4b803ea57.
2015-09-07 16:05:54 -07:00
Peter Ferrie
c4b803ea57 apple2.c: select displayed page for floating bus (nw) 2015-09-07 16:05:07 -07:00
Miodrag Milanovic
70bddf12f5 Added GoogleTest and convert tests to us it (nw) 2015-09-02 13:50:20 +02:00
Vas Crabb
f500420346 OS/2 patch for 0.164 [KO Myung-Hun] 2015-08-25 13:02:01 +10:00
Thomas Klausner
574619d2b8 Add missing header for va_list.
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
2015-07-29 14:05:24 +02:00
Lord-Nightmare
4030382235 Compile fix for older mingw headers (which are in build-tools), once we update to newer headers this won't be necessary anymore. (n/w) 2015-07-23 14:23:15 -04:00
Cowering
287a9ddee0 no longer needed as mingw includes now have this 2015-07-23 10:37:11 -05:00
R. Belmont
b83cc37ae2 Merge pull request #257 from 0-wiz-0/master
Re-add NetBSD support.
2015-07-22 15:46:15 -04:00
Cowering
0e5af95be2 feed the pedantic monster (NW) 2015-07-21 10:01:44 -05:00
Thomas Klausner
456590ce3e Switch from ftime() to gettimeofday().
Even the Linux man page recommends avoiding ftime().
gettimeofday is in POSIX.1-2001 and more portable.

Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
2015-07-14 21:54:21 +02:00
Thomas Klausner
24bfd3e8e8 Add NetBSD support to bx.
Will try sending this upstream as well.

Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
2015-07-14 21:52:03 +02:00
Thomas Klausner
257a18502c Fix build using a patch from upstream.
e1a564ca72 (diff-d51370988baf340d4de0bc2861591415)

Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
2015-07-14 21:51:00 +02:00
balr0g
48ef2a60f3 Don't redefine MONGOOSE_ENABLE_THREADS on Windows 2015-07-09 15:00:00 -04:00
Cowering
43ef9c65e0 newest mongoose.. PRETTY sure I didn't alter anything (NW) 2015-07-08 23:37:54 -05:00