91 Commits

Author SHA1 Message Date
Wengier
a01ac1c168 support for GLSL shader on both SDL1 and SDL2 builds 2020-09-20 22:44:38 -04:00
Wengier
06ede161b0 more 2020-08-01 10:27:04 -04:00
Wengier
bc1897bbca Add euro= option to display Euro symbol 2020-07-11 22:18:46 -04:00
Wengier
356902856f Fixes aspect save/load 2020-07-05 14:51:18 -04:00
rderooy
be6b40a3ce Update (c) year and FSF address 2020-06-25 09:31:36 +02:00
Wengier
aeda4b538a
Move the mapper item 2020-06-04 21:15:16 -04:00
Wengier
53693382a5
save state 2020-06-03 21:49:43 -04:00
makise-homura
3fffb827eb SSE2 is always available on Elbrus 2020-05-27 01:05:56 +03:00
Jonathan Campbell
65e36e41d3 When the render scaler is given a mode it does not like, log that it rejected it instead of leaving a frozen screen that confuses the user 2019-12-28 19:22:00 -08:00
Allofich
94ed2edc75 Fix Cppcheck knownConditionTrueFalse warnings 2019-10-19 22:06:27 +09:00
Allofich
bc2421715d Silence redundant assignment warnings 2019-10-13 17:48:26 +09:00
Jonathan Campbell
e5548cfe18 Add flag to video capture handler to indicate frame did not change according to render/GFX functions. Add code to AVI writer to support writing NULL non-keyframe video chunks to the AVI instead of feeding unchanged frames to the ZMBV encoder. Add dosbox.conf option to enable this performance and bandwidth optimization with future reminder to enable by default if option does not cause issues 2019-09-30 23:34:15 -07:00
Jonathan Campbell
34b693360f more 2019-09-30 12:20:28 -07:00
Jonathan Campbell
a182f241f5 Render scalers: Add Normal2x versions of DW (double width) and DH (double height) scalers so the user can at least force 2x scaler for VGA 320x200 and 640x200 modes and CGA 640x200 modes. Prior to this addition, force scaler did not work with those CGA/VGA modes 2019-09-30 12:05:33 -07:00
Allofich
46e6fc20b1 Type-conversion warning fixes 2019-06-29 22:51:44 +09: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
Allofich
1010103aa7 SVN r4044
Match handling of -scaler and -forcescaler to other commandline options are handled.
2019-05-19 17:18:31 +09:00
Allofich
315fa4c9f6 SVN r3862
lower the influence of the aspect table correction trick when using high scale factors (320x200 =>2000x1200)
2019-04-29 00:15:43 +09:00
Jonathan Campbell
90692d1de1 The gray scaler was stuck on 1x because of a typo. Fix the typo and reenable gray2x 2019-04-05 13:23:59 -07:00
Jonathan Campbell
26f07e1115 gray2x does not upscale by 2x, rename to gray 2019-04-05 13:10:54 -07:00
frank-deng
d42722b1bd Add gray2x scaler for grayscale effect 2019-04-05 21:49:17 +08:00
frank-deng
c7c337d254 Get option monochrome_pal worked 2019-04-04 00:36:45 +08:00
frank-deng
56b9edb221 Fix typo 2019-04-03 23:49:25 +08:00
frank-deng
4d44624e6b Add configuration for monochrome color 2019-04-03 13:16:39 +08:00
frank-deng
6ae98618ab Try to apply scandh and tvdh render for 640x200 mode 2019-04-03 11:44:29 +08:00
Jonathan Campbell
2f8381dfdb cleanup 2019-02-14 00:46:22 -08:00
Jonathan Campbell
d9aeeb1df0 retab 2019-02-14 00:44:59 -08:00
Jonathan Campbell
cca84bd4ca alt vga option, cmd line 2018-12-14 01:32:02 -08:00
Jonathan Campbell
244e1d3871 config option 2018-12-14 01:27:15 -08:00
Jonathan Campbell
bc40732ff8 Render: consolidate scanline compare 2018-12-04 21:06:31 -08:00
Jonathan Campbell
ce02c87d2d Render scaler: The simplified version should not trigger on a change line and render the WHOLE frame. It should blindly render some scan lines, then return to checking for changes before doing another block 2018-12-04 21:02:04 -08:00
Jonathan Campbell
b2a64288c5 Refresh Test debug command, mapper shortcut, to debug screen refresh 2018-12-04 19:43:12 -08:00
Jonathan Campbell
7778bc2b46 Revert "Partial screen update option"
This reverts commit c5f2a7ffd13841116e155cb9082b7fee6c56b3a6.
2018-12-04 00:18:03 -08:00
Jonathan Campbell
c5f2a7ffd1 Partial screen update option 2018-12-03 23:27:43 -08:00
Jonathan Campbell
801347895f Uh, it helps to refresh the menu item after checking. This should fix failure to check forced scaler in Windows 2018-11-25 08:50:01 -08:00
Jonathan Campbell
2f3010e593 SDL2: Make "fit aspect ratio" work for SDL2 builds 2018-11-25 01:49:51 -08:00
Jonathan Campbell
af529f28a3 Fix render scaler code to reinitialize display properly when using CONFIG -set render scaler= to change scaler and force settings 2018-11-23 18:18:22 -08:00
Jonathan Campbell
aaca8420b0 Fix video aspect ratio option to keep menu synchronized with setting even if set by CONFIG -set render aspect= 2018-11-23 18:08:22 -08:00
Alex/AT
acf215044e Merge branch 'master' of https://github.com/joncampbell123/dosbox-x into sdlmain_refactor 2018-07-05 12:06:21 +03:00
Jonathan Campbell
9169f55b25 Fix renderer sizeof int p again 2018-07-01 10:08:48 -07:00
Jonathan Campbell
bc92e16a84 Fix redefinition of SIZEOF_INT_P in renderer 2018-07-01 10:07:19 -07:00
Jonathan Campbell
9135cda139 Fix undefined sse2_available ref in render.cpp 2018-07-01 10:06:25 -07:00
Alex/AT
b8566be6f1 Merge branch 'master' of https://github.com/joncampbell123/dosbox-x into sdlmain_refactor 2018-07-01 12:50:07 +03: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
Jonathan Campbell
d90084e76b Update display aspect ratio on render mode set 2018-06-30 10:43:47 -07: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
Jonathan Campbell
987debe1c1 Fix configuration loading to read xbrz settings only if C_XBRZ is enabled 2018-06-29 14:14:27 -07: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