summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render
Commit message (Collapse)AuthorAgeFilesLines
...
* osd/modules/render/aviwrite.cpp: Use std::string_view for filename AJR2022-10-042-5/+7
|
* 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
* bgfx: crt-geom and crt-geom-deluxe improvements: (#8653) cgwg2022-07-078-371/+238
| | | | | * 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.
* Clean up #includes in src/osd (#10029) ajrhacker2022-07-0438-128/+159
| | | | | * Clean up #includes in src/osd * render/bgfx/view.cpp: Add license header
* osdcore.h: Changed osd_subst_env to accept a std::string_view and return a ↵ npwoods2022-06-153-9/+4
| | | | std::string. (#9928)
* bgfx: Honour antialias flag on textured quad primitives (fixes MT08340). Vas Crabb2022-06-061-1/+1
|
* bgfx: Honour texture wrap flag. (#9812) Vas Crabb2022-05-232-7/+10
|
* Removed superfluous semicolons from various source files. (#9796) 0kmg2022-05-222-2/+2
|
* -util/corealloc.h: Reduced make_unique_clear to a single variant for POD arrays. Vas Crabb2022-04-032-79/+79
| | | | | | | | | | | | | | | | | | * Enabled GCC lifetime dead store elimination optimisation. * emu/device.h: Don't pre-clear memory for drivers. Ivan Vangelista fixed at least the majority of things that crashed outright, and Robbbert initialised variables that coverity complained about. It's unlikely anything will break due to this. * sound/discrete.h: Explicitly initialise members of discrete "devices" to zero. I don't see a way around doing this in headers due to the macro soup used to build the constructors. * sound/mos6581.cpp: Moved creation of the SID core to device_start and explictly initialised members of the SID core structures. These structures are in internal headers, so they won't cause downstream recompiles. -Lua engine: Made I/O port manager type_seq a bit more tolerant of omitted arguments.
* -bgfx: Fixed YUV shader to have better brightness balance. [Ryan Holtz] (#9425) MooglyGuy2022-03-171-4/+5
|
* Updated BGFX fixes; verified as working on Linux and Windows. (#9420) MooglyGuy2022-03-1516-272/+450
| | | | | | | * -bgfx: Improved stability when encountering missing files, and improved multi-window stability. [Ryan Holtz] * -osd: Added video-init fallback functionality to other OSDs. [Ryan Holtz] * -bgfx: Fixed issues from the previous batch of changes. [Ryan Holtz] * -osdwindow: Remove no-longer-needed addition of post_create(). [Ryan Holtz]
* Revert "More BGFX stability improvements (missing files + multi-window) (#9410)" Vas Crabb2022-03-1613-342/+235
| | | | This reverts commit f5b75b74393646d1dc082ec807279451dc481854.
* More BGFX stability improvements (missing files + multi-window) (#9410) MooglyGuy2022-03-1413-235/+342
| | | | | * -bgfx: Improved stability when encountering missing files, and improved multi-window stability. [Ryan Holtz] * -osd: Added video-init fallback functionality to other OSDs. [Ryan Holtz]
* -bgfx: Added default LUT PNG, fixes LUT-effect crash. Fixed external texture ↵ MooglyGuy2022-03-122-8/+7
| | | | loading, restoring HQx filters. [Ryan Holtz] (#9401)
* Remove fileio.h from emu.h AJR2022-02-114-0/+4
|
* Removed extra semicolons after function bodies in remaining headers. (#9277) 0kmg2022-02-072-4/+4
|
* rendutil.cpp: API cleanup + minor related OSD render cleanups AJR2022-01-222-32/+11
|
* Render-related cleanup AJR2021-12-301-2/+3
| | | | | | | - Undo inclusion of screen.h within render.h and update many source files that were stealth-including the former - Move texture_format enum to rendertypes.h - rendlay.h: Make a few methods static - ui/info.cpp: Use C++11-style iteration for render targets
* -osd/windows: Fixed stupid potential deadlock on exit. Vas Crabb2021-11-133-39/+19
| | | | | -frontend: Some changes to menu item class that will make it possbile to reduce the number of menu rebuilds.
* bgfx: fix flurry of bogus warning messages hap2021-10-291-1/+1
|
* Build cleanup and UWP removal (#8756) Vas Crabb2021-10-272-32/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes options for deprecated platforms: pnacl, steamlink and ci20. rpi target is not used for Raspberry Pi - linux target with parameters is used instead. MIPS architecture for Android has not been supported for some time - removed leftovers. Visual Studio versions older than 2019 are not able to compile anyway, so removed. CMake target was not able to be used for compiling anyway (just to give some editors a way to see project organization). Xcode4 support was added to get iOS to compile, and that was never finished, so removed. UWP has been deprecated by Microsoft, so we remove it as well.
| * Remove OSD_UWP from rest of code Miodrag Milanovic2021-10-262-32/+1
| |
* | render/d3d: Replaced some locale-sensitive configuration parsing code. Vas Crabb2021-10-261-18/+21
|/
* util: Further API cleanups: (#8661) Vas Crabb2021-10-051-3/+3
| | | | | * Turned `core_file` into an implementation of `random_read_write`. * Turned PNG errors into a standard error category. * Added a helper for generating what look like derived classes on-the-fly.
* -bgfx: Switched fs_blit_palette16 to expand bitmap_ind16 contents to R8. ↵ MooglyGuy2021-09-0410-43/+75
| | | | Fixes vertical off-by-one shift in games with an odd pixel count along X. [Ryan Holtz] (#8528)
* Use D32F texture format instead of D24, should fix AMD hardware (#8516) Julian Sikorski2021-08-301-2/+2
|
* -bgfx: Fixed UV rounding errors in fs_blit_palette16; Switched back to ↵ MooglyGuy2021-08-302-22/+10
| | | | direct texture upload rather than CPU copy. (#8505) [Ryan Holtz]
* -bgfx: Revised fs_blit_palette16 to not use pixel rounding. Fixes issues in ↵ MooglyGuy2021-08-242-20/+32
| | | | carpolo, kncljoe, and others. [Ryan Holtz] (#8488)
* formats, osd, util: Started refactoring file I/O stuff. (#8456) Vas Crabb2021-08-223-8/+8
| | | | | | | | | Added more modern generic I/O interfaces with implementation backed by stdio, osd_file and core_file, replacing io_generic. Also replaced core_file's build-in zlib compression with a filter. unzip.cpp, un7z.cpp: Added option to supply abstract I/O interface rather than filename. Converted osd_file, core_file, archive_file, chd_file and device_image_interface to use std::error_condition rather than their own error enums. Allow mounting TI-99 RPK from inside archives.
* BGFX fixes for various backends (#8469) [Ryan Holtz] MooglyGuy2021-08-2017-80/+229
| | | | * Fixed palette and UYVY conversion in all backends. Fixes MT07760. * Fixed a typo in targetmanager.cpp, thanks LN for the heads-up.
* Use std::clamp in more source files AJR2021-08-151-3/+3
|
* Remove not suported platform Miodrag Milanovic2021-08-151-5/+0
|
* Fix to make it work on windows Miodrag Milanovic2021-08-121-2/+0
|
* update shader.mk according to one in bgfx Miodrag Milanovic2021-08-101-23/+45
|
* fix OSD=mac compile [R. Belmont] arbee2021-07-311-1/+3
|
* bgfx: Fixed crt-geom{,-deluxe} shader compilation and recompiled shaders. Vas Crabb2021-03-202-2/+2
|
* bgfx: crt-geom and crt-geom-deluxe enhancements (#7872) cgwg2021-03-207-70/+270
| | | | | | * 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 png: The message parameters were the wrong way around. Robbbert2021-02-211-1/+1
|
* bgfx: crt-geom and crt-geom-deluxe enhancements (#7766) cgwg2021-02-214-33/+248
| | | | | | | 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.
* render/bgfx: Use platform-specific path separator more consistently AJR2021-02-051-1/+1
|
* render/bgfx: Fix failure to load texture .png files when -artpath contains ↵ AJR2021-02-031-45/+34
| | | | multiple directories
* Update "2020" text to "2021" (#7713) Stiletto2021-01-281-1/+1
| | | Update "2020" text to "2021".
* ui: Clean up slider callbacks AJR2021-01-278-85/+30
|
* srcclean in preparation for branching release Vas Crabb2021-01-24110-270/+270
|
* bgfx: Fixed overlapping register in lcd-grid shaders and compiled for ↵ Vas Crabb2021-01-231-1/+1
| | | | Direct3D, SPIR-V, Metal, etc.
* bgfx: Added lcd-grid shader. (#7691) cgwg2021-01-235-0/+156
| | | Note that this is currently only compiled for GLSL.
* -getaway.cpp: Fixed steering control. Vas Crabb2021-01-231-11/+9
| | | | | | | | | | * Works fine with an analog stick/wheel, difficult to steer on the slippery "dotted" surface with keyboard/D-pad. -osd: Moved GCC intrinsics out of eminline.h so MAME_NOASM will take the pure C++ implementation with GCC (makes testing the fallback easier). -Removed a bunch of [[maybe_unused]] that aren't actually needed.
* ATTR_UNUSED, do you welcome C++17 in your heart and mind? Olivier Galibert2021-01-221-2/+2
|
* Much more core std::string_view modernization AJR2021-01-201-1/+1
| | | | | | | | | | | | | | | - Remove corestr.h from emu.h; update a few source files to not use it at all - Change strtrimspace, strtrimrightspace and core_filename_extract_* to be pure functions taking a std::string_view by value and returning the same type - Change strmakeupper and strmakelower to be pure functions taking a std::string_view and constructing a std::string - Remove the string-modifying version of zippath_parent - Change tag-based lookup functions in device_t to take std::string_view instead of const std::string & or const char * - Remove the subdevice tag cache from device_t (since device finders are now recommended) and replace it with a map covering directly owned subdevices only - Move the working directory setup method out of device_image_interface (only the UI seems to actually use the full version of this) - Change output_manager to use std::string_view for output name arguments - Change core_options to accept std::string_view for most name and value arguments (return values are still C strings for now) - Change miscellaneous other functions to accept std::string_view arguments - Remove a few string accessor macros from romload.h - Remove many unnecessary c_str() calls from logging/error messages
* osdwindow.cpp: Centralize basic functions; de-virtualize various getters AJR2021-01-042-16/+16
|