Commit Graph

178 Commits

Author SHA1 Message Date
Alam Ed Arias f03e591f64 change SDL into HAVE_SDL 2014-07-25 19:10:24 -04:00
Alam Ed Arias 086463bc61 Merge remote-tracking branch 'Furyhunter/sdl2' into sdl2 2014-07-24 22:47:45 -04: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
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 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 Ed Arias b520d61ba2 Merge branch 'master' into sdl2 2014-05-27 15:19:18 -04:00
Alam Ed Arias b511294749 Merge remote-tracking branch 'Sryder13/master' 2014-05-27 15:14:55 -04:00
Alam Ed Arias d597856c8f Merge branch 'master' into sdl2 2014-05-02 21:32:31 -04:00
Alam Ed Arias d859b70b25 Merge remote-tracking branch 'ilag11111/robotnikcage' 2014-05-02 21:32:05 -04:00
ilag 1af18c7013 Redo all changes I ended up losing trying to undo the mess I made.
Also, fix the issue pointed out by Alam.
2014-05-02 14:24:20 -07:00
Alam Ed Arias 0f8269fe6f merge sdl interface changes into SDL2 interface 2014-05-02 09:33:57 -04:00
Alam Ed Arias f3bd8c6ef4 Merge branch 'master' into sdl2 2014-05-02 09:01:51 -04:00
Alam Ed Arias ea7abe7c44 Merge branch 'master' of https://github.com/ilag11111/SRB2 2014-05-02 08:49:30 -04:00
Alam Ed Arias 2055e268e8 Merge branch 'cmake' of github.com:AMDmi3/SRB2 2014-05-02 08:49:18 -04:00
Alam Ed Arias 00fc6b9dcd Merge branch 'endianess' of github.com:AMDmi3/SRB2 2014-05-02 08:49:00 -04:00
ilag11111 b21d5c55c9 Uses fixed-point math to properly calculate the exact amount of space needed. 2014-04-25 13:17:05 -07:00
ilag11111 f7bbf8c6d0 Improved fix by changing the formula for how memory is allocated to arbitrary sample rate conversion. 2014-04-25 12:42:43 -07:00
Dmitry Marakasov dad0ad59c1 Add Linux support to CMake 2014-04-25 13:02:50 +04:00
Dmitry Marakasov 3f170769da Add simple CMakeLists.txt 2014-04-25 13:02:50 +04:00
ilag11111 60a115b0a7 Fix (Linux) 64-bit crash in CEZ3 (playback of sfx_litng3). 2014-04-25 00:37:13 -07:00
Dmitry Marakasov 7d52913add Make endianess detection more flexible
And fix it on FreeBSD, where _BIG_ENDIAN is not a flag indicating
big endian machine, but a constant to compare _BYTE_ORDER to.
2014-04-25 02:40:19 +04:00