summaryrefslogtreecommitdiffstatshomepage
path: root/bgfx/chains
Commit message (Collapse)AuthorAgeFilesLines
* BGFX and D3D9 renderer fixes for issues #11104, #11106, and #11107 (#11249) MooglyGuy2023-05-201-1/+0
| | | | | * -hlsl.json: Removed duplicate scanline_variation setting. (#11107) [Ryan Holtz] * -d3dhlsl.cpp: Fixed lack of post-pass application when bloom is disabled. (#11104) [Ryan Holtz] * -drawd3d.cpp: Always set a default texture at scene start. (#11106) [Ryan Holtz]
* Major D3D and BGFX code refactoring and bug fixes: (#10858) [Ryan Holtz] MooglyGuy2023-01-2936-38/+2
| | | | | | | | | | | * render/bgfx: Improved clearing and blending. Added prescale support. Fixes MT07586, MT07587, MT08084. * render/bgfx: Fixed blend and tint handling. (Fixes Github #1953). * render/bgfx/blendreader.cpp: Support non-separated blend mode specification for BGFX effects. * render/bgfx: Reworked how horizontally-padded screen textures are handled. Likely fixes MT08512 and MT08505. * render/bgfx: Ensure that a texture's width margin is updated in all cases. * render/d3d/d3dhlsl.cpp: Fixed tinting in HLSL post-processing mode. * render/d3d/d3dhlsl.cpp: Avoid most redundant state-setting calls. Reduces D3D API calls by about 90% on fruit machine drivers. * render/d3d/d3dhlsl.cpp: Assign SourceDims and QuadDims uniforms to only those effects that use them. * machine/laserdsc.cpp: Always add video quad to screen container, adjust tint based on m_videoenable instead.
* Improve NTSC parameter descriptions and ranges in OSD (#10782) benrg2023-01-211-6/+6
| | | | | | Correct units of some parameters (they are MHz, not Hz) and correct one default (color carrier should be 3.57 MHz, not 35.7). Use a step size of 1/8800 MHz for the color carrier so that the NTSC value of 315/88 MHz can be exactly represented (to float precision).
* bgfx: Re-built shaders for crt-geom update. Vas Crabb2022-07-072-2/+2
|
* bgfx: crt-geom and crt-geom-deluxe improvements: (#8653) cgwg2022-07-072-3/+25
| | | | | * crt-geom-deluxe: Increased number of taps for halation and increased maximum width. * crt-geom*: Moved repeated crt-geom/crt-geom-deluxe functions into their own file. * crt-geom and crt-geom-deluxe: added support for sRGB output gamma ramp and made it the default.
* bgfx: Updated mipmap support in Fighters chain. (#8692) sairuk2021-10-121-1/+35
| | | Fixes crashes on Linux using Vulkan backend (GitHub #8538).
* srcclean: Added JSON cleaning support, and some cleanup. Vas Crabb2021-08-2040-983/+983
| | | | | | | | | | Made pbobble parent of bublbust, as it seems to be more widespread and more complete. Also fixed some ROM labels for bublbust. Made tbyahhoo parent of mtwinbee as the latter has substantial content removed rather than being localised, making it less complete. Applied srcclean to JSON files in bgfx subtree.
* bgfx: Disable lowpass filter by default by setting it to its maximum value, ↵ Aaron Giles2021-03-231-1/+1
| | | | since it does not account for actual monitor type. We can revisit this decision in the future if better monitor information is provided from the driver.
* bgfx: crt-geom and crt-geom-deluxe enhancements (#7872) cgwg2021-03-202-12/+135
| | | | | | * Made spot size parameters adjustable also increased samples from 2 to 3 scanlines for crt-geom-deluxe. * Made horizontal interpolation adjustable. * bgfx crt-geom-deluxe: Made phosphor decay smoothly to zero at specified cutoff time. * bgfx crt-geom-deluxe: Added lowpass filter.
* bgfx: crt-geom and crt-geom-deluxe enhancements (#7766) cgwg2021-02-212-182/+232
| | | | | | | Added a "brightness boost" feature for the shadow mask that works by making the brightness ratio between bright and dark mask pixels closer to 1 for the brighter parts of the image. Added clamping to zero so that underscanning produces a black border. Added a "raster bloom" effect to crt-geom-deluxe that makes the image grow slightly when the average brightness of the screen is high, mimicking a common defect in CRTs.
* bgfx: Added lcd-grid shader. (#7691) cgwg2021-01-231-0/+148
| | | Note that this is currently only compiled for GLSL.
* -bgfx: Shader recompile after cgwg's changes. [Ryan Holtz] Ryan Holtz2020-12-231-0/+238
|
* -bgfx: Corrected hlsl.json to apply the intended screen tint. [Ryan Holtz] Ryan Holtz2020-06-201-0/+2
|
* This wasn't supposed to go in (nw) arbee2020-02-181-3/+3
|
* apple2: figured out C800 banking on the Applesurance card, it now works 100% ↵ arbee2020-02-181-4/+4
| | | | (nw)
* -bgfx: Fixed Github issues #5830 and #5956. [Ryan Holtz] MooglyGuy2019-11-2434-0/+34
|
* HLSL Color Transforms and 3D LUT (#4043) Westley M. Martinez2018-10-072-60/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Port scanline modification to BGFX W. M. Martinez2018-09-141-9/+23
|
* fix some typos (#2772) Martin Lindhe2017-11-031-1/+1
|
* -bgfx: Fixed xBR-lv2-multipass shader. [Ryan Holtz] MooglyGuy2017-06-111-1/+2
|
* -bgfx: Fixed the following xBR shaders: xBR-lv2-fast, xBR-lv2-noblend, ↵ MooglyGuy2017-06-104-46/+1
| | | | xBR-lv2, xBR-lv3-noblend, and xBR-lv3. [Ryan Holtz]
* Updates FSF address in a few files. (#2044) Luke Jones2017-02-063-6/+9
| | | | | | | | | | | | | | * Update hq2x.json Correct FSF address * Update hq3x.json Correct FSF address * Update hq4x.json Correct FSF address
* Reduced defocus effect to one pass (HLSL/BGFX) Jezze2016-10-221-16/+2
| | | | | - removed second defocus pass - limited defocus stength to a maximum of 2.0
* Fix GH#1364 [tabbycat12] therealmogminer@gmail.com2016-09-102-2/+2
|
* Added crt-geom and crt-geom-deluxe shaders for bgfx. Jeremy Green2016-07-032-0/+372
| | | | This includes several aperture grille / shadow mask patterns. Note that these are all designed to be used on a display with RGB subpixel order, and may thus suffer if rotated or used with a BGR display.
* Fixed target scale of HQ3x and HQ4x chains (nw) ImJezze2016-06-182-2/+2
|
* Fix crash when using pillarbox shaders, nw therealmogminer@gmail.com2016-05-274-4/+4
|
* Fix debug crash with bgfx screen chains therealmogminer@gmail.com2016-05-261-1/+1
|
* Equalized options of HLSL and BGFX HLSL chain ImJezze2016-05-051-12/+13
| | | | | - removed POT texture size from shadow mask in HLSL, U/V size is now simply the percentage of the actual texture size - adjusted display names of options
* More bgfx settings refinement, nw therealmogminer@gmail.com2016-04-291-10/+10
|
* Fix up bgfx NTSC shader, nw therealmogminer@gmail.com2016-04-291-12/+23
|
* bgfx: Ported xBR shaders from libretro. [Ryan Holtz, Hyllian] therealmogminer@gmail.com2016-04-2531-20/+849
|
* Added "selection" parameter to chain input sampler ImJezze2016-04-241-5/+10
| | | | | - 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
* Simplified min, max, default and step value handling for chain configuration ImJezze2016-04-225-59/+55
| | | | - min, max, default and step are now floating points without an addition scale factor
* Checkpoint 1, nw therealmogminer@gmail.com2016-04-2121-21/+910
|
* Implemented handling for u_screen_scale and u_screen_offset (nw) ImJezze2016-04-211-0/+3
|
* Refactored BGFX distortion pass (nw) ImJezze2016-04-191-30/+39
| | | | - also removed vector hack
* bgfx: Added SuperEagle shader. [Ryan Holtz] therealmogminer@gmail.com2016-04-191-0/+44
|
* -Added HQ2x, HQ3x and HQ4x shaders. [MooglyGuy,Jules Blok,Cameron ↵ therealmogminer@gmail.com2016-04-183-0/+180
| | | | Zemek,Maxim Stepin]
* Minor fixups to pillarboxing shaders therealmogminer@gmail.com2016-04-174-48/+48
|
* Add pillarboxing shaders and layout for bgfx, nw therealmogminer@gmail.com2016-04-164-0/+412
|
* bgfx: Add data-driven render target clearing [Ryan Holtz] therealmogminer@gmail.com2016-04-141-0/+15
|
* Reinstate scale param for bgfx texture, nw therealmogminer@gmail.com2016-03-301-6/+15
|
* Get bgfx post-processing working with laserdisc games, nw therealmogminer@gmail.com2016-03-292-24/+9
|
* Get NTSC working in both bgfx and d3d, nw therealmogminer@gmail.com2016-03-293-21/+37
|
* Final bgfx fixups for release therealmogminer@gmail.com2016-03-283-35/+35
|
* Adjust some minor things in bgfx, nw therealmogminer@gmail.com2016-03-271-24/+24
|
* Minor bgfx fixups, nw therealmogminer@gmail.com2016-03-261-3/+163
|
* Huge cleanup of render target handling, nw therealmogminer@gmail.com2016-03-253-26/+28
|
* Update text (nw) Miodrag Milanovic2016-03-241-1/+1
|