Robert Beckebans
573905e295
Compile fix
2014-01-09 17:53:30 +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
Jonathan Young
bb2e41b5d7
Added r_useVirtualScreenResolution cvar to control whether to do 2D rendering at 640x480 and stretch to the current resolution (default), or render at the current resolution.
2013-09-21 22:12:42 +10:00
Jonathan Young
b3983e582a
astyle
2013-09-21 19:37:12 +10:00
Jonathan Young
4c7a2c5de3
Prioritize source SWF and image (for SWF atlas) files over their binary equivalents in resources files when not in production mode. Now you can replace individual menus without having to extract and delete all the base/*.resources files first.
2013-09-21 19:35:00 +10:00
Jonathan Young
a1776a22d0
r_vidMode sanity check was off by 1.
2013-09-18 12:39:31 +10:00
Daniel Gibson
9372fddabb
Fix compile when system GLDEBUGPROCARB signature is without const
...
.. by just casting our DebugCallback to GLDEBUGPROCARB.
It shouldn't make a difference ABI-wise, if there is a const at
a parameter or not.
Fixes #61
2013-08-31 19:23:45 +02:00
Robert Beckebans
d3ddf61d9c
Changed signature of GLDEBUGPROCARB to match OpenGL GL_ARB_debug_output specs
2013-08-29 09:38:52 +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
e510691c36
Changed model loader to not generate binary files for defaulted models. closes #39
2013-05-24 19:27:18 +02:00
Robert Beckebans
fe22638fdd
Merge branch 'master' into glew and fixed a crash on Intel HD drivers
2013-04-23 00:43: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
e7ffc153c2
Added back workaround in RB_DrawElementsWithCounters
2013-04-10 02:40:09 +02:00
Robert Beckebans
d176bca1e7
Fixed critical out of bounds bug in RB_DrawShaderPasses()
2013-04-10 02:13:27 +02:00
Daniel Gibson
3c755e490b
change threadnames so they fit into 15chars
...
+ terminating null byte - that's the limit of threadnames on linux
Furthermore: idJobThread::Start used va() to create the threadname.
va() isn't threadsafe... so I replaced it with a local buffer and
idStr::snPrintf()
2013-03-26 00:36:04 +01:00
Robert Beckebans
75f7fa3aa8
Removed obsolete old renderer SMP code
2013-03-23 21:33:40 +01:00
Daniel Gibson
e2359ba333
Add CVar r_displayGLSLCompilerMessages to suppress AMD driver warnings
...
The AMD drivers output a lot of useless warnings when compiling the shaders.
Those are pretty annoying, especially as idRenderProgManager::LoadGLSLShader
prints out the whole shader with them..
So I added this CVar to suppress them (when it's set to 0)
2013-03-17 23:35:12 +01:00
Robert Beckebans
c038a836f2
Merge branch 'master' into glew
2013-01-14 17:33:25 +01:00
Daniel Gibson
d6c32cd49b
Support resizing windows + improve fullscreen for SDL2
...
By implementing GLimp_SetScreenParms() and enhancing the
event handling
2013-01-04 14:40:35 +01:00
Daniel Gibson
478d7e4f6e
Workaround for erebus1 crash in debug mode on Linux
2012-12-30 16:24:12 +01:00
Daniel Gibson
876aa96637
Fix messed up view angle after taking screenshots
...
Pretty much like https://github.com/dhewm/dhewm3/issues/18
but here it took some more changes
2012-12-23 06:43:20 +01:00
Daniel Gibson
ba126dde3a
Fixed various warnings from clang
2012-12-23 06:40:47 +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
f57d92a1ab
Renamed RBDoom3 to RBDoom3BFG
2012-12-19 15:23:57 +01:00
Daniel Gibson
4863f11607
Fix bug in vidMode_t constructor
...
it caused the default/static video mode list to contain only garbage
2012-12-18 22:49:22 +01:00
Robert Beckebans
ff531907c7
Replaced QGL with GLEW.
2012-12-17 17:30:59 +01:00
Robert Beckebans
99166faf71
Fixed compile problems on Win64
2012-12-17 12:24:31 +01:00
Daniel Gibson
e42a886b29
remove deprecated glShadeModel stuff
...
it's only for fixed function opengl, thus it's not needed and deprecated in OpenGL 3.2
AMD's driver complains about this.
2012-12-17 01:02:53 +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
d7888cf99d
Added support for SDL 2.0
2012-12-14 19:03:30 +01:00
Robert Beckebans
202c54ffff
Fixed backslashes bug in idRenderProgManager::LoadGLSLShader()
2012-12-14 14:21:50 +01:00
Robert Beckebans
8b8cfe7d25
Small changes to pthreads.
2012-12-14 13:10:52 +01:00
Daniel Gibson
67d6a5a1fa
Make sure SDL_Init() was called before SDL_VideoInfo()
...
by adding GLimp_PreInit()
2012-12-14 00:51:22 +01:00
Robert Beckebans
86deed26b8
Merged 64 bit fixes.
2012-12-12 12:11:55 +01:00
Daniel Gibson
9eeea7adf3
Fix tons of compiler warnings
...
mostly -Wreorder, use const char* instead of char* for "static strings",
fix inappropriate usage of NULL (e.g. instead of '\0' or (int)0)
2012-12-11 23:57:05 +01:00
Robert Beckebans
a1730fa430
Supplemented Linux backend with missing functions. -> [100%] Built target RBDoom3 on Kubuntu 12.10
2012-12-11 23:17:23 +01:00
Robert Beckebans
3b0dabe30a
Formatted code.
2012-12-08 18:20:13 +01:00
Robert Beckebans
8812f6f0a4
Merge branch 'linux' of https://github.com/RobertBeckebans/RBDOOM-3-BFG into linux
2012-12-07 21:25:01 +01:00
Robert Beckebans
bc6d7fbb8c
Fixed wrong assert
2012-12-07 21:24:45 +01:00
Robert Beckebans
948865123d
More Linux specific fixes, especially 64 bit
2012-12-07 17:06:44 +01:00
Robert Beckebans
9cc36a111e
More Linux specific fixes. idlib compiles on Kubuntu 12.10 64 bit
2012-12-06 21:31:33 +01:00
Robert Beckebans
37a6018233
Added some macro defines for Linux.
2012-12-06 01:00:05 +01:00
Robert Beckebans
afaf66ef40
Formatted code
2012-12-04 12:11:14 +01:00
Robert Beckebans
e0c79bd2d2
More work on MinGW support.
2012-12-03 23:55:27 +01:00
Daniel Gibson
d949bc9410
Fix compiler warnings and errors in MinGW
...
many of the warnings -Wreorder and #includes with invalid path because of
case-errors (windows may not care, but linux does)
2012-12-03 09:29:14 +01:00
Daniel Gibson
7cd400ad02
One more small change
...
.. before fighting with xinput
2012-12-02 16:20:23 +01:00
Daniel Gibson
e738de183b
Some more small changes for MinGW build
2012-12-02 06:00:08 +01:00
Daniel Gibson
25e9e8bf1d
Stubs for __asm in DXTEncoder.cpp to make it compile
...
TODO: needs implementation with intrinsics and/or plain C(++)!
2012-12-02 06:00:07 +01:00
Daniel Gibson
af67d970c5
Comment out two noisy assertions
...
they spam the console in debug builds (at least on my system)
2012-11-28 21:48:52 +01:00
Robert Beckebans
f55a763ca4
Formatted code using Artistic Style for better readability.
2012-11-28 16:47:07 +01:00