Miodrag Milanovic
be67262fc2
INC -> HXX makes editors and code analyzers see it as C++ (nw)
2016-05-01 20:27:50 +02:00
AJR
b3578a6ec8
Merge remote-tracking branch 'upstream/master' into mui
2016-04-27 15:42:06 -04:00
Miodrag Milanovic
cfee536f22
Cleanups and version bump
2016-04-27 08:13:59 +02:00
AJR
e06384aaba
Relieve UI menus and such from having to constantly fetch UI object from global state (nw)
2016-04-26 16:37:43 -04:00
Miodrag Milanovic
f440d5b957
Reset menu on toggle fullscreen [barlog]
2016-04-26 19:58:11 +02:00
balr0g
dc85827687
Clean up extended ASCII (nw)
2016-04-26 11:14:09 -04:00
therealmogminer@gmail.com
36ad386e5f
Reapply balrog's fix
2016-04-26 12:39:06 +02:00
therealmogminer@gmail.com
ed3eb38382
Fix preservation of settings when changing screen chain selection with multiple screens, nw
2016-04-26 12:39:05 +02:00
Miodrag Milanovic
bcb1b85de5
Fixed Alt-Enter on SDL (nw)
2016-04-26 09:21:55 +02:00
Miodrag Milanovic
c5cd671e89
fix windows compile (nw)
2016-04-26 08:09:32 +02:00
balr0g
983ce4cae0
Revert "Fix crash when switching screen chains (nw)" upon request (nw)
...
This reverts commit 3e1af09ef5
.
2016-04-25 11:53:22 -04:00
Miodrag Milanovic
a301260017
Fix for Alt-Enter on Brad code (nw)
2016-04-25 17:34:47 +02:00
Miodrag Milanovic
9c2ef88573
Revert "Temp revert of Brad changes (nw)"
...
This reverts commit 5e831f6506
.
2016-04-25 17:22:25 +02:00
Miodrag Milanovic
5e831f6506
Temp revert of Brad changes (nw)
2016-04-25 17:09:47 +02:00
balr0g
3e1af09ef5
Fix crash when switching screen chains (nw)
2016-04-25 11:02:29 -04:00
mahlemiut
b5bfde99e3
debugimgui: added keyboard input for the debug view with focus.
2016-04-25 13:58:14 +12:00
therealmogminer@gmail.com
ea6bc4d8ce
bgfx: Ported xBR shaders from libretro. [Ryan Holtz, Hyllian]
2016-04-25 02:12:59 +02:00
ImJezze
07d8b25571
Added "selection" parameter to chain input sampler
...
- if specified all textures (.png) within the same directoy of the given texture will be selectable via slider in the UI
- also added slider for "shadow mask tile mode" to HLSL chain
2016-04-24 20:36:42 +02:00
Miodrag Milanovic
c8c6617862
Fix Clang build (nw)
2016-04-24 13:24:58 +02:00
Miodrag Milanovic
89c5e1f681
Various cleanups suggested by static analyzer (nw)
2016-04-24 12:58:31 +02:00
Miodrag Milanovic
ff2c95e3bf
enabled internal debugger, but this would need to go in time, it is too coupled with UI (nw)
2016-04-23 14:22:46 +02:00
mahlemiut
583eaef9f0
debugimgui: Optimised rendering by drawing text via the window draw list.
2016-04-23 22:56:09 +12:00
Miodrag Milanovic
d4d9774272
changes for UWP (nw)
2016-04-23 12:45:06 +02:00
Miodrag Milanovic
1c726824f2
Split UI and frontend part from core [Miodrag Milanovic]
2016-04-23 11:26:47 +02:00
ImJezze
b681e5dc2b
Simplified min, max, default and step value handling for chain configuration
...
- min, max, default and step are now floating points without an addition scale factor
2016-04-22 19:32:35 +02:00
ImJezze
dba12a31ad
Small fixes (nw)
...
- fixed not used u_humbar_hertz_rate parameter
- fixed half pixel shift of the shadow mask along the screen diagonal
2016-04-22 13:16:37 +02:00
Miodrag Milanović
6eb5b8a474
Merge pull request #826 from bradhugh/shared_ptr2
...
Refactor OSD window.
2016-04-21 19:28:01 +02:00
Brad Hughes
1a844a49c5
Refactor OSD window.
...
Unified renderer in osd_window as std::unique_ptr
Made windows all std::shared_ptr<window_type>
Made window lists std::list<std::shared_ptr<window_type>>
Updated OSD SDL worker_param to not use malloc (not compatible with smart
pointers)
Made renderer pointer to window a weak reference. May not be available
during destruction of the window.
2016-04-21 11:10:03 -04:00
Miodrag Milanovic
b69d285eab
works for sub folders of CHAIN folder specified (nw)
2016-04-21 15:50:15 +02:00
therealmogminer@gmail.com
f5aa86dfc6
Checkpoint 1, nw
2016-04-21 15:48:29 +02:00
Miodrag Milanovic
ff27716bec
compile just one chain with
...
make shaders CHAIN=unfiltered
2016-04-21 15:21:08 +02:00
mahlemiut
5e26d00e6b
debugimgui: added sending of mouse clicks to debugger views. Please note that you have to click the view area first to give it focus before you can set the cursor in a disassmbler or memory view.
2016-04-21 21:29:05 +12:00
ImJezze
6e9ef69b7c
Fixed b1c06ac
(nw)
2016-04-21 09:59:10 +02:00
ImJezze
b1c06acb61
Implemented handling for u_screen_scale and u_screen_offset (nw)
2016-04-21 07:52:29 +02:00
dankan1890
a72ad0c4fe
fix sdl build. (nw)
2016-04-21 06:48:26 +02:00
Miodrag Milanovic
a314888cf6
SDL cleanup (nw)
2016-04-20 10:21:27 +02:00
Miodrag Milanovic
8318d85597
Isolate CLI part (nw)
2016-04-20 09:50:13 +02:00
Miodrag Milanović
2ee3949169
Merge pull request #823 from ajrhacker/deviter
...
Iterate over devices C++11 style [AJR]
2016-04-20 09:19:08 +02:00
ImJezze
cd4dfca43e
Refactored BGFX distortion pass (nw)
...
- also removed vector hack
2016-04-19 21:18:16 +02:00
ImJezze
8ed3a7d94a
Refactored distortion pass
...
- separated curvature parameter into distortion, cubic_distortion and distort_corner
- distortion and cubic_distortion can be negative, to compensate each other
- distort_corner is intependent from the image distortion
2016-04-19 21:13:20 +02:00
therealmogminer@gmail.com
c97e2cb590
Merge branch 'master' of https://github.com/mamedev/mame
2016-04-19 16:30:43 +02:00
therealmogminer@gmail.com
f8034ac812
bgfx: Added SuperEagle shader. [Ryan Holtz]
2016-04-19 16:29:30 +02:00
Brad Hughes
ee6872dc68
Add UWP implementation for cursor methods
2016-04-18 19:05:45 -04:00
AJR
084d3654ca
Iterate over devices C++11 style
...
Replace the old device_iterator and its specialized versions with functionally equivalent classes that use standard operators to yield references to devices/interfaces rather than pointers. With range-based for loops, they no longer have to be stored in named variables, though they can also be reused concurrently since the iteration state is now maintained by a subclass.
Add a few more typical getters to device_t::subdevice_list.
2016-04-18 18:53:28 -04:00
David Haywood
3ab4ced499
fix compile (nw)
2016-04-18 21:07:49 +01:00
couriersud
118658da9d
These init calls all returned false. No need for a return value in this
...
case. [Couriersud]
2016-04-18 21:28:07 +02:00
couriersud
aef55ded1f
soft is hard and hard is soft. Two is one and one is two. No wonder
...
"-video accel" has substandard performance if opengl is disabled.
[Couriersud]
2016-04-18 20:37:28 +02:00
therealmogminer@gmail.com
c64b88bc78
-Added HQ2x, HQ3x and HQ4x shaders. [MooglyGuy,Jules Blok,Cameron Zemek,Maxim Stepin]
2016-04-18 19:40:07 +02:00
couriersud
82188dee99
Fix *nix compile.
2016-04-18 18:46:12 +02:00
Brad Hughes
afbb4b6581
Check that we have a window before updating cursor state
2016-04-18 11:32:03 -04:00
Brad Hughes
870db16e99
Standardize platform window pointer storage in osd_window.
...
Also encapsulate show/hide capture/release cursor functionality.
2016-04-18 10:03:01 -04:00
therealmogminer@gmail.com
8a07dafbaf
Fix crash with -video none, nw
2016-04-18 13:13:22 +02:00
mahlemiut
6db5aa2322
debugimgui: added error log window, and limited the debugger console to display 100 lines, so that rendering it doesn't get too slow.
2016-04-18 19:48:01 +12:00
mahlemiut
5c4ef7ac70
debugimgui: Removed some unused stuff, renamed window class.
2016-04-18 16:12:43 +12:00
Brad Hughes
73bf0b9521
Merge branch 'master' of https://github.com/mamedev/mame.git
2016-04-17 16:35:27 -04:00
Brad Hughes
a525b60817
Fixed missing diagnostic module include.
2016-04-17 16:35:21 -04:00
couriersud
162033204f
Fix clang compile.
2016-04-17 22:30:55 +02:00
Brad Hughes
ef4f80b4a4
Create diagnostic module for profiling and crash diagnostics
2016-04-17 16:22:51 -04:00
therealmogminer@gmail.com
e6a54bcc23
Minor fixups to pillarboxing shaders
2016-04-17 20:43:10 +02:00
therealmogminer@gmail.com
250a5cc805
Add AVI writing to bgfx, nw
2016-04-17 19:16:14 +02:00
ImJezze
a45d713ad6
HLSL settings are reset now, when a new machine is selected
2016-04-17 14:20:27 +02:00
mahlemiut
74dd3287e5
Added ImGui based debugger. [Barry Rodewald]
...
Note: Currently only works with the BGFX renderer. Anyone who wishes to
write a ImGui backend for other renderers are welcome to do so.
2016-04-17 23:50:50 +12:00
therealmogminer@gmail.com
32464738c6
Fix compile error on SDL targets
2016-04-16 21:35:14 +02:00
ImJezze
ac6903e05e
Merge branch 'master' of https://github.com/GiuseppeGorgoglione/mame
...
# Conflicts solved:
# src/osd/modules/render/d3d/d3dhlsl.cpp
2016-04-16 18:38:59 +02:00
therealmogminer@gmail.com
bff9111a30
Add pillarboxing shaders and layout for bgfx, nw
2016-04-16 15:30:40 +02:00
Brad Hughes
f7c9b7095e
Use std::chrono instead of GetTickCount in window.cpp/h for Windows OSD
2016-04-15 22:55:01 -04:00
dankan1890
1e3037baf7
ui: Re-enabled configuration menu for single-machine and added some options.
...
Adding handler for the right mouse button in the main menu, calls the machine configuration.
2016-04-15 17:48:05 +02:00
dankan1890
a0715c7c40
Reduction code for entries of "enum class ui_menu_item_type" and the use of item_append with separators.
2016-04-15 17:39:45 +02:00
Miodrag Milanovic
570c743fcd
this is no issue anymore (nw)
2016-04-15 16:16:56 +02:00
Miodrag Milanovic
0bcc96406d
renamed class to osd_watchdog (nw)
2016-04-15 16:08:28 +02:00
Miodrag Milanovic
37c94e3373
Update windows to use platform independent watchdog implementation (nw)
2016-04-15 16:01:35 +02:00
Miodrag Milanovic
59662e6c71
moved osdsync to root of OSD, removed osdmini (nw)
2016-04-15 15:19:24 +02:00
Miodrag Milanovic
a83a3c4497
lower deps on clifront.h (nw)
2016-04-15 14:10:47 +02:00
therealmogminer@gmail.com
99aa7eacd7
bgfx: Add data-driven render target clearing [Ryan Holtz]
2016-04-14 17:22:24 +02:00
ImJezze
32f0e6efac
Removed hacks for vector screens from shaders (nw)
...
- added handling of texture coordinates for vector screens to core render
- added handling of orientation/rotation for vector screens to D3D renderer
2016-04-13 19:21:57 +02:00
Brad Hughes
fc53a500f6
Merge branch 'master' of https://github.com/mamedev/mame.git
2016-04-11 23:33:56 -04:00
Brad Hughes
faef055aa6
Fix BACKSLASH2 SDL key mapping
2016-04-11 23:33:46 -04:00
couriersud
612e4f8810
Refactored osd_work to become more c++. Bye to malloc and memset.
2016-04-11 01:34:29 +02:00
Brad Hughes
2a6e17c438
Merge branch 'master' of https://github.com/mamedev/mame.git
2016-04-10 17:18:32 -04:00
Brad Hughes
ea0a6844f7
Skeleton implementation for Universal windows main app classes.
2016-04-10 17:18:23 -04:00
arbee
2d2f52e858
fix SDL compile (nw)
2016-04-10 16:13:55 -04:00
Brad Hughes
c4d91605fc
Merge branch 'master' of https://github.com/mamedev/mame.git
2016-04-10 13:34:23 -04:00
Brad Hughes
114a8f8218
Fix bug in Xinput DPAD POV mapping.
2016-04-10 13:33:26 -04:00
therealmogminer@gmail.com
dd9c9a0fb3
Make OSDs return ui_menu_item lists, not slider_state lists
2016-04-10 19:22:31 +02:00
Miodrag Milanovic
ffbe0c66be
Basic TCP server based on libuv [Inaki Baz Castillo,Miodrag Milanovic]
2016-04-10 17:03:51 +02:00
therealmogminer@gmail.com
fa92550ddb
Add dividing line to bgfx slider list where applicable, nw
2016-04-10 13:13:10 +02:00
Vas Crabb
c569c7c9ad
Add render.h no longer indirectly supplied via emu.h <- ui/ui.h
2016-04-10 17:55:18 +10:00
couriersud
a107408a08
Fix compile on linux and windows.
2016-04-10 04:46:23 +02:00
couriersud
3b951313a4
Fixed linux compile.
2016-04-10 03:24:09 +02:00
couriersud
9d4af9a834
convert osd_event into a class. Since all is std:: now, reduce to
...
inlineable code.
2016-04-10 02:46:31 +02:00
therealmogminer@gmail.com
f10de4fa46
Fix memory leak when changing screen chains, will fix any issues later, nw
2016-04-10 02:38:08 +02:00
therealmogminer@gmail.com
8719535cbc
Make sliders use an std::vector instead of a linked list, nw
2016-04-10 02:38:08 +02:00
couriersud
3ab596e445
Fix linux compile.
2016-04-10 02:08:22 +02:00
Brad Hughes
2c273f6719
Correct trigger axis. XInput small code cleanup.
2016-04-09 19:53:43 -04:00
therealmogminer@gmail.com
66cc460224
Fix compile on windows, nw
2016-04-10 00:48:38 +02:00
couriersud
db1e7f6b07
Include modules/osdwindow.h instead of window.h.
2016-04-09 23:45:41 +02:00
couriersud
c091005ca4
Fix OSX compile. Thanks balrog!
2016-04-09 23:45:41 +02:00
couriersud
5f6e20d6a6
Fix SDL build on linux:
...
- removed inclusion of SDL headers in all headers.
- replaced those by forward declarations and in one case by a wrapper
class (for a typedef struct).
- added -Wno-strict-prototypes to 7z build (gmake target)
2016-04-09 22:21:58 +02:00
therealmogminer@gmail.com
19d51345a1
Add runtime screen chain selection, nw
2016-04-09 19:15:47 +02:00
Miodrag Milanovic
a14994c6c0
Added skeleton for network output (nw)
2016-04-09 15:19:43 +02:00
Miodrag Milanovic
2f974586d6
Added none and console output providers (nw)
2016-04-09 15:19:43 +02:00
Miodrag Milanovic
39c9c8c5dc
Remove os dependant output handling (nw)
2016-04-09 15:19:43 +02:00
couriersud
706b8b363a
Add includes for dependency documentation. (nw)
2016-04-08 20:33:42 +02:00
Miodrag Milanovic
d00185936b
Try to fix issue on some linux platforms (nw)
2016-04-08 13:27:02 +02:00
Miodrag Milanovic
595d930f25
fix
2016-04-08 10:33:12 +02:00
Miodrag Milanovic
0f69c325ad
Revert "Fix SDL compile on linux. Took the opportunity to remove a number of"
...
Partial revert only, some changes still in
This reverts commit 632b10cd0e
.
2016-04-08 10:30:18 +02:00
Miodrag Milanovic
d11b3c6655
Revert "compile fix on windows (nw)"
...
This reverts commit f862b77520
.
2016-04-08 10:23:57 +02:00
Miodrag Milanovic
f862b77520
compile fix on windows (nw)
2016-04-08 09:20:15 +02:00
couriersud
632b10cd0e
Fix SDL compile on linux. Took the opportunity to remove a number of
...
"emu.h" includes from src/osd/modules/render/bgfx code.
There is still a conflict between mame memory.h and bgfx memory.h to be
resolved.
2016-04-08 03:30:12 +02:00
Antonio Giner
c402c87dc0
Fix keepaspect & unevenstretch toggles in SDL OSD
2016-04-07 18:36:00 +02:00
therealmogminer@gmail.com
4f66357f9e
Pull a bunch of screen chain code from drawbgfx to chainmanager where it belongs, nw
2016-04-06 17:02:31 +02:00
Brad Hughes
9db1556541
Make XInput triggers centered at 0
2016-04-06 10:18:47 -04:00
Brad Hughes
a0ba9bc8c7
Make Xinput triggers analog
2016-04-06 09:44:02 -04:00
Brad Hughes
42bc565cfb
Use XAudio2 by default if available.
2016-04-05 20:52:15 -04:00
Miodrag Milanovic
c211202b6e
Fixed typo and updated shaders (nw)
2016-04-05 20:07:22 +02:00
Brad Hughes
89b21ff822
Merge branch 'master' of https://github.com/mamedev/mame.git
2016-04-05 09:58:52 -04:00
Brad Hughes
31d425e866
Release WMI COM objects correctly in XInput device discovery.
2016-04-05 09:58:29 -04:00
Miodrag Milanovic
06415edd9e
Added some more files to bgfx build and initialize imgui (nw)
2016-04-05 15:50:08 +02:00
Giuseppe Gorgoglione
990476526c
Save Windows post-fx scheenshots as a single .png
...
Currently in Windows post-fx screenshots (L-ALT + F12) are split in 4 chunks and saved as 4 separate .png files. This was probably done to facilitate fx code debugging, since post-fx screenshots are usually very big and old monitors were low in resolution. With current monitors this shouldn't be a problem any more.
2016-04-05 13:35:12 +02:00
Giuseppe Gorgoglione
74999d3749
Fix Windows rendering after post-fx snapshot or video recording
...
In Windows OSD, when post-processing effects are enabled, after taking a post-fx screenshot (L-ALT + F12) or enabling post-fx video recording (L-SHIFT + L-ALT + F12) the window is not updated anymore while the emulation goes on normally. This patch fixes that.
2016-04-05 13:20:04 +02:00
Miodrag Milanovic
2becb82ad1
fix compile on non-windows platforms (nw)
2016-04-05 09:57:20 +02:00
Miodrag Milanovic
90ca7b2422
Simplify include for shaders (nw)
2016-04-05 08:55:49 +02:00
Miodrag Milanovic
2904597f18
Added sample shader (nw)
2016-04-05 08:55:08 +02:00
Miodrag Milanovic
125acc0ff7
Updated makefile to support shaders in multiple dirs (nw)
2016-04-05 08:54:33 +02:00
Brad Hughes
3dd8afd6c0
Hybrid DirectInput/XInput module
2016-04-04 22:01:00 -04:00
Miodrag Milanovic
61ea1f20f2
move common struct to common place (nw)
2016-04-04 14:30:54 +02:00
Brad Hughes
eae8eb8b00
winmain compile for UWP
2016-04-03 21:49:38 -04:00
Miodrag Milanovic
bad2e6199e
Not needed anymore after move to C++11 features (nw)
2016-04-03 19:47:44 +02:00
Miodrag Milanovic
cea094a3a3
moved aueffectutil to tools (nw)
2016-04-03 19:06:06 +02:00
dankan1890
37f39ecf3c
Small changes. (nw)
2016-04-03 18:45:34 +02:00
Miodrag Milanovic
74f95ba03e
Fix linux compile (nw)
2016-04-03 18:02:14 +02:00
Miodrag Milanovic
5e80a732aa
move clipboard handling on proper place (nw)
2016-04-03 17:55:10 +02:00
Miodrag Milanovic
0730ffc328
sync (nw)
2016-04-03 17:55:10 +02:00
Miodrag Milanovic
d8aa889edf
merge main.cpp for windows platform (unicode) (nw)
2016-04-03 17:55:10 +02:00
Miodrag Milanovic
26c8434a70
removed deprecated doc (nw)
2016-04-03 17:21:14 +02:00
Miodrag Milanovic
796f890450
removed testkeys (nw)
2016-04-03 17:19:41 +02:00
Miodrag Milanovic
bd0abfd004
moved emscripten resources (nw)
2016-04-03 17:19:41 +02:00
Miodrag Milanovic
528a39fc54
moved man files to proper location (nw)
2016-04-03 17:19:41 +02:00
Miodrag Milanovic
f2bff83b3d
Removed empty header file (nw)
2016-04-03 14:39:22 +02:00
Miodrag Milanović
5b0b34b30a
Merge pull request #781 from h0tw1r3/master
...
cross compile fixes
2016-04-03 13:44:55 +02:00
Miodrag Milanovic
8679bf8e0d
this was removed by mistake
2016-04-03 13:21:05 +02:00
Miodrag Milanovic
99bbef5fbf
moved texture flags to proper place (nw)
2016-04-03 13:13:33 +02:00
Miodrag Milanovic
bae0f1fc80
removed not used part of code (nw)
2016-04-03 12:54:13 +02:00
Miodrag Milanovic
865ac0e35c
reverting 88e84e7c52
(nw)
2016-04-03 12:52:08 +02:00
ImJezze
370aa2e8f5
Fixed render target dimension swap for BGFX (nw)
2016-04-03 12:09:38 +02:00
Miodrag Milanovic
88e84e7c52
ATTN: Ryan, please check. This is flag that causes BGFX looked worst then others (nw)
2016-04-03 10:48:11 +02:00
Jeffrey Clark
07ef71ef8b
osx x86 invalid intptr_t conversion (nw)
...
src/osd/sdl/output.cpp:86:50: error: format specifies type 'int' but the argument has type 'intptr_t' (aka 'long')
2016-04-03 06:26:03 +00:00
Jeffrey Clark
5306f42a77
fix cross compile (nw)
2016-04-03 06:25:53 +00:00
Miodrag Milanovic
731abe8ba0
Fixed joystick on Android preventing application to crash, cleanup init for SDL in total (nw)
2016-04-02 15:37:08 +02:00
Miodrag Milanovic
3b5b03041d
fix clang complain (nw)
2016-03-31 21:20:32 +02:00
Miodrag Milanovic
6281e26ddb
fix compile on windows (nw)
2016-03-31 20:22:02 +02:00
AJR
54f7422c2a
Conflict resolution (nw)
2016-03-31 10:29:46 -04:00
AJR
a7e393b36b
Iterate over core classes C++11 style
...
C++11 range-based for loops can now iterate over simple_list, tagged_list, core_options, device_t::subdevice_list, device_t::interface_list, render_primitive_list and all subclasses of the above, and much code has been refactored to use them. Most core classes that have these lists as members now have methods that return the lists themselves, replacing most of the methods that returned the object at an owned list's head. (A few have been retained due to their use in drivers or OSD.)
device_t now manages subdevice and interface lists through subclasses, but has given up the work of adding and removing subdevices to machine_config.
memory_manager has its tagged lists exposed, though the old rooted tag lookup methods have been removed (they were privatized already).
2016-03-31 09:43:53 -04:00
Brad Hughes
2b0cc65dba
Unsubscribe SDL input modules from events on exit.
2016-03-30 17:24:29 -04:00
Miodrag Milanovic
913ab1e140
Cleanups and version bump
2016-03-30 08:35:21 +02:00
Scott Stone
28c9be35ea
Change INIPATH default to cover new HLSL presets (ini/presets) (nw)
2016-03-30 00:38:08 -04:00
therealmogminer@gmail.com
59e129f599
Reinstate scale param for bgfx texture, nw
2016-03-30 03:28:03 +02:00
therealmogminer@gmail.com
d9153eb306
Get bgfx post-processing working with laserdisc games, nw
2016-03-29 11:28:24 +02:00
Jeffrey Clark
18d7e34620
cleanup build includes (nw)
2016-03-28 22:46:00 -05:00
therealmogminer@gmail.com
a4f615a14d
Get NTSC working in both bgfx and d3d, nw
2016-03-29 01:56:37 +02:00
therealmogminer@gmail.com
c0b1182712
Final bgfx fixups for release
2016-03-28 22:58:32 +02:00
ImJezze
fe9dfdbf99
Refactored Bloom
...
- reduced raster bloom level to 8
- extended vector bloom level to 15
- changed vector bloom to be less blocky
- removed bloom_lvl9_weight and bloom_lvl10_weight options
2016-03-28 20:19:01 +02:00
therealmogminer@gmail.com
523a552f5c
Adjust some minor things in bgfx, nw
2016-03-27 19:56:49 +02:00
Miodrag Milanovic
158c90cf11
Initial work to make MAME work on Android [Miodrag Milanovic]
2016-03-27 17:35:23 +02:00
Lord-Nightmare
852240ddf2
fix compile (nw)
2016-03-26 22:22:34 -04:00
R. Belmont
5db0501a3b
Merge pull request #743 from ajrhacker/options
...
Allow software selected from UI to install slot defaults
2016-03-26 21:47:59 -04:00
R. Belmont
0bdcf99982
Merge pull request #745 from ImJezze/pull
...
Improved appearance
2016-03-26 21:47:02 -04:00
ImJezze
41595c05c4
Change vector and gameboy preset (nw)
2016-03-26 11:18:08 +01:00
AJR
96c6dd3344
Allow software selected from UI to install slot defaults
...
Prevent clang warning about unused variable in BGFX target_manager (nw)
2016-03-26 01:17:01 -04:00
therealmogminer@gmail.com
ad7f0e260e
Minor bgfx fixups, nw
2016-03-26 00:15:27 +01:00
therealmogminer@gmail.com
1d4d639044
Fix unused variable, nw
2016-03-25 19:00:38 +01:00
therealmogminer@gmail.com
22f0c31238
Cleanup in the bgfx aisle, nw
2016-03-25 18:44:46 +01:00
ImJezze
c731b59cbe
Added oversampling option
...
- and some cleanup
2016-03-25 16:40:32 +01:00
therealmogminer@gmail.com
93e5a03b89
Huge cleanup of render target handling, nw
2016-03-25 16:20:12 +01:00
Jeffrey Clark
3fcb69a1f2
Fix cross compile (nw)
2016-03-23 15:37:11 -05:00
Brandon Munger
1ac041cd69
Fix compile error (nw)
2016-03-23 14:44:41 -04:00
Vas Crabb
173dcfaaa5
Copy/paste some code from Windows OSD to get SDL going again - sorry if this is dirty
2016-03-24 05:01:31 +11:00
Miodrag Milanovic
bc43490a4c
ah (nw)
2016-03-23 18:35:35 +01:00
Miodrag Milanovic
6fcd60b271
Fix clang compile error (nw)
2016-03-23 18:25:32 +01:00
therealmogminer@gmail.com
ba0a1d8d52
Merge bgfx_shader into master, nw
2016-03-23 17:55:55 +01:00
Brad Hughes
d0867ac3f2
Removing unused functions from winutf8.cpp. Also adding UWP implementations for Set/GetWindowText.
2016-03-23 12:44:30 -04:00
therealmogminer@gmail.com
5ed9f938ea
Typo fix, nw
2016-03-23 17:43:17 +01:00
therealmogminer@gmail.com
e6e705190c
Fix broken cocktail mode, nw
2016-03-23 17:37:59 +01:00
therealmogminer@gmail.com
e3355f1b9f
Fix up description of -bgfx_screen_chains, nw
2016-03-23 17:27:15 +01:00
therealmogminer@gmail.com
295aafc5e5
Per-screen sliders and some bugfixing, nw
2016-03-23 17:12:07 +01:00
therealmogminer@gmail.com
9f48ad4fbb
Add screen-specific shader chain support, nw
2016-03-23 15:11:12 +01:00
Miodrag Milanovic
1054cfe7fd
Fix compile (nw)
2016-03-23 08:38:30 +01:00
Brad Hughes
1c7f05a833
Get max char size from ANSI codepage instead of IsDBCSLeadChar()
2016-03-22 21:15:46 -04:00
therealmogminer@gmail.com
c0a67e7310
Fix housemnq crash, nw
2016-03-22 16:54:01 +01:00
Vas Crabb
59fa46280b
Remove now-unused variable
2016-03-22 12:48:16 +11:00
therealmogminer@gmail.com
124b4ab8a7
Fix cocktail mode crash
2016-03-21 18:26:50 +01:00
Antonio Giner
7d22cfaaf6
Merge remote-tracking branch 'refs/remotes/mamedev/master'
2016-03-21 17:01:57 +01:00
Miodrag Milanovic
2a4a703c79
clang compile fixes (nw)
2016-03-21 11:31:53 +01:00
therealmogminer@gmail.com
a99df78801
Merge with master
2016-03-21 08:27:06 +01:00
therealmogminer@gmail.com
b224d9a77a
Make specifying invalid bgfx backends non-fatal, nw
2016-03-21 06:33:45 +01:00
therealmogminer@gmail.com
825d575195
Fix lots of issues with bgfx
2016-03-21 03:43:02 +01:00
Antonio Giner
57b1c6ab77
Merge remote-tracking branch 'refs/remotes/mamedev/master' into integer_scaling_v2
2016-03-20 22:14:39 +01:00
Antonio Giner
bb51885229
Move integer scaling implementation to render_target::compute_visible_area
...
- Add core option -unevenstretch
- Add core option -unevenstretchx
2016-03-20 21:57:38 +01:00
Brad Hughes
9328fa9028
Fix VS Build issue for WRL ComPtr
2016-03-19 21:43:27 -04:00
dankan1890
5410d5a40a
temporary fix for VS build. (nw)
2016-03-20 00:47:54 +01:00
Brad Hughes
725b90b5fd
Handle a couple more SDL window events to track focus in input module.
2016-03-19 12:50:12 -04:00
Brad Hughes
f38d58f41b
Fix build break for X11 input
2016-03-19 12:22:50 -04:00
Brad Hughes
bcf2c50e13
Merge branch 'master' of https://github.com/mamedev/mame.git
2016-03-19 12:00:57 -04:00
Brad Hughes
7a0a60d3c4
Fix SDL input focus tracking bug plus remove references to USE_OLD_SDL_INPUT compiler directive from the input refactor.
2016-03-19 12:00:50 -04:00
Miodrag Milanovic
95a2e4c2c6
compile BGFX for RPI as well (nw)
2016-03-19 16:09:34 +01:00
Miodrag Milanovic
d2fe9e454b
Revert "Don't invoke VLA unnecessarily"
...
This reverts commit 9a299f35f3
.
2016-03-19 16:09:34 +01:00
Vas Crabb
57f61b2bae
* Fix handling of return codes from newer Windows APIs
...
* Fix a handle-leak in Windows stat implementation
* Return actual error code when path creation succeeds but file creation doesn't
2016-03-19 21:07:25 +11:00
Vas Crabb
9a299f35f3
Don't invoke VLA unnecessarily
2016-03-19 20:35:19 +11:00
Miodrag Milanovic
34cac8befd
fix compile on 4.9.x (nw)
2016-03-19 10:24:32 +01:00
Vas Crabb
855136bfc3
Fix creation of paths on POSIX
2016-03-19 20:07:03 +11:00
therealmogminer@gmail.com
1226b243a2
Make JSON error checking a lot more verbose
2016-03-19 05:44:38 +01:00
Brad Hughes
44a3589fd0
Fix DirectInput stuck joystick directional input when window loses focus. The reset function for the device was overwriting the axis information previously obtained. Changed it to correctly only reset the state member.
2016-03-18 22:57:16 -04:00
Brad Hughes
cadc351289
General code cleanup in input modules. Using ComPtr to manage DirectInput resources.
2016-03-18 22:51:06 -04:00
Antonio Giner
57199a7dff
Revert changes in layout view prior to rework of integer scaling
2016-03-19 00:02:41 +01:00
Antonio Giner
e39daaf5bd
Merge remote-tracking branch 'refs/remotes/mamedev/master'
2016-03-18 22:41:17 +01:00
cracyc
a03a06380d
winfile: fix narrowing error with gcc if LARGE_INTEGER is a union (nw)
2016-03-18 13:17:07 -05:00
therealmogminer@gmail.com
50e3b68924
Bugfixes, nw
2016-03-18 18:56:29 +01:00
therealmogminer@gmail.com
00f83c15ae
Fix screen flipping on opengl targets in bgfx, nw
2016-03-18 18:44:39 +01:00
Brad Hughes
ce5bd9a3d2
Merge branch 'master' of https://github.com/mamedev/mame.git
2016-03-18 13:38:01 -04:00
Brad Hughes
603d5509df
Update Windows OSD file functions to preferred more modern versions. All still available on XP and later.
2016-03-18 13:37:49 -04:00
therealmogminer@gmail.com
f464df3073
Setting a sampler counts as setting a uniform in bgfx, nw
2016-03-18 17:20:55 +01:00
therealmogminer@gmail.com
c383078ba5
Hopefully fix crashes on SDL, nw
2016-03-18 16:53:21 +01:00
Vas Crabb
f993cbbf0c
Slight simplification to the code
2016-03-19 00:30:56 +11:00
therealmogminer@gmail.com
03b2de3556
Add bgfx_backend and bgfx_debug options, fix compile error on mac, nw
2016-03-18 14:17:25 +01:00
Brad Hughes
4e214fd08d
Rewrote overly complex rawinput_device_improve_name function for rawinput module, plus fixing some other defects in input modules as detected by coverity.
2016-03-18 00:13:45 -04:00
therealmogminer@gmail.com
e37b96b68d
Some bugfixes for BGFX on SDL, nw
2016-03-18 04:49:37 +01:00
therealmogminer@gmail.com
ea9e591a0c
Polishing up BGFX shader system, nw
2016-03-18 03:21:34 +01:00
Scott Stone
ba499f3860
Merge pull request #724 from ImJezze/master
...
HLSL refactoring
2016-03-17 20:27:10 -04:00
Antonio Giner
421656e108
Merge remote-tracking branch 'refs/remotes/mamedev/master'
2016-03-17 22:50:29 +01:00
therealmogminer@gmail.com
d7dc173df9
Fix scrolling in slider list, nw
2016-03-17 15:48:32 +01:00
Brad Hughes
26ccf5e75f
Merge branch 'master' of https://github.com/mamedev/mame.git
2016-03-17 09:22:16 -04:00
Brad Hughes
6cd37a0498
DirectWrite font enumeration support
2016-03-17 09:22:11 -04:00
Vas Crabb
d604c8b9d9
Do single conversion instead of two (nw)
2016-03-17 21:31:00 +11:00
Vas Crabb
a01a40c0a9
Fix TTC loading (thanks for the tip, Sarayan)
2016-03-17 20:57:06 +11:00
Justin Kerk
c54c32a82e
Don't need this either (nw)
2016-03-17 04:37:24 +00:00
Vas Crabb
f99198c5c2
Implement couriersud's proposal to put style name in the config name for SDL fonts
...
Enumerate available font styles as well as families
Still has a problem in that TTC fonts are enumerated but can't be loaded by SDL_ttf
2016-03-17 13:32:41 +11:00
Justin Kerk
4cc9dd016a
Don't need to ifdef this out anymore either (nw)
2016-03-17 02:04:19 +00:00
Justin Kerk
d0ce8784a7
Build more of font_sdl.cpp with Emscripten since there is an SDL2_ttf port now (nw)
2016-03-17 01:42:48 +00:00
couriersud
0f3bc4ca99
Fix linux font loading. [Couriersud]
2016-03-16 21:07:17 +01:00
couriersud
3db357bff4
A lot of ttf fonts (including C/J/K fonts like unifont) do not have an
...
type attribute "Regular". This fix will load the first font found if no
"bold" "bold italic" "italic" or "regular" attribute was found.
[Couriersud]
2016-03-16 20:11:41 +01:00
therealmogminer@gmail.com
493cf7289b
More bgfx HLSL fixups, nw
2016-03-16 18:52:07 +01:00
Vas Crabb
6ecc87bc28
Fix drawing characters outside Unicode BMP with SDL
...
Font selection on Linux seems to be working provided you don't choose C/J/K fonts
Selecting a C/J/K font causes MAME to give a black screen when dropping back to main menu
Since fallback fonts aren't used, this means you can't use the Chinese/Japanese localisations with SDL font provider
2016-03-17 04:10:43 +11:00
Vas Crabb
a3b35f8bc6
Move font enumeration to OSD, separate font name from display name as needed for OSX
2016-03-17 00:04:52 +11:00
ImJezze
b507dbb5fc
Scanline Variation
...
- added option for scanline variation
2016-03-15 22:15:25 +01:00
therealmogminer@gmail.com
e1883e3090
Remove -mt, nw
2016-03-15 05:33:23 +01:00
therealmogminer@gmail.com
b212e5dc2e
Add most of the rest of the D3D HLSL chain, nw
2016-03-15 05:17:38 +01:00
Antonio Giner
da18057256
Implement integer scaling in core renderer [Calamity]
2016-03-15 01:04:37 +01:00
couriersud
41c8a9f6fa
netlist updates:
...
- First steps to move towards c++11.
- Base plist on std::vector
- Replace pstack with std::stack
- Remove pnamed_list
- use c++ "for each" in a number of places
- Fixed two "time bombs"
[couriersud]
2016-03-14 20:24:29 +01:00
Justin Kerk
92357bdff2
Fix Emscripten build (nw)
2016-03-14 14:34:52 +00:00
Miodrag Milanovic
e159558996
fix error compiling with clang (nw)
2016-03-14 09:54:10 +01:00