Eric Womer
7145d9b3f1
Compiling/Linking/Running, but no rendering, there is audio. glConfig as
...
a temp fix for the surfaces having a width and height of 0 since
renderSystem->getHeight()/getWidth() access
glConfig.nativeResolutionHeight/Width directly.
2019-12-29 17:05:33 -05:00
Eric Womer
528da79001
Merge branch 'kung' into vulkan-merge-2
2019-12-29 12:14:29 -05:00
Eric Womer
f1e650e2c4
Applying KungFuJesus's patch from
...
https://github.com/RobertBeckebans/RBDOOM-3-BFG/issues/398#issuecomment-569442019
2019-12-29 11:12:34 -05:00
Robert Beckebans
4a6af2d609
Applied new Astyle settings
2019-11-11 20:27:44 +01:00
Robert Beckebans
fac1974f1b
IBL envprobes initial render interface
2019-10-19 21:58:22 +02:00
Robert Beckebans
6ae887a591
Fixed VS2017 Build
2019-10-14 19:37:15 +02:00
r-a-sattarov
dfa1fc3db7
E2K: added initial support for MCST Elbrus CPU
2019-08-10 18:57:44 +03:00
George Kalampokis
223673da57
Show properly cpu on 64-bit linux
2018-07-08 19:50:13 +03:00
Robert Beckebans
09f92b95d9
Disable ATL warning with VS2015
2017-09-02 13:58:21 +02:00
Robert Beckebans
3d75dbcb4a
GCC compile fixes under Kubuntu 15.10
2016-07-03 22:56:29 +02:00
Robert Beckebans
414a426b09
VS 2015 and Windows 10 support. close #261 #271 #272
2016-01-20 00:55:30 +01:00
Tobias Frost
bbb41c7781
Do not force USE_INTRINISCS to be set via source-code
2015-07-11 10:33:04 +02:00
Robert Beckebans
4fa4537978
Use SSE2 intrinsics on x86
2015-06-24 11:27:54 +02:00
Robert Beckebans
9d4c468f08
Merge pull request #228 from coldtobi/master
...
rbdoom3: Option to set CPU_ID and to specify CPU Features to be used.
2015-06-24 11:14:30 +02:00
Tobias Frost
92dab63c30
- Do use CMAKE_DL_LIBS to determine the linkerflags needed to link against libdl.
...
- For !WINDOWS, add sys_defines based on compiler instead based on system. (enabled compilation e.g on hurd and kfreebsd)
2015-06-21 16:52:56 +02:00
Tobias Frost
9212ed4263
Propagate USE_INTRINSICS through CMake
2015-06-19 16:11:16 +02:00
Tobias Frost
90d79158ee
Make the CPUSTRING and additional from default optimizations configureable
2015-06-19 15:50:17 +02:00
Daniel Gibson
90b1ff0b65
Format Code with AStyle 2.05.1
2015-02-09 00:29:57 +01:00
Pat Raynor
125191b866
Added back dmap and aas compiler from original Doom 3 GPL release
2014-08-01 03:07:00 -04:00
Robert Beckebans
be7d912cf2
Just to be safe. Changed Sys_Yield()
2014-05-20 09:31:40 +02:00
Robert Beckebans
05248cce6d
AStyle
2014-05-20 09:29:08 +02:00
Radegast
ca5c463bbd
Added clock_gettime() for OS X which always returns monotonic time. #87
2014-05-19 16:53:20 +01:00
Radegast
764b067825
Avoid 'unknown event' spam when testing with touchpad. #87
2014-05-19 15:52:33 +01:00
Radegast
812fb78d52
Initial OS X support. #87
2014-05-18 23:14:28 +01:00
RobertBeckebans
60ccf3567b
Merge branch 'master' into glew
2014-04-25 20:24:30 +02:00
dekadenZ
e4605633f0
Move format specifier macros to idlib/sys/sys_defines.h
2014-04-25 15:22:15 +02:00
RobertBeckebans
8018378c3c
Merge branch 'master' into glew
...
Conflicts:
neo/renderer/OpenGL/glext.h
neo/renderer/OpenGL/qgl.h
neo/renderer/OpenGL/wglext.h
neo/renderer/RenderProgs.cpp
neo/renderer/RenderProgs_GLSL.cpp
neo/renderer/RenderSystem_init.cpp
neo/renderer/tr_backend_draw.cpp
neo/sys/win32/win_qgl.cpp
2014-04-21 15:01:50 +02:00
Andreas Bergmeier
4d9970b148
Properly handle format analysis
...
Rename ATTRIBUTE_PRINTF to
- ID_STATIC_ATTRIBUTE_PRINTF
- ID_INSTANCE_ATTRIBUTE_PRINTF
since for instance functions, this has to be taken into account, too.
Add format analysis to idLib, DeclManager and idTokenParser functions.
Add support for clang.
2014-02-22 17:02:06 +01:00
Robert Beckebans
7690fb4b8e
Merge branch 'master' into glew
...
Conflicts:
neo/renderer/OpenGL/glext.h
neo/renderer/RenderSystem_init.cpp
2013-12-24 15:49:06 +01:00
Daniel Gibson
88b23611f9
Fix DEBUG_THREADS on FreeBSD
...
There was a typo in an #include, furthermore FreeBSD has no
pthread_getname_np equivalent.
I added Sys_GetThreadName() so the code is a bit cleaner.
2013-06-23 19:16:23 +02:00
Robert Beckebans
db715535cc
Merged generic C++ fallbacks for SSE optimized code to allow support for non-x86 based platforms like ARM
2013-06-01 15:13:00 +02:00
Robert Beckebans
aefa4ac6e3
Merge branch 'master' into glew and fixed a crash on Intel HD drivers
2013-04-23 00:41:54 +02:00
Robert Beckebans
3023533e57
Added pthread priority code but it is disabled by default because it requires root privileges
2013-03-26 13:43:30 +01:00
Daniel Gibson
da9ab07e9c
Refactor setting threadname on POSIX systems
...
* setting threadname is now done in a seperate function
* if setting the threadname fails, it just prints a warning now
instead of terminating the game with a FatalError
2013-03-26 00:36:04 +01:00
Daniel Gibson
fe18a49303
Improve POSIX threading code
...
* setting threadname is now done in a seperate function so it's a bit
cleaner (it's different for every platform..)
* replace/refactor signaling code (based on my SDL threading branch and
the old pthread signaling code from RB):
- The interface is like on win32 now (Sys_Signal* functions instead of
overwriting idSysSignal class)
- created a custom signalHandle_t struct for that, which contains all
needed information
- Mimic Windows functions used in win32 implementation more closely,
e.g. signal all waiting threads on manualReset signalRaise, count
waiting threads etc. I'm pretty sure the behavior on Win32 and POSIX
now is identical (as far as possible).
2013-03-25 22:05:02 +01:00
Daniel Gibson
9aa63e4074
Some timer-related improvements for POSIX
...
* idSysSignal::Wait should now handle timeouts > 1s better (or at all)
* Use clock_gettime for Sys_Milliseconds()
* Use CLOCK_MONOTONIC_RAW (and CLOCK_MONOTONIC as fallback if
that's not available) for Sys_Milliseconds() and Sys_Microseconds()
CLOCK_MONOTONIC can behave strange when NTP is used
* Small fixes in Sys_Microseconds(): use 64bit int to store time
(like return type...), divide by 1000 (not 1000000) for nsec=>musec
2013-03-16 14:32:47 +01:00
Yamagi Burmeister
63b1816be6
Add an explicit cast to shut up g++47 on FreeBSD
2013-03-16 14:32:47 +01:00
Yamagi Burmeister
649577e9be
Include stddef.h for ptrdiff_t on FreeBSD
2013-03-16 14:32:46 +01:00
Yamagi Burmeister
f51688a470
Add FreeBSD defines
2013-03-16 14:32:46 +01:00
Yamagi Burmeister
da31237ed0
Replace malloc.h by stdlib.h
...
On true unices malloc.h was never available and on Linux one should
include stdlib.h instead. While this change is necessary to build
rbdoom3 on FreeBSD and other true unices, the big question is what
it means to Windows.
2013-03-16 01:38:53 +01:00
Robert Beckebans
c038a836f2
Merge branch 'master' into glew
2013-01-14 17:33:25 +01:00
Robert Beckebans
dd9b8a8710
Added support for precompiled headers for MSVC which reduced the compiled time from 4 minutes to 67 seconds.
2012-12-22 16:18:19 +01:00
Robert Beckebans
865ee792c0
Disabled usage of pthread_{get,set}_name because it does not work on all Linux systems.
2012-12-22 13:15:47 +01:00
Robert Beckebans
ff531907c7
Replaced QGL with GLEW.
2012-12-17 17:30:59 +01:00
Robert Beckebans
63f9d4000f
First playable version on Linux.
2012-12-16 17:31:21 +01:00
Robert Beckebans
b7d3481f57
Fixed missing 16 byte alignment on 32 bit Linux for SSE structs.
2012-12-15 14:53:11 +01:00
Robert Beckebans
8b8cfe7d25
Small changes to pthreads.
2012-12-14 13:10:52 +01:00
Robert Beckebans
7b43a34f37
Changed idSysSignal pthread implementation to consider the manualReset parameter
2012-12-14 11:50:20 +01:00
Daniel Gibson
ee88148bd1
eliminate more longs
...
for 64bit compatibility.
2012-12-13 01:28:41 +01:00
Robert Beckebans
86deed26b8
Merged 64 bit fixes.
2012-12-12 12:11:55 +01:00