Commit graph

4211 commits

Author SHA1 Message Date
Ronald Kinard
1bfea632c9 sdl2: windows exe rename srb2sdl2.exe 2014-07-25 23:08:37 -05:00
Ronald Kinard
e3c7bc0637 sdl2: Slow the mouse a bit
Fixes Furyhunter/SRB2#1 but probably makes mouse speed too slow on
Linux. Whatever.
2014-07-25 22:55:48 -05:00
Alam Ed Arias
c5c5d3918e Merge remote-tracking branch 'Furyhunter/sdl2' into sdl2 2014-07-25 20:01:21 -04:00
Alam Ed Arias
424d6531c9 Merge remote-tracking branch 'Furyhunter/sdl2' into sdl2 2014-07-25 20:00:46 -04:00
Ronald Kinard
7e650d30f6 sdl2: add -borderless option for windowed 2014-07-25 18:59:11 -05:00
Ronald Kinard
8d2b813554 sdl2: oops it should be 32 bpp in softblit 2014-07-25 18:59:11 -05:00
Alam Ed Arias
d438a8f8c2 doh, I forget one, and in SDL2's Makefile.cfg 2014-07-25 19:44:43 -04:00
Alam Ed Arias
f03e591f64 change SDL into HAVE_SDL 2014-07-25 19:10:24 -04:00
Ronald Kinard
b429cce3b6 sdl2: add -borderless option for windowed 2014-07-24 22:35:04 -05:00
Alam Ed Arias
086463bc61 Merge remote-tracking branch 'Furyhunter/sdl2' into sdl2 2014-07-24 22:47:45 -04:00
Ronald Kinard
ce8d82aa52 sdl2: oops it should be 32 bpp in softblit 2014-07-24 21:46:35 -05:00
Ronald Kinard
93e00cc694 sdl2: -softblit, use smaller texture format
-softblit uses SDL2 software renderer backend for blitting
2014-07-24 21:32:47 -05:00
Alam Ed Arias
b19a9077bd Merge remote-tracking branch 'Furyhunter/sdl2' into sdl2 2014-07-24 20:27:14 -04:00
Ronald Kinard
8b0f374bfe sdl2: potential huge perf. boost to software
SDL_UpdateTexture is apparently not good for streaming textures.
So instead, I did SDL_LockTexture/Unlock.
2014-07-24 19:18:48 -05:00
Ronald Kinard
005b502756 sdl2: limit fullscreen resolution in OpenGL 2014-07-24 03:15:35 -05:00
Ronald Kinard
8890722223 sdl2: handle no AF support correctly (1, not 0)
GL_EXT_texture_filter_anisotropic is cool I guess
2014-07-24 03:03:41 -05:00
Ronald Kinard
39603487ec sdl2: restore anisotropic filtering support in gl 2014-07-24 03:01:16 -05:00
Ronald Kinard
716aa1f33a sdl2: fix mouse motion (remove -mousewarp) 2014-07-24 02:51:46 -05:00
Alam Ed Arias
750617939d Merge remote-tracking branch 'Furyhunter/sdl2' into sdl2 2014-07-24 01:23:26 -04:00
Ronald Kinard
0d82e3b54b sdl2: reorder graphics initialization
GL Initialization needs to happen before window creation,
otherwise the GL library will get reloaded while in use and
Windows will have a heart attack. This is bad, obviously.
2014-07-24 00:20:34 -05:00
Alam Ed Arias
0870d628ea Merge remote-tracking branch 'Furyhunter/sdl2' into sdl2 2014-07-24 00:39:17 -04:00
Ronald Kinard
4433be194f sdl2: software: clear window on mode change 2014-07-23 23:21:19 -05:00
Ronald Kinard
73e99fa96c sdl2: I_Error if we can't create gl context 2014-07-23 23:15:31 -05:00
Ronald Kinard
fc075e4c81 sdl2: use ABGR8888 texture on little endian system
This is a massive performance boost on slow processors, because
before, the intermediary buffer had to be swizzled to ABGR8888
before being uploaded -- for large resolutions this was an
enormous performance penalty.
2014-07-23 23:02:21 -05:00
Alam Ed Arias
4c635c67a6 Merge remote-tracking branch 'Furyhunter/sdl2' into sdl2 2014-07-23 22:47:12 -04:00
Ronald Kinard
345b59f6f5 sdl2: code cleanup 2014-07-23 21:45:36 -05:00
Alam Ed Arias
a103697dd0 isFullscreen is unused? 2014-07-23 22:05:03 -04:00
Alam Ed Arias
1a731fb463 there no fade for non mixer builds 2014-07-23 22:04:46 -04:00
Alam Ed Arias
d5c22f9224 Merge remote-tracking branch 'Furyhunter/sdl2' into sdl2 2014-07-23 20:59:34 -04:00
Ronald Kinard
9a4b2bd360 sdl2: restore vsync option (use sdl swap interval) 2014-07-23 19:46:12 -05:00
Ronald Kinard
20f871bd84 sdl2: opengl compiles fine, no TESTHW=1 needed 2014-07-23 19:43:15 -05:00
Ronald Kinard
d078e3e17f sdl2: fix opengl (almost) entirely 2014-07-23 19:39:41 -05:00
Alam Ed Arias
6b112a3bfd Merge remote-tracking branch 'wolfy852/next' into next 2014-07-23 18:34:42 -04:00
Alam Ed Arias
331b120c31 Merge remote-tracking branch 'origin/next' into next
Conflicts:
	libs/fmodex/lib/libfmodex64_vc.a
	libs/fmodex/lib/libfmodexL64_vc.a
	libs/fmodex/lib/libfmodexL_vc.a
	libs/fmodex/lib/libfmodex_vc.a
