summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/bgfx/statereader.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Various optimisations to code generaton. Vas Crabb2023-03-261-2/+2
| | | | | | | | | | | | | | | util/bitmap.cpp, util/palette.cpp: Marked lots of things constexpr. Bitmaps don't throw exceptions on allocation failure, they just become invalid. Almost nothing in MAME actually checks for this. emu/profiler.cpp: Abort if the profile stack overflows rather than throwing an exception. This is a developer feature and if it overflows, the code is broken. Calling a noreturn noexcept function generates less code than throwing an exception, which adds up. util/strformat.cpp: Traded away some unnecessary flexibility for more compact code. The stream objects must derive from std::basic_ostream now - they can't just be any old objects with the expected operators.
* Major D3D and BGFX code refactoring and bug fixes: (#10858) [Ryan Holtz] MooglyGuy2023-01-291-3/+11
| | | | | | | | | | | * 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.
* bgfx: Save values of most sliders per-system. Vas Crabb2023-01-081-10/+4
|
* OSD/network interface cleanup AJR2022-08-281-0/+1
| | | | | | | - Move osd_midi_device from osdcore.h to osdepend.h - Move osd_list_network_adapters from osdcore.h to osdnet.h (was already defineduniquely in osdnet.cpp) - Move #include <cstdarg> from osdcore.h to emu.h - Remove dinetwork.h from emu.h
* Clean up #includes in src/osd (#10029) ajrhacker2022-07-041-0/+16
| | | | | * Clean up #includes in src/osd * render/bgfx/view.cpp: Add license header
* use C++ library includes (nw) firewave2020-01-221-1/+1
|
* Simplified min, max, default and step value handling for chain configuration ImJezze2016-04-221-0/+9
| | | | - min, max, default and step are now floating points without an addition scale factor
* Fix SDL compile on linux. Took the opportunity to remove a number of couriersud2016-04-081-0/+2
| | | | | "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.
* Cleanups and version bump Miodrag Milanovic2016-03-301-9/+9
|
* Cleanup in the bgfx aisle, nw therealmogminer@gmail.com2016-03-251-0/+7
|
* Add dynamic skipping of shader chain passes, nw therealmogminer@gmail.com2016-03-131-4/+8
|
* More work on bgfx data-driven shaders, nw therealmogminer@gmail.com2016-03-131-2/+15
|
* consistency fixes and add missed files (nw) Miodrag Milanovic2016-03-041-0/+2
|
* Cleanups and version bump Miodrag Milanovic2016-02-241-55/+55
|
* First take on render API reorg, nw therealmogminer@gmail.com2016-02-211-0/+107