summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/mac/window.cpp
Commit message (Collapse)AuthorAgeFilesLines
* -osd: Update slider list on demand rather than on frame updated (fixes MT08857). Vas Crabb2024-04-271-24/+1
| | | | -konami/konamigq.cpp: No need to cancel a newly allocated timer.
* -osd/mac, osd/sdl: Show prescale popup when it hasn't changed due to hitting ↵ Vas Crabb2024-02-181-1/+1
| | | | | | | | | the limit. * This makes it easier to see that you’ve hit the limit and MAME isn't just ignoring your keystrokes. -emu/inpttype.ipp: Restored tabulation.
* sdl modify_prescale: don't indicate max value hap2024-02-171-1/+1
|
* osdsdl: move prescale keys from ctrl+f6/f7 to alt+f8/f9 hap2024-02-171-2/+2
|
* osd/mac: Make compile again. Does not yet start up because BGFX tries to ↵ arbee2023-07-091-38/+9
| | | | force OpenGL. [R. Belmont]
* osd: Cleaner way of dealing with input updates. Vas Crabb2023-02-231-2/+0
|
* osd: Turned video modules into actual modules, fixed various issues. Vas Crabb2023-02-011-39/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't ignore the return status of OSD module initialisation. Attempt to fall back to an alternate module if the selected module fails to initialise. Log more useful diagnostic information at verbose level. Fixed BGFX crash on exit after toggling fullscreen. Also persist more settings than just the selected chains across toggling fullscreen. Turned video modules into OSD modules in the same sense as all the other OSD modules. They now use the same selection/fallback mechanism as all the other modules without special extra code in the OSD implementations. Untangled some object ownership mess. Windows own renderers, OSD objects own windows. Fixed a refrence loop that caused the first window object to always leak. Don't create renderer object until after underlying window has been created. Fixed issues with order of creation/destruction when toggling fullscreen or changing prescale in fullscreen with -switchres in SDL builds. Use more smart pointers in BGFX and Direct3D render modules. Most of the code now reutrns a smart pointer when handing over ownership or a naked pointer when retaining ownership. Fixed a few leaks and simplified cleanup code. Encapsulated various OSD modules better.
* Updated BGFX fixes; verified as working on Linux and Windows. (#9420) MooglyGuy2022-03-151-9/+35
| | | | | | | * -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-161-35/+9
| | | | This reverts commit f5b75b74393646d1dc082ec807279451dc481854.
* More BGFX stability improvements (missing files + multi-window) (#9410) MooglyGuy2022-03-141-9/+35
| | | | | * -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]
* Render-related cleanup AJR2021-12-301-0/+1
| | | | | | | - 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
* fix OSD=mac compile [R. Belmont] arbee2021-07-311-1/+1
|
* -osd/windows: Minimise full-screen windows on losing focus (#2997). Vas Crabb2021-01-211-8/+2
| | | | | | | | -osd/modules/osdwindow.cpp: Clean up window title formatting. * Show data type model in window title. * Moved window title formatting to a single place. -tools/chdman.cpp: Removed some unnecessary .c_str() calls.
* osdwindow.cpp: Centralize basic functions; de-virtualize various getters AJR2021-01-041-79/+29
|
* Remove keepaspect and fullstretch members of osd_video_config AJR2020-12-161-2/+7
|
* use C++ library includes (nw) firewave2020-01-221-1/+1
|
* Remove up to one frame of input latency. (#5901) antonioginer2019-11-161-3/+0
| | | | | | | | | | * Remove up to one frame of input latency. Makes MAME virtually lagless on VRR monitors. * Use empty parentheses and clean interface member calls * Add new option -instant_blit to make this feature optional * Rename new option to -lowlatency, -ll
* Preliminary Mac native OSD. Not working yet. [R. Belmont] arbee2019-09-151-0/+970
This will compile, link, and run a driver all the way to the first info screen, provided you use -video bgfx. However, although there's a valid NSWindow created, it never actually appears on screen for unknown (but likely silly) reasons. Inputs are not implemented and fullscreen exists but is untried.