38 Commits

Author SHA1 Message Date
Wengier
a7d9172e44 fix scaler 2022-01-08 05:08:15 -05:00
Wengier
d6dfc5fcfc box-drawing support for clipboard copy/paste 2021-12-14 17:43:54 -05:00
Allofich
17bb5116fc Fix -Wsign-compare warnings 2021-09-21 00:36:09 +09:00
Allofich
e4c17e8f6a Fix -Wsign-compare warnings 2021-09-21 00:36:09 +09:00
Allofich
5565409b48 Remove unneeded includes
Replace config.h include in qcow2_disk.h with standard library includes,
since that's all it was used for.
2021-06-19 17:01:17 +09:00
Allofich
9294d450ec SVN r4412
Update copyright.
2021-03-06 21:18:08 +09:00
Wengier
47ad5a1e3f more 2021-01-31 02:43:55 -05:00
Wengier
fe683249d4 change TTF limit 2021-01-31 01:16:11 -05:00
Wengier
c6abd902d2 add actual TTF font option for bold/italic text styles 2020-12-17 23:26:50 -05:00
Wengier
f244848dde TTF code cleanup 2020-12-14 03:38:07 -05:00
Wengier
18a838fe47 Merge branch 'master' of https://github.com/joncampbell123/dosbox-x 2020-11-22 02:01:25 -05:00
Wengier
c2310e7b24 improve TTF output and more 2020-11-22 01:39:15 -05:00
Jonathan Campbell
90c981c4b8 Do not define USE_TTF if C_FREETYPE not defined aka FreeType not detected 2020-11-21 22:19:57 -08:00
Jonathan Campbell
c02499638a TTF output: Refactor code to use array of structs with descriptive fields instead of just uint32_t 2020-11-20 15:42:19 -08:00
Wengier
ee3121006a more TTF improvements, including support for non-Windows platforms 2020-11-14 19:31:17 -05:00
Wengier
5ce4a511d0 add initial support for TrueType font output (output=ttf in Windows) 2020-11-13 00:28:58 -05:00
Allofich
bedbe4edf0 SVN r4273 + r4274
Make frameskip an integer.
2020-10-07 00:38:48 +09:00
Allofich
46e99550ba Fix C5208 warning 2020-10-04 00:25:01 +09:00
Emmanuel Gil Peyrot
c0a106535e Replace Bit32u with uint32_t 2020-09-28 17:14:35 +02:00
Emmanuel Gil Peyrot
a431d81213 Replace Bit16u with uint16_t 2020-09-28 17:14:35 +02:00
Emmanuel Gil Peyrot
35f38f3ebe Replace Bit8u with uint8_t 2020-09-28 17:14:35 +02:00
Wengier
418757c6d7 disable built-in shader by default 2020-09-21 22:09:24 -04:00
Wengier
a01ac1c168 support for GLSL shader on both SDL1 and SDL2 builds 2020-09-20 22:44:38 -04:00
rderooy
608a657b50 Update copyright year for dosbox and dosbox-x assets and update FSF address 2020-06-25 08:42:32 +02:00
Allofich
d84a812743 SVN r4183 (second half)
Update year
2019-06-03 23:01:41 +09:00
Allofich
05619dd023 SVN r4183 (first half)
Update address of FSF
2019-06-03 22:54:46 +09:00
Alex/AT
ef56baf4da - Now that sdlmain.h can be included in render.cpp, finally aggregate xBRZ structure split between sdl/render earlier, and move it to output_tools_xbrz, where it should logically reside
- Move xBRZ initialization and option reads to output_tools_xbrz.cpp, removing RENDER_xBRZ_Early_Init() hack
2018-07-01 12:35:11 +03:00
Alex/AT
100bdf0c95 - No functional changes in regards to majority of the code
- Start partial refactor of sdlmain.cpp output code
- Move general definitions into sdlmain.h (incomplete)
- Move little part of OpenGL output related code out
- Move almost all of surface output related code out
- Generalize xBRZ postscaling operations into their own respective function to reuse

- Bugfix: commits 3a8d77f and ebdfc33 break intentional output window fill-in for xBRZ
- Minor: non-ppl runs can be done without granularity based loop, adjusted

- TODO: continue factoring out output code
- TODO: SDL2 build is probably not xBRZ-capable now
- TODO: see what can be used instead of ppl taskgroups for other platforms, xBRZ is too slow without parallel processing
- TODO: adjust other build configurations to include new source files / headers
2018-06-30 13:59:11 +03:00
Alex/AT
e866ccf4df - Move part of xBRZ structure needed for render online reconfiguration to render structure from sdl structure
- Create early initialization function for xBRZ because sdlmain needs xBRZ parameters rather early, on GUI_Startup
- Make separate condition for disabling internal render scaling with xBRZ to facilitate easier reconfiguration
- Implement online xBRZ parameters reconfiguration along with other scaler parameters, reset GFX on scaler change from xBRZ and back
- When reconfiguring output online, don't forget about aspect correction offload flag
2018-06-29 23:35:06 +03:00
Alex/AT
4286b5d884 - OUTPUT/SURFACE: add two new aspect correction modes for 'surface' output: 'nearest' and 'bilinear'. The benefit is these don't alter source image but post-scale it to correct aspect, allowing complex scalers like hq2x/hq3x to work properly. The tradeoff is CPU power required. 2018-06-29 21:01:00 +03:00
Alex/AT
b0b406d8e5 - OUTPUT: Fix aspect ratio correction for Direct3D and OpenGL output modes, fix default window sizing for aspect correction, fix 'jumpy' behavior during window resizing with aspect ratio correction
- OUTPUT: Offload aspect ratio correction for Direct3D and OpenGL output modes from render code (these modes do it themselves)
- xBRZ: Also offload it when xBRZ scaler is enabled (xBRZ does not like line duplication and can do correction itself)
- OUTPUT: Store source aspect ratio translation parameters under 'sdl' structure, this may be used eventually for non-square pixel monitors aspect ratio correction
- xBRZ: Make sure xBRZ scaler honors aspect ratio correction flag in 'surface' mode of operation and controls aspect ratio correction offload when enabling/disabling itself
- xBRZ: Factor out scaling factor setup into its own function
- xBRZ: Fix up duplicated code path breaking 'surface' output
- MAIN: Split 'overlay' mode defaulting from primary 'if' set, making it simply choosing D3D/OGL/surface before primary 'if' goes
- DOC: README.xbrz
- DOC: clarify that SDL structure is initialized to zero in code comment, initialize defaults after memset()
2018-06-28 18:58:15 +03:00
Aybe
b7cb158f45 Added missing field in struct. 2018-06-01 19:55:21 +02:00
Jonathan Campbell
d61c914b9c enum SCREEN_TYPES was defined twice. Once in menu.cpp and once in sdlmain.cpp. Consolidate into one copy in a header so that adding screen types is easier. 2018-02-26 19:29:29 -08:00
Jonathan Campbell
5627bf0e10 When setting up renderer, store the GFX flags obtained for decisions
later on.
2018-01-09 03:08:58 -08:00
Jonathan Campbell
ffbad0b2b3 svn mainline r3878:
Year update.
2015-01-25 21:13:25 -08:00
Jonathan Campbell
6d1bee6256 remove visualc platform code. remove Thread Building Blocks usage. 2013-10-20 00:50:31 -07:00
Jonathan Campbell
21614b8c3f toss out my copy, integrate tawoongs's daum branch code into mine,
remove what won't compile, begin work.
2013-10-14 05:07:26 -07:00
root
f331824031 port from svn 2013-07-07 20:39:49 -07:00