Commit Graph

104 Commits

Author SHA1 Message Date
Max Teufel
4f7bc981bd Declare use of OpenGL 3.2 on OS X 2014-04-05 19:33:45 +02:00
Vincent Lejeune
e034cd31a0 Fix context creation for intel. 2014-03-31 19:29:20 +02:00
Vincent Lejeune
b9d0088ff9 Parse more context in windows build. 2014-03-26 22:13:02 +01:00
Vincent Lejeune
efa7316fc5 Definitively fix stencil bug thx to graphitemaster from irc 2014-03-22 19:19:59 +01:00
Vincent Lejeune
ae3cf30070 Add a function to query supported glsl ver 2014-03-22 18:36:20 +01:00
auriamg
37ee2d73b3 Merge pull request #1254 from nathan-osman/bluetooth-check
Check for libbluetooth on Unix platforms.
2014-03-18 19:37:00 -04:00
Nathan Osman
6b8f12b1b5 Check for libbluetooth on Unix platforms. 2014-03-17 19:02:53 -07:00
KroArtem
ccd6019f48 Merge remote-tracking branch 'upstream/master' 2014-03-15 01:15:48 +04:00
Vincent Lejeune
5e03e461bc Revert to compatibility context for linux build. 2014-03-14 17:04:44 +01:00
Vincent Lejeune
cf2035ca0a Batch draw calls 2014-03-14 16:51:05 +01:00
hiker
2916e3e351 Removed typedef (which is a work around for certain mesa versions)
from windows and osx.
2014-02-26 12:06:59 +11:00
hiker
244d00280c Applied patch from jpirie for fixing mesa 10 compilation problems. 2014-02-26 11:13:03 +11:00
KroArtem
d2179e960d #1156, fix quotes in CMakeLists files, see http://cmake.org/Wiki/CMake/Language_Syntax#Quoting for more info 2014-02-21 23:09:10 +04:00
hiker
2595d31eba Implemented crude work around for drivers that do not support
opengl 3.3.
2014-02-17 16:52:40 +11:00
Vincent Lejeune
0243546e4d Use an openGL 3.3 compatibility context when available. 2014-02-12 22:16:10 +01:00
Vincent Lejeune
fbc47dd6ca Do not use GL_PACK_INVERT_MESA when screenshooting
Oddly enough it is reported as FeatureAvailable in Windows.
This fixes the screenshot bug.
2014-02-02 02:56:10 +01:00
Vincent Lejeune
afd5d1917c Fix Opengl pre 3.0 context creation. 2014-02-02 01:03:01 +01:00
Vincent Lejeune
19fd67995d Use system's glext.h/glxext.h on linux. 2014-02-02 00:47:27 +01:00
Vincent Lejeune
098303dced GPUParticles: Use transparent_effect pass 2014-01-28 21:40:53 +01:00
Vincent Lejeune
f50e6f817d Use another normal encoding method from a crytek slide. 2014-01-27 23:29:46 +01:00
Vincent Lejeune
d642bc1489 Lightprepass: Only store normals in rtt
Use a more economical rtt format.
2014-01-27 21:47:25 +01:00
Vincent Lejeune
5694d8b41a Expose depthbuffer texture 2014-01-27 20:21:41 +01:00
Vincent Lejeune
c77ffb1882 STKBillboard: Create new SceneNode wrapper. 2014-01-27 17:33:08 +01:00
hiker
41a9b14859 Fixed missing collisions in mansionl (caused by negative default mass
for objects). Added assert to bullet to catch this kind of problem early.
2014-01-26 23:36:44 +11:00
Vincent Lejeune
559e0a96ca Remove wrong glHint
Spotted by ARB_DEBUG_OUTPUT
2014-01-24 20:27:18 +01:00
Vincent Lejeune
176e46e5a9 STKAnimatedMesh: Uses custom render.
But not direct gl draw call yet.
2014-01-23 21:35:56 +01:00
Vincent Lejeune
38fc539520 Enable debug 2014-01-22 18:06:39 +01:00
Vincent Lejeune
271a26eaf0 OGL32CTX: Always return true when a feature is queried 2014-01-21 22:25:19 +01:00
Vincent Lejeune
f880d13175 Fix FBO related queries with OGL3.2+ 2014-01-21 22:25:18 +01:00
Deve
dcfd55502c Added experimental change which allow to use alt-tab and other shortcuts on linux when game is run in fullscreen mode.
This method is used in many other projects and should work good. Currently modern games
use window manager fullscreen rather than grab whole mouse and keyboard.

