dxx-rebirth/common/misc
Kp 017c4ce933 Restore buffering on PCX loads
Commit 3114874713 delegated PCX loading to
SDL_image, and as an incidental change, switched to using an unbuffered
PHYSFS file.  On Linux, this has no perceptible difference in
performance.  On Windows, the unbuffered accesses cause enough of a
performance problem for users to notice and report an issue.  Add a new
helper to create an SDL_RWops around a buffered file, and use that for
PCX loading.

Fixes: 3114874713 ("Delegate PCX loading to SDL_image")
Reported-by: Q3BFG10K <https://github.com/dxx-rebirth/dxx-rebirth/issues/549>
Reported-by: aybe <https://github.com/dxx-rebirth/dxx-rebirth/issues/555>
Analyzed-by: arbruijn <https://github.com/dxx-rebirth/dxx-rebirth/issues/555#issuecomment-735442076>
2020-11-30 05:12:00 +00:00
..
error.cpp Only test warn_func when it can be nullptr 2019-01-01 04:54:35 +00:00
hash.cpp Uninline namespace dcx 2015-12-13 18:00:49 +00:00
hmp.cpp Fix truncation of callback pointer on Windows 2020-10-29 03:40:19 +00:00
ignorecase.cpp Switch most in-tree http:// links to https:// 2018-09-02 00:57:29 +00:00
physfsrwops.cpp Restore buffering on PCX loads 2020-11-30 05:12:00 +00:00
strutil.cpp Use std::array for editor mine filename 2020-10-12 03:28:25 +00:00
vg-wrap-physfs.h Add PHYSFS_read wrapper support 2017-07-26 03:15:58 +00:00
vgrphys.cpp Add PHYSFS_read wrapper support 2017-07-26 03:15:58 +00:00
vgwphys.cpp Add PHYSFS_read wrapper support 2017-07-26 03:15:58 +00:00