dxx-rebirth/common
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
..
2d Add color_palette_index type alias, to note palette-related uint8_t 2020-07-16 02:31:04 +00:00
3d clipper.cpp: Fix build with gcc10 2020-06-09 22:23:48 +02:00
arch Remove send_creation_events parameter 2020-10-22 02:26:16 +00:00
editor Use std::array for editor mine filename 2020-10-12 03:28:25 +00:00
include Fix clang build 2020-11-30 05:12:00 +00:00
main Restore buffering on PCX loads 2020-11-30 05:12:00 +00:00
maths
mem
misc Restore buffering on PCX loads 2020-11-30 05:12:00 +00:00
music
texmap
ui Remove send_creation_events parameter 2020-10-22 02:26:16 +00:00
unittest