433 Commits

Author SHA1 Message Date
Marianne Gagnon
14b8e00279 Fix use of unititialized variables in cutscene 2014-09-06 16:24:42 -04:00
vlj
781288bf80 Texture storage support detected at runtime. 2014-09-05 18:35:24 +02:00
vlj
d741204ee0 Compute shader support detected at runtime. 2014-09-05 18:35:15 +02:00
vlj
8da557d153 Use GLEW for our GL function support. 2014-09-05 18:21:07 +02:00
vlj
3083df450f Gather object in instanced calls 2014-09-02 23:23:23 +02:00
Vincent Lejeune
3cea173ee2 Check for draw indirect support 2014-09-02 20:18:22 +02:00
Marianne Gagnon
90396678b7 Separate lightshaft from sun 2014-08-29 20:28:19 -04:00
vlj
fc80ebbbcb Use storage buffer for vao manager 2014-08-29 21:59:05 +02:00
vlj
ae18730c92 Use ATI instead of AMD in vendor name. 2014-08-28 22:08:56 +02:00
vlj
5878cb35ec Implement runtime detection of srgb bindless fix 2014-08-28 22:02:12 +02:00
vlj
4a62fd7968 Use an instance manager 2014-08-23 19:53:54 +02:00
Vincent Lejeune
d968ce11bf Add a function that kills shaders and use it when reloading shader.
Thus there is no mesh corruption.
2014-08-21 02:19:33 +02:00
hiker
6073788813 Fix linux compilation (no nullptr). 2014-08-20 21:07:12 +10:00
Stephen Just
6b3786457f Fix OpenGL extension detection on Linux/Mesa.
Created function in glwrap to test whether a GL extension is available.
This required using OpenGL3's glGetStringi. Backwards compat code can
be added to function if necessary.
2014-08-19 16:19:38 -06:00
Deve
990a297154 Get real width and height of best fit resolution only if resolutions list is not empty. 2014-08-16 12:21:55 +02:00
Vincent Lejeune
f9c692052e Try a fix for nvidia and GI 2014-08-14 21:26:16 +02:00
Vincent Lejeune
41cca2e56e Fix ambient handling. 2014-08-09 01:41:30 +02:00
Vincent Lejeune
54c9f32033 Store ambientlight directly in irr_driver. 2014-08-09 01:30:36 +02:00
Vincent Lejeune
c8a9515ad0 Use debug slider to change ambient on the fly. 2014-08-09 01:10:19 +02:00
deve
5511f55dd9 Add fallback if irrlicht won't report any resolution. 2014-08-04 08:39:02 +02:00
Marianne Gagnon
072c118f95 Fix splatting, which had been broken by a recent commit of mine 2014-08-03 20:03:17 -04:00
vlj
2fcb574c90 Automate UBO fix detection.
It only concerns Intel Sandy Bridge (maybe Ivy Bridge ?) gpu on Windows.
2014-08-04 01:45:08 +02:00
vlj
6c71334cda Only calculate diffuse coefficient once. 2014-08-04 01:12:45 +02:00
Deve
03c3f1dae7 Fixed typo 2014-08-03 22:05:55 +02:00
Deve
b15c902aee Get dimensions of best resolution before creating irr device.
I also changed default 800x600 resolution to the size screen because sometimes this resolution may not exist. For example in rotated screens.
2014-08-03 21:50:59 +02:00
Marianne Gagnon
55e880530a bugfix, only use the texture in layer 0 to apply material 2014-08-02 20:33:30 -04:00
Marianne Gagnon
00ae12677a Fix GUI crashes when exiting STK by clicking the X button in the window titlebar 2014-07-17 19:24:35 -04:00
vlj
9922047dd1 Do not ask GL vendor/renderer in no graphic mode. 2014-07-09 02:57:36 +02:00
Daniel Butum
361d4dfade Optimize loop (thanks to cand) 2014-07-04 13:09:46 +03:00
Daniel Butum
27f2a18f37 Fix clang compilation (thanks to solstice) 2014-07-04 11:22:09 +03:00
Daniel Butum
e2418aea13 Fix c++11 feature 2014-07-04 00:34:37 +03:00
Daniel Butum
efac42f746 Fix move on unitialised values in displayFPS 2014-07-03 17:22:00 +03:00
Marianne Gagnon
484f4b7e00 Merge branch 'master' into NewRTTMinimap 2014-06-21 18:56:11 -04:00
Vincent Lejeune
88a5d08e91 Report opengl vendor and renderer. 2014-06-21 19:29:35 +02:00
Marianne Gagnon
cd9c2653b6 Initial work on porting minimap to new RTT 2014-06-17 19:26:12 -04:00
Marianne Gagnon
02c68d5b02 Merge branch 'NewRTTWidget' 2014-06-04 20:46:24 -04:00
Marianne Gagnon
9af15c7bdf Fix sky not cleared when exiting race, would show up on kart selection screen 2014-06-04 20:29:37 -04:00
Vincent Lejeune
5f1413e140 Merge branch 'master' into NewRTTWidget 2014-06-05 01:30:45 +02:00
hiker
e3513b10c6 Merge branch 'master' of https://github.com/Flakebi/stk-code into Flakebi-master 2014-06-05 08:23:47 +10:00
Flakebi
af6c121a22 Run whitespaces.py 2014-06-04 15:10:20 +02:00
Flakebi
4ae98f4610 Clean up when closing the window 2014-06-04 12:53:11 +02:00
hiker
c62cc7fbaa Added CanBeDeleted class, which implements a timeout function. It is
used to make sure that (in this case) the NewsManager thread does not
need the file manager anymore when stk exists (which can only happen
on very very quick exists, and slow downloads). This avoids a potential
crash that the NewsManager thread could access the file manager after
the file manager was deleted.
2014-06-04 16:51:29 +10:00
Marianne Gagnon
7e9252e5b3 Merge branch 'master' into NewRTTWidget 2014-05-29 20:00:58 -04:00
vlj
40df4afc74 Support some debug option for GI 2014-05-28 07:47:06 +02:00
Marianne Gagnon
441d941c41 First attempts at new RTT widget, does not work yet 2014-05-20 19:55:28 -04:00
vlj
31487814fe Fix compile 2014-05-18 23:28:39 +02:00
Vincent Lejeune
eca3999d52 Do some cleaning 2014-05-18 19:56:25 +02:00
Marianne Gagnon
b91484a2ef try to fix linux compilation 2014-05-17 19:29:59 -04:00
vlj
c465900ee3 Use rtt with fitting size. 2014-05-17 02:05:31 +02:00
Marianne Gagnon
4ff8b813fa Create RTTs only when loading a track 2014-05-16 19:30:39 -04:00