hiker
e8aa181348
Merge remote-tracking branch 'origin/master' into include-glew
2014-09-16 11:05:35 +10:00
Vincent Lejeune
bd4602fb5d
Fix context creation on linux when driver support gl 4.3
2014-09-15 23:39:48 +02:00
hiker
8029bc5880
Build a static version of glew.
2014-09-15 21:49:06 +10:00
hiker
69473b1811
Try to include glew in stk.
2014-09-15 16:33:46 +10:00
vlj
6d685a843d
Drop support for GL 3.1 on windows
...
Fixed pipeline will be used instead
2014-09-13 15:45:10 +02:00
deve
e6ab299f37
Fixed mingw compilation
2014-09-12 09:01:35 +02:00
vlj
fbe2896460
Use non debug gl ctx in non debug build
2014-09-09 16:57:46 +02:00
Vincent Lejeune
4822b8a75e
Fix travis
2014-09-07 00:44:56 +02:00
Vincent Lejeune
b9a595e666
Revert "Revert "Use pointer arithmetic to enforce matrix 16 bytes alignment""
...
This reverts commit e83bd11891
.
2014-09-07 00:44:49 +02:00
Vincent Lejeune
e83bd11891
Revert "Use pointer arithmetic to enforce matrix 16 bytes alignment"
...
This reverts commit 0eeeb60685
.
2014-09-07 00:20:35 +02:00
Vincent Lejeune
cbb59fa640
Revert "Fix travis"
...
This reverts commit bdb867bce2
.
2014-09-07 00:20:31 +02:00
Vincent Lejeune
bdb867bce2
Fix travis
2014-09-07 00:17:43 +02:00
Vincent Lejeune
0eeeb60685
Use pointer arithmetic to enforce matrix 16 bytes alignment
2014-09-07 00:08:47 +02:00
vlj
56459f39ab
Use a matrix multiplication
2014-09-05 23:53:38 +02:00
Vincent Lejeune
d6c265daf6
Fix VS warning
2014-09-05 23:51:43 +02:00
vlj
44d50aa8d7
Fix build
2014-09-05 17:56:43 +02:00
Vincent Lejeune
6223f5205b
Add an SSE optimised inverse matrix
2014-09-05 16:42:24 +02:00
deve
e57b927c96
Allow to compile STK on Windows using MinGW compiler.
...
It needs vorbis dll's as additional dependencies.
TODO: add an alternative to inet_ntop function.
TODO: link wiimote library
2014-09-03 14:08:23 +02:00
Deve
db53dd6767
xrandr: Simplify code a bit.
...
Fixed some memory leaks.
2014-08-24 17:40:40 +02:00
Deve
c2cf83bb6a
xrandr: move restore resolution to separated function because it makes a mess...
2014-08-20 19:44:06 +02:00
Deve
56fa56a38f
xrandr: don't restore resolution if output was disconnected during game
2014-08-20 19:44:06 +02:00
Deve
5c4c54bf20
xrandr: make sure that output_id and old_mode are declared
2014-08-20 19:44:06 +02:00
Deve
6a48010644
Fixed compilation error with disabled xrandr
2014-08-20 06:49:38 +02:00
Deve
0dc34b2c0d
xrandr: few more checks
...
- try to run in windowed mode if no output was found
- close display correctly in case of no output
- add few warnings
2014-08-18 20:56:30 +02:00
Deve
3e3a27252a
xrandr: fixed memory leak
2014-08-16 16:02:22 +02:00
Deve
a9bd12bfab
xrandr: use primary output if window manager reports this information
2014-08-16 12:21:55 +02:00
Deve
d45429bf88
First destroy the window, then restore resolution.
...
This may solve some possible issues with WM fullscreen.
2014-08-15 11:34:16 +02:00
Deve
15b316a9af
xrandr: update width and height params when wanted resolution was not found and we get the default one.
2014-08-03 21:56:16 +02:00
Deve
67948dfe28
xrandr: add support for rotated screens
2014-07-31 23:13:03 +02:00
Deve
73b45e71c7
xrandr: fixed issue with fullscreen window which was placed in wrong screen in some window managers.
...
In some cases main screen may have other position than (0, 0) - fixed it.
2014-07-30 21:30:43 +02:00
Deve
46f73e8ecc
Some improvements for xrandr
...
- choose best available refresh rate
- if resolution doesn't exist, choose first available
- other minor changes.
Works fine with Gnome, but I notices some issues on Openbox and Unity.
2014-07-28 19:23:03 +02:00
Deve
992c97258f
Few more checks
2014-07-27 20:00:04 +02:00
Deve
0409a84fa0
Remove debug output
2014-07-27 19:36:40 +02:00
Deve
068b88cb4b
Rename some variables, free memory etc.
2014-07-27 19:32:12 +02:00
Deve
85dd8d11a9
Add experimental support for multi-monitor on linux using xrandr.
...
Now you can play STK on one screen and watch TV on the second ;-)
Currently I use first (main) screen. We can detect from which screen STK was executed using xinerama.
Will be improved.
2014-07-27 00:48:34 +02:00
Deve
a56d6405dc
Simplify code for checking best refresh rate on linux, which I added previously.
2014-06-25 22:22:54 +02:00
Flakebi
e490874a90
Fix compiler warnings
2014-06-05 18:27:19 +02:00
vlj
8cc1df3dd1
Update glext.h
2014-06-05 03:19:17 +02:00
vlj
63992a3908
Play with glTexStorage2D
...
Should reduce memory movements.
2014-06-01 02:48:03 +02:00
Deve
da41a06ae4
Add fallback for such exotic window managers as "larswm" which don't support netwm.
...
It's because Cand complains :)
2014-05-22 18:39:28 +02:00
Marianne Gagnon
474bbb4373
Try to convert icon rendering to new helper function (for GL3 support)
2014-05-13 20:00:16 -04:00
Deve
0b463f5222
Allow to run xrandr instead of vidmode as an option
2014-05-12 20:08:15 +02:00
Deve
e8b4926b0b
Fixed #1313 .
...
In some cases STK was barely playable because of very low refresh rates (25-30Hz).
This may be caused by last changes in display drivers. I remember that previously refresh rates for resolution were in order from the lowest to the greatest. Now I see it in reversed order.
Irrlicht didn't check refresh rates and always set the last available for specified resolution.
Now we use the highest available refresh rate.
Perhaps we should use xrandr library instead of vidmode. It should be much smarter and maybe would solve some multimonitor issues.
2014-05-12 18:43:36 +02:00
Guillaume P
7a3ba812d7
Use smaller textures when HD textures option is disabled. Generate them if they are not already in the cache directory.
2014-05-02 19:16:54 +02:00
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