2014-07-23 18:32:21 -04:00
Alam Ed Arias
4b446495ad come back to life 2014-07-23 18:29:36 -04:00
Alam Ed Arias
1c4b1c1d7e DIE, DIE, DIE
Conflicts:
	libs/fmodex/lib/libfmodex64_vc.a
	libs/fmodex/lib/libfmodexL64_vc.a
	libs/fmodex/lib/libfmodexL_vc.a
	libs/fmodex/lib/libfmodex_vc.a
2014-07-23 18:29:25 -04:00
Ronald Kinard
fea559398a sdl2: we have colored rects in gl now I guess 2014-07-22 02:23:51 -05:00
Ronald Kinard
0a37bdf76d sdl2: start getting opengl working again 2014-07-22 01:23:08 -05:00
Ronald Kinard
145618785c sdl2: reuse window on mode change 2014-07-21 22:41:01 -05:00
Ronald Kinard
2618b1dd0b sdl2: truncate resolution list, add 16:9 hdtv modes 2014-07-21 22:16:34 -05:00
Ronald Kinard
1ac1d04cca sdl2: joystick fixes. don't pause in demo play/rec 2014-07-21 21:32:18 -05:00
Alam Ed Arias
35545a0d67 Merge branch 'master' into sdl2 2014-07-21 21:03:34 -04:00
Alam Ed Arias
1c724a6d84 come back to life 2014-07-21 21:00:18 -04:00
Alam Ed Arias
5528fa29fe DIE, DIE, DIE 2014-07-21 20:40:03 -04:00
Alam Ed Arias
c59cb553e4 DIE, DIE, DIE 2014-07-21 20:39:31 -04:00
Alam Ed Arias
5b2cf41ab8 Merge remote-tracking branch 'origin/master' into sdl2 2014-07-21 18:50:15 -04:00
wolfy852
9ab60d1295 Add LUA_EvalMath to Lua with function name EvalMath 2014-07-19 17:46:53 -05:00
wolfy852
43da4de52f Switch the Linux symbolic links with manual copy-pastes, should fix compiling on Windows for most users. 2014-07-17 20:26:06 -04:00
Alam Arias
fcdeb702e9 Merge pull request #18 from wolfy852/next
Switch the Linux symbolic links with manual copy-pastes
2014-07-17 20:18:33 -04:00
wolfy852
eb5b99bc5d Switch the Linux symbolic links with manual copy-pastes, should fix compiling on Windows for most users. 2014-07-17 18:35:27 -05:00