Commit Graph

1544 Commits

Author SHA1 Message Date
Miodrag Milanovic
4afd75e2fd Cleanups and version bump 2015-12-30 08:18:51 +01:00
Miodrag Milanovic
5d1eb49824 Make SDL2 use software if hardware acceleration is not available 2015-12-27 18:25:13 +01:00
Miodrag Milanovic
fd21d7accb Do not add this for other then windows (nw) 2015-12-27 13:51:16 +01:00
Miodrag Milanovic
4810f2e98e Fix for windows Qt5 compile (nw) 2015-12-27 13:49:04 +01:00
Olivier Galibert
9d231a83ad qt5 debugger port [O. Galibert] 2015-12-27 12:58:00 +01:00
Miodrag Milanović
851f66aff9 Merge pull request #522 from ImJezze/pull
HLSL: Improved Defocus, Fixed LCD screen, Extended Shadow Mask and Bloom [ImJezze]

Made defocus strength equal for x/y and independent from screen size

defocus is now independent from screen size and ratio
horizontal and vertical defocus now have the same strength
replaced asymmetric defocus kernel by a symmetric kernel
defocus is now limited to a maximum of 10
added shader uniforms for orientation and rotation settings
Fixed HLSL for LCD screen

fixed wrong detection of vector screen, which meant that a LCD screen was also detected as vector screen
re-enabled scan-line and other CRT related sliders for LCD screen
Extended Shadow Mask and Bloom functionality

