Commit Graph

74 Commits

Author SHA1 Message Date
Vas Crabb
113f98accc clean up and improve option descriptions 2018-12-13 11:04:05 +11:00
Scott Stone
cd3b77121f dec8.cpp: Fix regression with ghostb, srdarwin (nw)
Some misc text changes to certain trigger usage info (nw)
2018-12-09 20:46:36 -05:00
Westley M. Martinez
b5a54b761c HLSL Color Transforms and 3D LUT (#4043)
* Remove broken scanline uniform from post_pass

* Add 3D LUT to HLSL

* Allow individual LUTs for screen and UI

* WIP: Port 3D LUT to BGFX

* Finish porting LUT to BGFX

* Add individual phosphor color conversion for HLSL
	new file:   hlsl/chroma.fx
		Shader for converting xyY3 to sRGB
	modified:   hlsl/phosphor.fx
		Minor changes to emphasize idea that phosphors are color
agnostic
	modified:   hlsl/post.fx
		Conversion from signal RGB to xyY3
	modified:   src/osd/modules/render/d3d/d3dhlsl.cpp
	modified:   src/osd/modules/render/d3d/d3dhlsl.h
	modified:   src/osd/windows/winmain.cpp
	modified:   src/osd/windows/winmain.h

* Add phosphor examples and update presets

* Port phosphor color shaders to BGFX

* Fix missing newlines at EOF
2018-10-07 11:42:30 -04:00
AJR
ddf792d9ae Fix exception on exit (nw) 2018-01-24 21:14:07 -05:00
AJR
57bd62a1fb Eliminate core_strdup (nw) 2018-01-24 21:06:25 -05:00
Aaron
222b41d582 Add Bicubic Shader to OpenGL Backend
This shader uses the equation described by R. Keys in the paper 'Cubic Convolution Interpolation for Digital Image Processing' which is, in this case, the same as a Catmull-Rom spline. This produces a sharper upscaled image than bilinear filtering.

The new shader is selected by setting gl_glsl_filter to 2. Consequently, gl_glsl_filter is now treated as an int rather than a boolean.

Also fixed a variable name problem in the code guarded by GLSL_SOURCE_ON_DISK.
2017-12-30 00:29:47 -08:00
Scott Stone
e3cdd178ef Top prescale value allowed via command-line is 3 (not 4) (nw) 2017-10-18 08:19:56 -04:00
Scott Stone
e94fb46f0b Fix for prescale value entry (MT#6720) (nw) 2017-10-18 08:15:03 -04:00
intealls
08bdab3b65 fix allowed latency range 2017-01-17 23:50:06 +01:00
inte alls
cd03a64284 Initial PortAudio backend with build script changes to support library version 20161030 2017-01-11 20:24:00 +01:00
Brad Hughes
0f060802b5 UWP: Enable gamepad support and update keyboard support (nw) 2016-11-14 21:06:42 -05:00
Brad Hughes
2e49823a06 Add basic keyboard input to UWP (nw) 2016-11-11 12:58:41 -05:00
Miodrag Milanovic
0d87fd7cb8 Small cleanup (nw) 2016-11-11 16:12:02 +01:00
Miodrag Milanovic
7c765ea147 No need for osd_malloc, osd_malloc_array and osd_free (nw)
MALLOC_DEBUG not applicable anymore since we use new to allocate in 99.9% of cases
2016-11-11 16:12:01 +01:00
Miodrag Milanovic
2027d59e7f Do not use FUNC in delegate where applicable (nw) 2016-11-06 14:11:55 +01:00
Miodrag Milanovic
ddb290d5f6 NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8
also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
2016-10-22 13:13:17 +02:00
Brad Hughes
bf52d11826 Convert OSD monitor info to modules plus add DXGI implementation 2016-09-14 08:32:05 -04:00
Patrick Lessard
87a73f6f51 Patch to fix the Gun#2 not working in Mame, please refer to Bug id 6185 on Mametesters. 2016-08-02 00:18:36 -04:00
Vas Crabb
717e90b357 Restore ability to supply explicit name for bgfx AVI output file, auto causes it to generate ascending snap names 2016-07-07 19:10:17 +10:00
Giuseppe Gorgoglione
85740d73e6 Remove bgfx_avi_name and hlsl_write options
Now the filenames for movies recorded by HLSL and BGFX renderers are automatically generated just like the ones for movies and snapshots recorded by the video core. They are generated according to the "snapname" template (eg. by default <snap_folder>/<device_name>/<numeric_index.avi>, so you can revert to the old behavior (why?) just setting "snapname  bgfx.avi" or "snapname  hlsl.avi".

The main advantage is that now you can record as many movies as you want during a single gaming session without much hassle (previously you had to move or rename the old movie file by hand before recording a new one).
2016-07-04 13:50:10 +02:00
Brad Hughes
def1777e74 A few minor input fixes and cleanups
- input modules exit() is called twice. Remove the unnecessary input_exit() method
- removed unnecessary pointer init in handle_input_event and should_hide_mouse
- When registering event callbacks in SDL, don't assume the SDL enum values are int-sized
2016-06-25 11:43:15 -04:00
Brad Hughes
1f8cf36ec9 Move window_list to osd_common_t 2016-06-11 12:02:22 -04:00
dankan1890
24d11ff49f Fixed video mode opengl duplicated in SDL build. (nw) 2016-06-07 04:34:49 +02:00
Miodrag Milanovic
dba7c1ac94 Placed back old output system as module "-output windows" need more things cleaned (nw) 2016-06-05 21:11:56 +02:00
Vas Crabb
87429e74d9 ui refactoring [Vas Crabb]
* move menu classes into ::ui namesapce
* reduce scope of many symbols

(first step in making UI code less rage-inducing so I can fix text input)
2016-05-27 03:00:20 +10:00
Robbbert
293caed9cb 1. fixed title of fr2; 2. Fixed access violation after getting:
Proposed video mode not supported on device \\.\DISPLAY1
Unable to initialize Direct3D.
Fatal error: Unable to complete window creation
2016-05-21 13:27:54 +10:00
Miodrag Milanovic
e3ff63cdda no deps between osd and frontend, internal debugger removed (nw) 2016-05-06 14:01:27 +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
Miodrag Milanovic
1c726824f2 Split UI and frontend part from core [Miodrag Milanovic] 2016-04-23 11:26:47 +02:00
Miodrag Milanovic
8318d85597 Isolate CLI part (nw) 2016-04-20 09:50:13 +02:00
therealmogminer@gmail.com
250a5cc805 Add AVI writing to bgfx, nw 2016-04-17 19:16:14 +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
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
therealmogminer@gmail.com
dd9c9a0fb3 Make OSDs return ui_menu_item lists, not slider_state lists 2016-04-10 19:22:31 +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
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
Brad Hughes
42bc565cfb Use XAudio2 by default if available. 2016-04-05 20:52:15 -04:00
Brad Hughes
3dd8afd6c0 Hybrid DirectInput/XInput module 2016-04-04 22:01:00 -04:00
dankan1890
37f39ecf3c Small changes. (nw) 2016-04-03 18:45:34 +02:00
Miodrag Milanovic
913ab1e140 Cleanups and version bump 2016-03-30 08:35:21 +02:00
therealmogminer@gmail.com
c0b1182712 Final bgfx fixups for release 2016-03-28 22:58:32 +02:00
therealmogminer@gmail.com
93e5a03b89 Huge cleanup of render target handling, nw 2016-03-25 16:20:12 +01:00
therealmogminer@gmail.com
ba0a1d8d52 Merge bgfx_shader into master, nw 2016-03-23 17:55:55 +01:00
therealmogminer@gmail.com
5ed9f938ea Typo fix, nw 2016-03-23 17:43:17 +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
9f48ad4fbb Add screen-specific shader chain support, nw 2016-03-23 15:11:12 +01:00
therealmogminer@gmail.com
a99df78801 Merge with master 2016-03-21 08:27:06 +01:00