summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into time-experiments Aaron Giles2021-08-1350-946/+2057
|\
| * Updated help text for bgfx_backend Robbbert2021-08-131-1/+1
| |
| * 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
| |
| * Update debugimgui to compile with latest imgui MooglyGuy2021-08-101-2/+7
| |
| * fix OSD=mac compile [R. Belmont] arbee2021-07-312-2/+4
| |
| * Slightly cleaned up OSD input modules. Vas Crabb2021-07-2916-744/+694
| | | | | | | | | | | | | | | | | | | | Removed support for DirectInput 7 and earlier. It hasn't been tested in years, and it's not relevant on any supported OS. DirectInput is effectively finalised at version 8, and is unlikely to get an API update in the future. Use more string[_view] and fewer C strings, and tightened up scope of a few things.
| * debugimgui: fix mount and create image dialogs. Barry Rodewald2021-07-251-5/+13
| |
| * API cleanups and miscellaneous fixes. Vas Crabb2021-07-152-18/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | emu/ioport.cpp: Allow controller files to override input sequences for inputs that don't use defaults, and to override the toggle setting for digital inputs. emu/config.cpp: Expose configuration level (mostly matters for controller files), improved verbose diagnostic messages, and moved a few things out of the global and preprocessor namespaces. docs: Added documentation for some controller configuration file features. The device mapping feature documentation will be merged in at some point. util/unicode.cpp, emu/input.cpp: API cleanups.
| * video/voodoo.cpp: Major rewrite: (#8267) Aaron Giles2021-07-091-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Changed to use modern poly.h instead of polylgcy.h. * Moved helper classes into separate voodoo namespace. * Derived device classes from video_device_interface. * Split classes so that later versions derive from earlier versions. * Created device maps to be directly included. * Redesigned register mapping to use helper classes and delegates. * Rewrote rasterizers to use C++ templates instead of macros. * Added logic to compute equations for color/texture combine units. * Added special generic identity-texel rasterizer cases. * Removed pipeline stalls on texture and palette changes. * Removed pipeline stalls on most all parameter changes. * Generally re-thought and cleaned up logic throughout. * Parameterized cycle stealing on status reads; updated all existing voodoo consumers to configure it as it was before. -vidoe/poly.h: Various improvements: * Exposed poly_array class for broader use. * Changed poly_array to intelligently determine maximum size. * Added logic to track multiple "last" instances in poly_array. * Extended logic to support up to 16m work items. * Removed MaxPolys parameter from poly_manager template. * Added Flags parameter to poly_manager template. * Added POLY_FLAG_NO_CLIPPING flag to remove clipping code when not needed. * poly_manager now supports a MaxParams value of 0. * Made paramcount a template parameter for render_* functions. * Added reset_after_wait() method to be overridden by derived classes. * Switched to using std:: helpers instead of internal methods. * Removed useless dependency on screen_device. * TRACK_POLY_WAITS now produces more complete statistics. -video/polylgcy.cpp: Removed legacy implementation of polygon renderer. -machine/gt64xxx.cpp: Prevent lockups by disallowing 0-duration timers. -machine/pci.cpp: Added support for adding subdevice maps directly. -emu/video/rgbsse.h: Improved min/max for SSE4.1+ and scale+clamp operations for all. -emu/vidoe/rgbutil.h: Made palette expansion constexpr and added argbexpand function. -osd/osdcore.cpp: Changed osd_ticks to use QueryPerformanceCounter on Windows since the mingw std::chrono::high_resolution_clock is anything but.
| * Correctly apply -keepaspect with -unevenstretchx/y. (#8209) antonioginer2021-07-022-13/+5
| | | | | | | | * Correctly apply -keepaspect with -unevenstretchx/y. Initialize window at the correct size when -intscalex/y is used. * Get correct window size upon maximizing/minimizing with integer scaling.
| * Eliminate remaining uses of auto_alloc and friends (#8210) Aaron Giles2021-06-221-6/+8
| | | | | | | | | | | | | | * Split off auto_alloc changes from deprecated branch. * Make the keymap reader non-static so it can access the unique_ptr. * Fix SDL input for real.
| * osd/eigcc.h: Fix 32-bit gcc/clang builds. Vas Crabb2021-06-141-4/+8
| |
| * Added helpers for 64-bit count leading zeroes/ones. Vas Crabb2021-06-137-39/+384
| |
| * floppy: Change the formats from an intrusive list to a vector Olivier Galibert2021-05-271-2/+1
| |
| * srcclean for release Vas Crabb2021-05-231-1/+1
| |
| * -attach_window support for SDLMAME (#8070) npwoods2021-05-203-4/+65
| |
| * Fix crashes in Qt debugger caused by trying to select a nonexistent ↵ AJR2021-05-112-16/+22
| | | | | | | | disassembly or memory view
| * Add -share_directory option. This sets a directory on the host system which ↵ arbee2021-05-081-0/+1
| | | | | | | | emulated systems can directly access. [R. Belmont]
| * osx/sdl - handle caps lock key up events via a frame callback instead of the ↵ ksherlock2021-04-281-0/+28
| | | | | | | | sdl key up event (which is too fast) (#7972)
| * srcclean in preparation for branching release Vas Crabb2021-04-251-6/+6
| |
| * -cpu/score: Added bittgl! opcode. Sandro Ronco2021-04-241-0/+67
| | | | | | | | -debuggdbstub.cpp: add score7 registers map.
| * sound: Pulseaudio support Olivier Galibert2021-04-162-0/+408
| |
| * Changed audio_latency valid range from 1-5 to 0-5 (#7916) 9871238791132021-04-013-3/+5
| |
| * Disable sleep when using -bench. Aaron Giles2021-03-313-0/+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.
* | Added stricter checks on allocation of device timers. Fixed several places ↵ Aaron Giles2021-03-272-6/+6
| | | | | | | | that were caught by this. Updated all interfaces and core systems to use new timer classes.
* | Use the device-provided timer_alloc instead of reaching around to the ↵ Aaron Giles2021-03-251-1/+1
| | | | | | | | scheduler. Also change machine().scheduler().time() calls to just machine().time().
* | Made m_seconds and m_attoseconds private members to allow for future ↵ Aaron Giles2021-03-171-1/+1
|/ | | | abstractions.
* -A few incremental UI code improvements: Vas Crabb2021-03-124-48/+42
| | | | | | | | | * Simplified message when toggling UI controls. * Show actual configured UI toggle key, not misleading hard-coded text. * Push window activated/deactivated events to UI manager. * Simplified SDL window event handling code - events are pretty precise. -Miscellaneous code cleanup.
* srcclean in preparation for branching release Vas Crabb2021-02-211-2/+2
|
* 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.
* add m68000 to debuger gdbstub nabetse2021-02-151-0/+29
|
* Eliminate ARRAY_LENGTH template in favor of C++17's std::size AJR2021-02-1418-44/+30
| | | | | | | | | | * osdcomm.h: Move definition of EQUIVALENT_ARRAY to coretmpl.h * sharc.cpp, gt64xxx.cpp, ym2413.cpp, gb_lcd.cpp, snes_ppu.cpp: Use STRUCT_MEMBER for save state registration * gio/newport.cpp, megadrive/svp.cpp, nes_ctrl/bcbattle.cpp, arm7.cpp, tms9995.cpp, pckeybrd.cpp, sa1110.cpp, sa1111.cpp, jangou_blitter.cpp, vic4567.cpp: Use std::fill(_n) instead of memset * emucore.h: Remove obsolete typedef
* #7711: lld seems to add a minimal symbol that the system libraries catch. Be ↵ Aaron Giles2021-02-061-5/+14
| | | | smarter about ignoring that.
* 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
* coretmpl.h: Move lru_cache_map to separate header AJR2021-02-031-0/+1
|
* Debuger updates: Vas Crabb2021-01-306-77/+242
| | | | | * Improved behaviour of bottom line in Qt and win32 debugger views. * Ported memory tracking feature from Qt to win32 module.
* Bug fixes and usablility enhancements: Vas Crabb2021-01-296-47/+66
| | | | | | * Declare intent when requesting virtual memory (for NetBSD, 7712) * Improve scrolling behaviour in Qt debugger (MT07795) * Added prompts to input mapping menu to make it less intimidating
* 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
|
* -Qt debugger updates: Vas Crabb2021-01-2819-763/+739
| | | | | | | | * Added context menu with Copy Visible and Paste commands to debug views (partially addresses #6066). * Made memory view last PC display a context menu item. * Fixed crash on right-clicking a memory view showing something other than an address space. -debugger: Fixed commas in dumpkbd output.
* Goodbye 64 suffix on the main executable, it was nice knowing you. Vas Crabb2021-01-262-1/+23
| | | | | | If you want to build 64-bit and 32-bit in the same tree without them stomping on each other, use SEPARATE_BIN=1 (you already need to do this for TOOLS=1 anyway).
* win32 debugger: Added context menu with Copy Visible and Paste commands to ↵ Vas Crabb2021-01-262-30/+183
| | | | debug views (partially addresses #6066).
* srcclean in preparation for branching release Vas Crabb2021-01-24111-270/+271
|
* eigccarm.h: fix unterminated #if [R. Belmont] arbee2021-01-231-1/+1
|
* bgfx: Fixed overlapping register in lcd-grid shaders and compiled for ↵ Vas Crabb2021-01-231-1/+1
| | | | Direct3D, SPIR-V, Metal, etc.