added shadow mask option to choose between "Screen" and "Source" tile mode ("Screen" is the default as before)
added bloom option to choose between "Addition" and "Darken" blend mode ("Addition" is the default as before)
the alpha channel of a shadow mask is now filled with the background color of the screen by the amount of the inverted alpha value
added monochrome-matrix.png which can be used in combination with "Source" tile mode and "Darken" blend mode to simulate a STN LCD
2015-12-26 14:19:44 +01:00
ImJezze
ff77b7897b Cleanup (nw)
- renamed shadow_mask_type to shadow_mask_tile_mode
- renamed bloom_type to bloom_blend_mode
- implemented "Source" shadow mask tile mode for artwork_support/post.fx
2015-12-26 12:27:07 +01:00
yz70s
a8ef53fa51 debugint.cpp: fix uninitialized variable error (nw) 2015-12-25 20:18:31 +01:00
ImJezze
1b373eb812 Extended Shadow Mask and Bloom functionality
- added shadow mask type option to choose between "Screen" and "Source"
tile mode ("Screen" is the default as before)
- added bloom type option to choose between "Addition" and "Darken"
blend mode ("Addition" is the default as before)
- the alpha channel of a shadow mask is now filled with the background
color of the screen by the amount of the inverted alpha value
- added monochrome-matrix.png which can be used in combination with
"Source" tile mode and "Darken" blend mode to simulate a STN LCD, for
example
2015-12-25 20:02:47 +01:00
ImJezze
099f547d05 Fixed HLSL for LCD screen type
- fixed wrong detection of vector screen, which meant that a LCD screen
was also detected as vector screen
- re-enabled scan-line and other CRT related sliders for LCD screens
2015-12-24 14:06:01 +01:00
ImJezze
b1f1300517 Made defocus strength equal for x/y and independent from screen size
- defocus is now independent from screen size and ratio
- horizontal and vertical defocus now have the same strength
- replaced asymmetric defocus kernel by a symmetric kernel
- defocus is now limited to a maximum of 10
- added shader uniforms for orientation and rotation settings
2015-12-20 13:57:28 +01:00
arbee
89ec79c953 Support 64 and 80-bit floats in OS X debugger (nw) 2015-12-19 22:08:45 -05:00
mahlemiut
4facaf6c24 Stop internal debugger windows from drawing space characters, speeds rendering up quite a bit. 2015-12-19 21:36:34 +13:00
mahlemiut
043eed6171 Make new internal debugger windows appear in a cascade-like position, and give some windows better default sizes. Change render_target::debug_top() to put targets at the end of the target list, fixing the order in which windows are rendered (nothing else uses this function). 2015-12-17 19:10:31 +13:00
mahlemiut
73276c7ae8 Stop internal debugger window title and editors from drawing text outside the bounds of the window. 2015-12-15 19:41:38 +13:00
mahlemiut
bbf703252e Made internal debugger window editors appear over the window to which it is related (makes it a little bit clearer). 2015-12-14 15:03:13 +13:00
mahlemiut
408edf4f77 Base the size of internal debugger window title bars on the font size. 2015-12-13 23:33:05 +13:00
mahlemiut
14d5966a37 Internal debugger now honours the -debugger_font and -debugger_font_size options. 2015-12-13 20:54:13 +13:00
mahlemiut
27d7781b7c Add memory window to internal debugger. 2015-12-12 21:56:34 +13:00
Miodrag Milanovic
379581fb36 macro removal INLINE -> static inline (nw) 2015-12-12 08:58:57 +01:00
mahlemiut
799c299ade Make internal debugger windows just a bit more pleasing to the eye. 2015-12-12 13:31:21 +13:00
mahlemiut
3c628e4681 Giving the internal debugger a bit of love. Make closed windows actually disappear, and add a Run and Hide Debugger option. Also spaced out initial windows, so that they aren't on top of each other to start with. 2015-12-11 22:50:25 +13:00
Miodrag Milanovic
3414b0166e tagmap_t to std::unordered_map or std::unordered_set where applicable (nw) 2015-12-09 21:14:13 +01:00
Miodrag Milanovic
52612a9fdd cleanup of osdcomm.h (nw) 2015-12-09 15:20:48 +01:00
Miodrag Milanovic
791743976e Revert "Cleanup of osdcomm.h (nw)"
This reverts commit 1d40aecb58.
2015-12-09 11:37:33 +01:00
Miodrag Milanovic
1d40aecb58 Cleanup of osdcomm.h (nw) 2015-12-09 10:50:20 +01:00
Miodrag Milanovic
bc86cde3c6 VS2012 is not supported anymore (nw) 2015-12-07 19:41:55 +01:00
yz70s
e76dc64868 Show 64 and 80 bit floats in windows and qt debugger (issue #476) 2015-12-06 23:33:03 +01:00
Cowering
b910bf5a85 missed two (nw) 2015-12-06 14:01:59 -06:00
Cowering
418d057e97 fix SDL on Windows compile 2015-12-06 13:56:05 -06:00
Miodrag Milanovic
784a5e690a implementation must be removed too (nw) 2015-12-06 16:44:45 +01:00
Miodrag Milanovic
5a3352a6b0 Fix clang build on OSX/Linux 2015-12-06 16:40:18 +01:00
Miodrag Milanovic
93d0471081 Fix clang build on OSX/Linux 2015-12-06 16:39:38 +01:00
Miodrag Milanovic
ff21376524 fix for non-windows os (nw) 2015-12-06 16:33:16 +01:00
Miodrag Milanovic
3ee9b6cee4 fixing some more override (nw) 2015-12-06 09:23:23 +01:00
Miodrag Milanovic
3e5898124e some core c++11 narrowing fixes (nw) 2015-12-04 15:03:26 +01:00
Miodrag Milanovic
379c9afa5f Fix narrowing (nw) 2015-12-04 08:50:24 +01:00
Miodrag Milanovic
5a2f80dcde clang-modernize part 5 2015-12-04 07:06:18 +01:00
Miodrag Milanovic
91605d3f4d clang-modernize part 1 (nw) 2015-12-03 18:17:25 +01:00
Miodrag Milanovic
92f81361d6 Initial conversion of core to C++14. Note that compilers are now limited to GCC 4.9.0 and up, Clang 3.4.0 and up, and VS2013 and up [Miodrag Milanovic] 2015-12-03 11:40:45 +01:00
arbee
1c7c1e479a Support float view in OS X debugger (nw) 2015-11-30 21:34:29 -05:00
yz70s
0b0701b32d Show 32 bit floating point values in qt debugger memory view (issue #476)
Since i was at it also 8 byte chunks
2015-11-30 22:49:03 +01:00
yz70s
b052dcb402 First commit for issue #476
"byte per chunk" is sostituted by "data format"
  data formats lesser than 9 work as before, data format 9 is 32 but floating point
  in the debug_view_memory class method bytes_per_chunk is substituted by get_data_format, set_bytes_per_chunk is substituted by set_data_format
  floating point values cannot be edited
  currently floating point values are available only in the windows debugger, next commit will add them to the qt debugger, osx i won't be able to do it
  afterwards 64 and 80 bit formats will be added
2015-11-30 10:15:25 +01:00
Miodrag Milanovic
0825ce4f3b Cleanups and version bump 2015-11-25 08:22:24 +01:00
Justin Kerk
7470f47f23 Warning fix (nw) 2015-11-24 21:06:14 +00:00
Justin Kerk
9744037cd7 Compile with Emscripten out of the box. [Justin Kerk] 2015-11-24 15:38:42 +00:00
arbee
fee2af52af Updated OS/2 support [KO Myung-Hun] 2015-11-23 21:24:58 -05:00
ImJezze
1cda42b22e Fixed missing shadow mask
- fixed missing shadow mask texture when switching between window mode
and full screen
2015-11-20 12:42:19 +01:00
ImJezze
0095c77163 Cleanup (nw)
- removed some tabs at line ends
2015-11-18 18:09:09 +01:00
ImJezze
d5c6dc78e9 Cleanup
- fixed not used HLSL settings from <custom>.ini if MAME was started
without driver parameter
- removed default values from HLSL sliders, the defaults here are more
like null values to hint when an effect would be disable
- slightly changed default HLSL settings
2015-11-18 18:01:01 +01:00