Tested on Gnome, Unity and Openbox and it works well. Though it should be tested also on
other desktop environments.

Also performance impact should be tested.

I added simple workaround for Gnome, which sometimes creates fullscreen window smaller
than display.

If some problems will occur, feel free to revert it.
2014-01-19 21:31:54 +01:00
Vincent Lejeune
a1f5e47cba Use ARB_DEBUG_OUTPUT on windows in Debug mode.
Hopefully the extension will work properly with every driver...
2014-01-18 20:28:13 +01:00
vincentlj
2ba340b6cb OGL32CTX: Add vertex shader where default one was assumed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14973 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-08 23:11:10 +00:00
vincentlj
632f75c130 OGL32CTX: Create a GL 3.1 context on windows (backward compatible)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14972 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-08 21:50:46 +00:00
vincentlj
8a33f14da5 OGL32CTX: Request a 3.0 backward compatible context in linux.
This allows to enable ARB_DEBUG_OUTPUT extension.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14924 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-05 17:48:36 +00:00
samuncle
d5e598f7f6 I had some problem with -fno-rtti when I tried to build then trunk
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14849 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-31 01:03:46 +00:00
vincentlj
224b246f17 Irrlicht: make setRenderStates3DMode public
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14810 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-27 16:37:15 +00:00
auria
85bfec00a0 Correct VS compilation (VS 2013 is 18, not 17)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14629 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-04 01:54:54 +00:00
auria
68820bb325 VS 2013 fixes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14625 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-04 00:36:44 +00:00
hikerstk
bc2432bb57 Merged with trunk, final part.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@14608 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-02 04:43:14 +00:00
auria
8cf0030a27 Apply patch to fix OSX compilation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14591 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-01 16:51:08 +00:00
hikerstk
6828007a51 Updated VS 2008 release project file (not necessary for cmake
based 2012 compilation) - saving this just in case that we
want to support XP longer.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14481 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-19 11:59:07 +00:00
funto66
22c4c85f56 Removed CRT security warnings from Irrlicht build (MSVC)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14435 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-14 22:29:12 +00:00
funto66
e13e6feb4a Remove hard-coded debug flag for Wiiuse with MSVC (Multithreaded Debug CRT)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14433 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-14 22:18:53 +00:00
hikerstk
3c45cdc559 Removed VS hard coded debug flag for irrlicht.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14431 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-14 22:12:45 +00:00
auria
ccefd0a3da Try to fix clang compilation. Cannot really test it but hopefully will help
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14426 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-13 23:55:29 +00:00
auria
43e9d17eeb Apply safe part of supermat's patch to let STK build on clang on OSX. The part about long GLuint remains to be seen, not too sure what to do about it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14344 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-29 23:14:51 +00:00
hikerstk
bba3f85e4e Reverted accidentally committed patch in r14296.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14297 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-23 11:43:43 +00:00
hikerstk
d157d175e7 Fixed VS 2012 compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14296 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-23 11:36:31 +00:00
hikerstk
489ac88ff1 Fixed cmake problems (warnings and incorrect compiler flags).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14295 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-23 11:05:53 +00:00
funto66
45d68487f0 Add animation strength parameter control for skeletal animations to Irrlicht
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14285 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-22 13:31:10 +00:00